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. squidy21

    squidy21 Active Member

    The footer was fix. :D

    For the errors
    I didn't modify it. This the error

    211 : echo '<meta name="description" content="' . $h->lang['users_meta_description_results_before'] . $first_word . $h->lang['users_meta_description_results_middle'] . $user . $h->lang['users_meta_description_results_after'] . '" />' . "\n";
    212 : echo '<meta name="keywords" content="' . $user . $h->lang['users_profile_meta_keywords_more'] . '" />' . "\n"; // default profile meta keywords (see language file)
    163 : <li><a href='<?php echo $h->url(array('page'=>'profile', 'user'=>$username)) ?>'><?php echo $h->lang["users_profile"]; ?></a></li>
    646 : echo "<li><a href='" . $h->url(array('page'=>'all', 'user'=>$h->displayUser->name)) . "'>" . $h->lang["users_all_posts"] . "&nbsp;<span class='label label-warning pull-right'>" . number_format($h->postsApproved($h->displayUser->id),0) . "</span></a></li>\n";
    457 : echo "<li>" . $ahref . $h->lang['users_all_comments'] . "<span class='label label-warning pull-right'>" . $h->countUserComments($h->displayUser->id) . "</span></a></li>\n";
    84 : $h->pageTitle = $h->lang["users_profile"] . '[delimiter]' . $username;
    195 : echo '<meta name="description" content="' . $h->lang['users_default_meta_description_before'] . $h->displayUser->name . $h->lang['users_default_meta_description_after'] . '" />' . "\n"; // default profile meta description (see language file)
    199 : echo '<meta name="keywords" content="' . $h->displayUser->name . $h->lang['users_profile_meta_keywords_more'] . '" />' . "\n";
    249 : $crumbs = $userlink . ' / ' . $h->lang["users_profile"];
     
  2. valMETNG

    valMETNG Administrator Staff Member Admin

    If you didn't modify any files, my next guess would be that there's a problem with the plugin order. Please go to the plugin area of the admin panel and move a plugin to the first position and then refresh the page. Hotaru should automatically update the plugin order. The correct plugin order for the most important plugins should be:

    @shibuya246, I believe the Hotaru docs should be updated to reflect this.
     
    shibuya246 and squidy21 like this.
  3. squidy21

    squidy21 Active Member

    Thank. I try to install correct plugin order
     
  4. squidy21

    squidy21 Active Member

    I want to ask again. How to automate redirect from http to https using httaccess?
     
  5. valMETNG

    valMETNG Administrator Staff Member Admin

    squidy21 likes this.
  6. squidy21

    squidy21 Active Member

    i try to add this
    Code:
    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
    and it's work. :D
    Thank. Is it no problem if there are two code "RewriteEngine On" in .httaccess?
     
    valMETNG likes this.
  7. valMETNG

    valMETNG Administrator Staff Member Admin

    Glad it worked. No, you can remove the second RewriteEngine On. The first one is enough.
     
    shibuya246 and squidy21 like this.
  8. squidy21

    squidy21 Active Member

    I have another problem about pagination
    If i click another page, there are always error. I try click page 3 in "latest", and become
    and the url
    also become "top post"
    it's happen to "all post" too. I use https to my website. Thank
     
  9. valMETNG

    valMETNG Administrator Staff Member Admin

    So the problem you're experiencing is the same one I had here. There was a post somewhat more recently where @shibuya246 mentioned he changed line 106 of Paginator.php back to include http but I can't find it to remember why he changed it back. However, I think if you follow the suggestion in my original post, that will fix the problem.
     
  10. squidy21

    squidy21 Active Member

  11. valMETNG

    valMETNG Administrator Staff Member Admin

    So just to confirm, you changed line 104 of Paginator.php to:
    Code:
    $path = "//" . $host  . $uri;
    Correct? Can you please PM me your site name? Also, can you please confirm that your BASEURL in your /config/settings.php file is defined as //mysitename.com/ (instead of http://mysitename.com/)?
     
  12. squidy21

    squidy21 Active Member

    Great. Fix it. I used in setting.php file https://sitename.com/ before , and now change to //sitename.com/. :D
    Thank. :-bd
     
    valMETNG likes this.
  13. robin007

    robin007 Well-Known Member

    How to block the duplicate submition?
    Untitled.png
     
  14. valMETNG

    valMETNG Administrator Staff Member Admin

    Are you using the autoreader plugin for submissions? If so, I know there were problems with autoreader submitting duplicates which @shibuya246 was looking into. Your picture suggests this is not someone manually entering duplicates (which Hotaru doesn't allow). Can you please describe the process that gives you duplicates?
     
  15. robin007

    robin007 Well-Known Member

    I am not using autoreader plugin
    Untitled.png
    submit version 3.6
    hotaru v1.7.3
     
  16. valMETNG

    valMETNG Administrator Staff Member Admin

    Have you made any changes to your code? Did you change anything recently? Feel free to PM me your site credentials and I can take a deeper look but, if you have changed code, I'd have to see the code you've changed (and, potentially, your database tables) to determine what's causing the problem. You should also check in your hotaru_posts table to see if this post is duplicated 3 times in the database (i.e., are there three rows with the same post?). If there are not, then the problem is likely in the bookmarking plugin.
     
  17. robin007

    robin007 Well-Known Member

    I install this script today without any code change, I only change the language files, Then I installed in my pc localhost, then I put the same url again and again for checking process.
     
  18. valMETNG

    valMETNG Administrator Staff Member Admin

    In other words, are you on the screen after submitting the post and then hit refresh (F5) many times? Am I understanding you correctly? Can you show me please the URL you are putting over and over?
     
  19. robin007

    robin007 Well-Known Member

    I am not refresh my browser after submit that post
     
    Last edited: Nov 19, 2015
  20. valMETNG

    valMETNG Administrator Staff Member Admin

    I'm sorry but I can't troubleshoot with these pictures. I need to be able to interact with your application to see the behavior. You can PM me links if you don't want to post them in the forum here.
     

Share This Page