1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Download Hotaru Cms Core 1.7.3

Main Core code for Hotaru CMS

  1. robin007

    robin007 Well-Known Member

    how can i change the time zone America/Chicago to Asia/Calcutta
     
  2. valMETNG

    valMETNG Administrator Staff Member Admin

    Replace lines 22-24 of Hotaru.php with:
    Code:
    date_default_timezone_set("Asia/Calcutta");
     
  3. robin007

    robin007 Well-Known Member

    Code:
    <?php
        date_default_timezone_set("Asia/Kolkata");
    ?>
    I add above code in my theme "header.php" now it is working. thanks...
     
    valMETNG likes this.
  4. squidy21

    squidy21 Active Member

    Why my website error after install SSL?
    Likes this images
     

    Attached Files:

  5. valMETNG

    valMETNG Administrator Staff Member Admin

    Unclear but it appears the Bootstrap css and/or javascript isn't loading. That might mean your browser sees it as unsecured content when using https and is blocking it unless you explicitly give it permission. Where are you loading Bootstrap from - your server or the Bootstrap CDN? (You can see in /libs/Initialize.php on lines 114 - 115.) If you're loading from the CDN, my bet is your BASEURL, which is defined in /config/settings.php is http://yourwebsite.com instead of https://yourwebsite.com. You'll want to change it to https and then all CDN content will pull from the SSL source.
     
    squidy21 likes this.
  6. squidy21

    squidy21 Active Member

    Great. Fix it. I change BASEURL to https.
    Thank bro. :-bd
     
    valMETNG likes this.
  7. robin007

    robin007 Well-Known Member

    I do a fresh install from softaculous.
    still i am not installed any plugins.
    I receive error log



    [30-Dec-2016 03:23:04 GMT] PHP Warning: session_destroy(): Session object destruction failed in C:\Program Files\Ampps\www\libs\UserAuth.php on line 480

    [30-Dec-2016 03:23:04 GMT] PHP Stack trace:

    [30-Dec-2016 03:23:04 GMT] PHP 1. {main}() C:\Program Files\Ampps\www\install\index.php:0

    [30-Dec-2016 03:23:04 GMT] PHP 2. register_admin() C:\Program Files\Ampps\www\install\index.php:215

    [30-Dec-2016 03:23:04 GMT] PHP 3. Libs\Hotaru->loginCheck() C:\Program Files\Ampps\www\install\index.php:556

    [30-Dec-2016 03:23:04 GMT] PHP 4. Libs\Authorization::passwordSignIn() C:\Program Files\Ampps\www\Hotaru.php:557

    [30-Dec-2016 03:23:04 GMT] PHP 5. Libs\Authorization::destroyCookieAndSession() C:\Program Files\Ampps\www\libs\UserAuth.php:185

    [30-Dec-2016 03:23:04 GMT] PHP 6. session_destroy() C:\Program Files\Ampps\www\libs\UserAuth.php:480

    [30-Dec-2016 03:23:04 GMT] PHP Notice: Undefined variable: forumUsername in C:\Program Files\Ampps\www\install\templates\install\register_admin.php on line 85

    [30-Dec-2016 03:23:04 GMT] PHP Stack trace:

    [30-Dec-2016 03:23:04 GMT] PHP 1. {main}() C:\Program Files\Ampps\www\install\index.php:0

    [30-Dec-2016 03:23:04 GMT] PHP 2. register_admin() C:\Program Files\Ampps\www\install\index.php:215

    [30-Dec-2016 03:23:04 GMT] PHP 3. template() C:\Program Files\Ampps\www\install\index.php:576

    [30-Dec-2016 03:23:04 GMT] PHP 4. include_once() C:\Program Files\Ampps\www\install\libs\install_functions.php:139

    [30-Dec-2016 03:23:04 GMT] PHP Notice: Undefined variable: forumPassword in C:\Program Files\Ampps\www\install\templates\install\register_admin.php on line 92

    [30-Dec-2016 03:23:04 GMT] PHP Stack trace:

    [30-Dec-2016 03:23:04 GMT] PHP 1. {main}() C:\Program Files\Ampps\www\install\index.php:0

    [30-Dec-2016 03:23:04 GMT] PHP 2. register_admin() C:\Program Files\Ampps\www\install\index.php:215

    [30-Dec-2016 03:23:04 GMT] PHP 3. template() C:\Program Files\Ampps\www\install\index.php:576

    [30-Dec-2016 03:23:04 GMT] PHP 4. include_once() C:\Program Files\Ampps\www\install\libs\install_functions.php:139

    [30-Dec-2016 03:23:05 GMT] PHP Notice: Undefined variable: forumUsername in C:\Program Files\Ampps\www\install\templates\install\register_admin.php on line 85

    [30-Dec-2016 03:23:05 GMT] PHP Stack trace:

    [30-Dec-2016 03:23:05 GMT] PHP 1. {main}() C:\Program Files\Ampps\www\install\index.php:0

    [30-Dec-2016 03:23:05 GMT] PHP 2. register_admin() C:\Program Files\Ampps\www\install\index.php:215

    [30-Dec-2016 03:23:05 GMT] PHP 3. template() C:\Program Files\Ampps\www\install\index.php:576

    [30-Dec-2016 03:23:05 GMT] PHP 4. include_once() C:\Program Files\Ampps\www\install\libs\install_functions.php:139

    [30-Dec-2016 03:23:05 GMT] PHP Notice: Undefined variable: forumPassword in C:\Program Files\Ampps\www\install\templates\install\register_admin.php on line 92

    [30-Dec-2016 03:23:05 GMT] PHP Stack trace:

    [30-Dec-2016 03:23:05 GMT] PHP 1. {main}() C:\Program Files\Ampps\www\install\index.php:0

    [30-Dec-2016 03:23:05 GMT] PHP 2. register_admin() C:\Program Files\Ampps\www\install\index.php:215

    [30-Dec-2016 03:23:05 GMT] PHP 3. template() C:\Program Files\Ampps\www\install\index.php:576

    [30-Dec-2016 03:23:05 GMT] PHP 4. include_once() C:\Program Files\Ampps\www\install\libs\install_functions.php:139

    [30-Dec-2016 03:23:26 GMT] PHP Warning: session_destroy(): Session object destruction failed in C:\Program Files\Ampps\www\libs\UserAuth.php on line 480

    [30-Dec-2016 03:23:26 GMT] PHP Stack trace:

    [30-Dec-2016 03:23:26 GMT] PHP 1. {main}() C:\Program Files\Ampps\www\admin_index.php:0

    [30-Dec-2016 03:23:26 GMT] PHP 2. Libs\Hotaru->start() C:\Program Files\Ampps\www\admin_index.php:32

    [30-Dec-2016 03:23:26 GMT] PHP 3. Libs\Hotaru->adminPages() C:\Program Files\Ampps\www\Hotaru.php:99

    [30-Dec-2016 03:23:26 GMT] PHP 4. Libs\AdminPages->pages() C:\Program Files\Ampps\www\Hotaru.php:1723

    [30-Dec-2016 03:23:26 GMT] PHP 5. Libs\Hotaru->adminLoginLogout() C:\Program Files\Ampps\www\libs\AdminPages.php:43

    [30-Dec-2016 03:23:26 GMT] PHP 6. Libs\AdminAuth->adminLogin() C:\Program Files\Ampps\www\Hotaru.php:1735

    [30-Dec-2016 03:23:26 GMT] PHP 7. Libs\Hotaru->loginCheck() C:\Program Files\Ampps\www\libs\AdminAuth.php:107

    [30-Dec-2016 03:23:26 GMT] PHP 8. Libs\Authorization::passwordSignIn() C:\Program Files\Ampps\www\Hotaru.php:557

    [30-Dec-2016 03:23:26 GMT] PHP 9. Libs\Authorization::destroyCookieAndSession() C:\Program Files\Ampps\www\libs\UserAuth.php:185

    [30-Dec-2016 03:23:26 GMT] PHP 10. session_destroy() C:\Program Files\Ampps\www\libs\UserAuth.php:480

    [30-Dec-2016 03:23:37 GMT] PHP Notice: Undefined index: hookdata in C:\Program Files\Ampps\www\content\admin_themes\admin_default\views\maintenance\hooks.php on line 5

    [30-Dec-2016 03:23:37 GMT] PHP Stack trace:

    [30-Dec-2016 03:23:37 GMT] PHP 1. {main}() C:\Program Files\Ampps\www\admin_index.php:0

    [30-Dec-2016 03:23:37 GMT] PHP 2. Libs\Hotaru->start() C:\Program Files\Ampps\www\admin_index.php:32

    [30-Dec-2016 03:23:37 GMT] PHP 3. Libs\Hotaru->adminPages() C:\Program Files\Ampps\www\Hotaru.php:99

    [30-Dec-2016 03:23:37 GMT] PHP 4. Libs\AdminPages->pages() C:\Program Files\Ampps\www\Hotaru.php:1723

    [30-Dec-2016 03:23:37 GMT] PHP 5. Libs\Hotaru->template() C:\Program Files\Ampps\www\libs\AdminPages.php:147

    [30-Dec-2016 03:23:37 GMT] PHP 6. Libs\PageHandling->template() C:\Program Files\Ampps\www\Hotaru.php:307

    [30-Dec-2016 03:23:37 GMT] PHP 7. include_once() C:\Program Files\Ampps\www\libs\PageHandling.php:292

    [30-Dec-2016 03:23:37 GMT] PHP 8. Libs\Hotaru->template() C:\Program Files\Ampps\www\content\admin_themes\admin_default\admin_index.php:98

    [30-Dec-2016 03:23:37 GMT] PHP 9. Libs\PageHandling->template() C:\Program Files\Ampps\www\Hotaru.php:307

    [30-Dec-2016 03:23:37 GMT] PHP 10. include_once() C:\Program Files\Ampps\www\libs\PageHandling.php:292

    [30-Dec-2016 03:23:37 GMT] PHP 11. buildTabs() C:\Program Files\Ampps\www\content\admin_themes\admin_default\maintenance.php:40

    [30-Dec-2016 03:23:37 GMT] PHP 12. Libs\Hotaru->template() C:\Program Files\Ampps\www\functions\funcs.build.php:75

    [30-Dec-2016 03:23:37 GMT] PHP 13. Libs\PageHandling->template() C:\Program Files\Ampps\www\Hotaru.php:307

    [30-Dec-2016 03:23:37 GMT] PHP 14. include_once() C:\Program Files\Ampps\www\libs\PageHandling.php:292

    [30-Dec-2016 03:23:37 GMT] PHP Notice: Undefined index: hookdata in C:\Program Files\Ampps\www\content\admin_themes\admin_default\views\maintenance\hooks.php on line 23

    [30-Dec-2016 03:23:37 GMT] PHP Stack trace:

    [30-Dec-2016 03:23:37 GMT] PHP 1. {main}() C:\Program Files\Ampps\www\admin_index.php:0

    [30-Dec-2016 03:23:37 GMT] PHP 2. Libs\Hotaru->start() C:\Program Files\Ampps\www\admin_index.php:32

    [30-Dec-2016 03:23:37 GMT] PHP 3. Libs\Hotaru->adminPages() C:\Program Files\Ampps\www\Hotaru.php:99

    [30-Dec-2016 03:23:37 GMT] PHP 4. Libs\AdminPages->pages() C:\Program Files\Ampps\www\Hotaru.php:1723

    [30-Dec-2016 03:23:37 GMT] PHP 5. Libs\Hotaru->template() C:\Program Files\Ampps\www\libs\AdminPages.php:147

    [30-Dec-2016 03:23:37 GMT] PHP 6. Libs\PageHandling->template() C:\Program Files\Ampps\www\Hotaru.php:307

    [30-Dec-2016 03:23:37 GMT] PHP 7. include_once() C:\Program Files\Ampps\www\libs\PageHandling.php:292

    [30-Dec-2016 03:23:37 GMT] PHP 8. Libs\Hotaru->template() C:\Program Files\Ampps\www\content\admin_themes\admin_default\admin_index.php:98

    [30-Dec-2016 03:23:37 GMT] PHP 9. Libs\PageHandling->template() C:\Program Files\Ampps\www\Hotaru.php:307

    [30-Dec-2016 03:23:37 GMT] PHP 10. include_once() C:\Program Files\Ampps\www\libs\PageHandling.php:292

    [30-Dec-2016 03:23:37 GMT] PHP 11. buildTabs() C:\Program Files\Ampps\www\content\admin_themes\admin_default\maintenance.php:40

    [30-Dec-2016 03:23:37 GMT] PHP 12. Libs\Hotaru->template() C:\Program Files\Ampps\www\functions\funcs.build.php:75

    [30-Dec-2016 03:23:37 GMT] PHP 13. Libs\PageHandling->template() C:\Program Files\Ampps\www\Hotaru.php:307

    [30-Dec-2016 03:23:37 GMT] PHP 14. include_once() C:\Program Files\Ampps\www\libs\PageHandling.php:292
     
  8. valMETNG

    valMETNG Administrator Staff Member Admin

    Seems like there's a problem with your environment (AMPPS) setup.
     
  9. robin007

    robin007 Well-Known Member

    please tell me which local server is best for hotarucms
     
  10. robin007

    robin007 Well-Known Member

    please tell me which local server is best for hotarucms
     
  11. valMETNG

    valMETNG Administrator Staff Member Admin

    Unfortunately, I've never had much success with local servers so I always do all my builds and testing via hosts. Perhaps someone else has some suggestions.
     
  12. robin007

    robin007 Well-Known Member

    can any one please help me to change bootstrap 3 to 4.
    I con't find my bootstrap link
     
  13. valMETNG

    valMETNG Administrator Staff Member Admin

    I haven't attempted this yet on my custom build but I expect there are going to be many changes to work through (I am waiting until they are out of beta). The primary changes you need to make to get started are on lines 114-115 of /libs/Initialize.php:
    Code:
    protected $bootstrapJsUri       = '//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js';
    protected $bootstrapCssUri      = '//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css';
    ...and line 110:
    Code:
    protected $jqueryUri            = '//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js';
    You'll want to change those to:
    Code:
    protected $bootstrapJsUri       = 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js';
    protected $bootstrapCssUri      = 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css';
    ...and:
    Code:
    protected $jqueryUri            = 'https://code.jquery.com/jquery-3.2.1.slim.min.js';
    However, per Bootstrap's Introduction page, there is an additional link Bootstrap now needs so you'll want to add it probably to /Hotaru.php around line 1376 and again around 1398:
    Code:
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
    
    That should give you a start. Also, don't forget to look at Bootstrap's Migrating to v4 page for breaking changes.
     
    robin007 likes this.
  14. robin007

    robin007 Well-Known Member

    when i press Home then category 1
    siteurl/category/ios/

    when i press Latest then category 1
    siteurl/category/ios/

    showing the same, how to show like this
    siteurl/latest/category/tamil/
     
  15. valMETNG

    valMETNG Administrator Staff Member Admin

    I'm sorry but I don't understand your question. When I go to siteurl/latest/category/test1/ on my base build, it brings up the posts. Are you not seeing the posts? Be aware that 'latest' and 'new' will get the same posts (see lines 71-72 in /plugins/bookmarking/libs/BookmarkingFunctions.php).
     
  16. robin007

    robin007 Well-Known Member

    sorry for my poor english

    First i press Home on menu then i press ios category
    siteurl/category/ios/

    First i press Latest on menu then i press ios category
    siteurl/category/ios/

    I got same page

    but we need to get page like this
    siteurl/latest/category/ios/
     
  17. valMETNG

    valMETNG Administrator Staff Member Admin

    Ah, now I think I understand. Thank you for explaining further. Based on lines 82-83 of BookmarkingFunctions.php, the default is to 'all'. Therefore, when you click on the category, it wouldn't retain the latest selection but, instead, would revert to all. However, when you're looking at an individual category, you should have breadcrumbs that look like the attached picture:

    Hotaru_breadcrumbs.png

    If you click on latest in the breadcrumbs, the url should change to /latest/category/ios (as you can see in the picture).
     
    robin007 likes this.
  18. robin007

    robin007 Well-Known Member

    I Removed the breadcrumbs filter. because it already in the navigation bar.
    now i removed from navigation bar. added breadcrumbs filter now its working.
    Thanks.
     
    valMETNG likes this.
  19. robin007

    robin007 Well-Known Member

    Error log

    [23-May-2018 04:01:00 UTC] PHP Notice: A feed could not be found at http://feeds2.feedburner.com/hotarucms. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed. in ****/public_html/libs/extensions/SimplePie/simplepie.inc on line 1531
     
  20. valMETNG

    valMETNG Administrator Staff Member Admin

    It appears that's an inconsequential notice from the admin panel's rss feed to the old forum feed. You don't need to worry about that.
     
    robin007 likes this.

Share This Page