SMF Support > SMF 2.0.x Support

problem with pretty url mod

<< < (2/3) > >>

Kevin1:

--- Quote ---You can either manually fix the pretty_root_url setting yourself, or else create a new .php with this code:

--- Code: ---<?php
require_once(dirname(__FILE__) . '/SSI.php');
require_once($sourcedir . '/Subs-PrettyUrls.php');
updateSettings(array('pretty_root_url' => $boardurl));
pretty_update_filters();
?>
--- End code ---

--- End quote ---
Where should i upload this php file and what should be name of this php file??

Doctor Deejay:
Just upload it in your forum root and call it something like 'Hello.php'. Then go to {your_forum_url)/Hello.php and delete it. :)

Kevin1:
I'm getting this error

--- Quote ---PHP Error Message

Notice: Undefined index: ca_menu_cache in /home/a2774762/public_html/Sources/Subs.php on line 4237

Free Web Hosting

PHP Error Message

Warning: Invalid argument supplied for foreach() in /home/a2774762/public_html/Sources/Subs.php on line 4238

Free Web Hosting
--- End quote ---

vbgamer45:
Did it change it though?

Kevin1:
Though i got errors bt it fixed my problem..
Thanks buddy

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version