![]() |
Quote:
|
Thank you for this awesome plugin. I noticed that after installing this plugin, it takes a lot longer to go back to the home page on my site. I understand that there is a very small performance hit, but it shouldn't take more than 5 seconds longer to load the homepage. In addition, the site does an ajax request and that request takes about 10 seconds to complete. Without the plugin, it completes almost instantly when page loads.
I simply installed your plugin, and modified the .htaccess file with your sample .htaccess code. The only thing different is that I took out the RewriteBase line. In addition, I added in three extra lines for security: RewriteRule ^includes/(.*) index.php RewriteRule ^vb/(.*) index.php RewriteRule ^packages/(.*) index.php Does this shed any clue as to why my site hit a decrease in performance? Thank you in advance. |
The issue that I was having was that it took a long time to load up the home page. After troubleshooting, it was apparent that the algorithm to test for forum conflict names was causing a delay. I'm posting this as my solution just in case it helps anyone down the road.
If you have a huge forum, are experiencing slow page load, and have confirmed that you have no forum name conflicts, then remove this piece of code from the friendly url classes file. Code:
else foreach($this->registry->forumcache as $fid => $finfo) |
Quote:
Another user was having a problem like mine too. https://vborg.vbsupport.ru/showpost....3&postcount=22 |
Hey dreamygirl,
Sorry, I just came across your question for help in this thread. I am actually running into the same issue right now on a different server. I'm looking into it and will post back with a resolution once I figure it out. Hang in there! -S |
Dreamygirl,
For troubleshooting purposes, what version of PHP are you running? Thanks, -S |
Quote:
|
Dreamygirl,
I think I have the solution. In the friendly Url Classes plugin, on line 26, the author uses an anonymous function (closure). Code:
$stopwords = trim(implode('|', array_map( I would advise you to test the plugin on a test server running PHP 5.3 to see if it solves your problem. If so, you may want to look into upgrading the current server from PHP 5.2.x to PHP 5.3 provided that it doesn't break anything else. If it does, then you will need to modify the code in the plugin to be 5.2 compatible. This plugin works fine on our test server, which is running PHP 5.3.3. I'm almost certain this is the case, but I encourage that you test it for yourself before taking my word for it. I hope this helps. -S |
Quote:
|
Why not simply fix the code instead?
Code:
$pregquote_chars = array_fill(0, |
All times are GMT. The time now is 03:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|