Hi , i tried to active Friendly URL and change htaccess file to >> .htaccess admin url and submit url works fine , BUT when i submit a new link (source) in bookmarking plugin , new post link show Error 404 . see this : http://bigg.ir/all/ it work true , BUT when go to one of the posts : http://bigg.ir/?????-?????-????-??-??-???/ it show Error 404! WHY ?! i'm tried to solve this problem with search in forum , but i don't find anything to fix this error . anybody can help me ? "" MY language is PERSIAN ''" maybe problem is with my language , but when i turnOff the friendly URL , post link opened fine!
maybe this replay help you to fix this problem : Tag link and Category links work fine with friendly url ! so WHY post links have problem ?!
Welcome to Hotaru. Sorry you're having this problem. This might be similar to what was discussed in this thread. Can you try to add the following on line 661 of /libs/extensions/ezSQL/ez_sql_core.php: Code: $query = str_replace('%', '%%', $query);
Thanks For replay , i just do it and now i see this error in top of every pages : Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%s LIMIT 1' at line 1 : SELECT miscdata_value FROM hotaru_miscdata WHERE miscdata_key = %s LIMIT 1 in /home/****/public_html/****/libs/extensions/ezSQL/mysqli/ez_sql_mysqli.php on line 313 -------------------------------- this code just down my site! maybe i can't do this steps Properly . can you edit this file and give me, Please ? I'm So sorry
Oh Boy!!! @valMETNG all of my contents and setting is Missed!!! i can't see any settings , content , menus , categories and nothing! what's happened ?! i just reUpload ez_sql_mysqli.php file from fresh downloaded to my File manager and every thing is missed. --------------------- But in "PHPmyAdmin" , i can see categories and other settings . SO ... ?!!!
Oooppss. Don't worry - we'll get this working Here's the file with the change made, so you can try and copy this over the other one. If this doesn't work, would you please PM me your admin login credentials (don't post it here in this thread)? I'll see if I can figure out the problem.
No! it's does not working again . i must reTry install Hotaru CMS again . i think it can help me . and after installed , i don't use Friendly url . enemy url is better than friendly url that destroy all of my settings
Sorry that didn't work and I understand why you'd want to turn friendly URLs off. I don't know how search engines (and SEO) work with Persian but, assumingly, friendly URLs are better for your site. So if you want to try again at some future point, I promise you we'll figure out and solve the problem.
your welcome valMETNG . search engines index and show Persian URLs property . i'm hope if i reinstall Hotaru , we can solve this problem . because if this problem don't fix , some of languages (Persian , Arabic , Afghanistan , Turkish , Egypt and etc) have this problem and Horaru can't get more popularity in some countries . i trying to solve this and then share fix steps with you .
I think I may have found the problem. It actually is a bug identified here (having to do with double encoding) that appears never got updated in the latest version. After you do your reinstall, would you please change line 402 of /libs/Post.php to: Code: $post_id = \Hotaru\Models2\Post::getFirstPostByPostUrl($h, $url); @shibuya246: do you have any pending updates for the latest version? It appears this one didn't make it in.
Welcome to Hotaru. Sorry you're having this problem. Can you tell us please which two changes you made? Also, if there are any errors in your error_log, would you please post them here? Thanks.
Thanks valmetng for your prompt response! I just fixed it. Apparently .htaccess wasn't created when I did my install. I created one using the default and it fixed it.