VBGAMER45 / prettyurls

Automatically exported from code.google.com/p/prettyurls
Other
0 stars 1 forks source link

File does not exist errors on apache log #143

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please provide URLs which show this problem (If you do not we cannot help
you):
http://www.private-servers.info/smf/82/hawai-toast-d/

Please describe this problem in detail:
Apache error log shows thousands of these Errors:

[Tue Aug 30 15:47:41 2011] [error] [client 92.230.249.XXX] File does not exist: 
D:/server/htdocs/www.private-servers.info/smf/82, referer: 
http://www.private-servers.info/smf/82/hawai-toast-d/

The url is working, but the error log grows and grows.

An other "problem" is that the url shows the board ids instead of the board 
names.

What version of the mod, and what version of SMF are you using?
prettyurls-1-0RC5.2

What other mods do you have installed?
Many, but the problem persists if all others were disabled/uninstalled.

Please provide any additional information below.
The Problem is bothering me for months :( please help, i really dont know what 
to do. FollowSymLinks is enabled. Its apache on windows.

Original issue reported on code.google.com by xer...@gmail.com on 30 Aug 2011 at 2:53

GoogleCodeExporter commented 9 years ago
Attaching a rewrite log. I hope this helps finding the error.

Original comment by xer...@gmail.com on 30 Aug 2011 at 3:00

Attachments:

GoogleCodeExporter commented 9 years ago
Finally fixed this problem. Somehow the index.php wasnt modified correctly. 
Even after reinstalling the mod several times!

This part:
<code>
// Clean the request variables, add slashes, etc.
// Unserialize the array of pretty board URLs
$context = array('pretty' => array(
    'action_array' => unserialize($modSettings['pretty_action_array']),
    'board_urls' => unserialize($modSettings['pretty_board_urls']),
    'db_count' => 0,
));
// Clean the request variables, add slashes, etc.
cleanRequest();
</code>

looked like this:

<code>
// Unserialize the array of pretty board URLs
$context = array('pretty' => array(
    'action_array' => unserialize($modSettings['pretty_action_array']),
    'board_urls' => unserialize($modSettings['pretty_board_urls']),
    'db_count' => 0,
));
// Clean the request variables, add slashes, etc.
cleanRequest();
$context = array();
</code>

Original comment by xer...@gmail.com on 3 Jan 2012 at 4:53