View Full Version : URL Change
July 16th, 2009, 07:12 PM
I wanted to move Photopost and Classifieds to the root of the site.
Everything now is at
Is there anything else I need to do or do I need to run some file to make this transition.
I understand the two files in each that need to be edited, but should I run the upgrade script or something else as I have tried this and got blocked from admin log in with errors in the header.
I reverted back to the forums and everything worked
July 16th, 2009, 07:21 PM
this will help
July 16th, 2009, 07:34 PM
Hi chuck Im sorry to be such a pain, as you have been so helpful.
I read your Doc. but a little confused
I am not changing servers as I am only changing directory path to the forums and gallery.
I Guess I only need to modify those two files and check write access is correct as to what you linked me too suggests I am changing servers.
changing only directory path to forums and photopost
July 16th, 2009, 07:37 PM
If you change the url directory you must follow the doc. You can not just change config files. You need to sign into admin and change all the options in global options save then you can change config files.
As that document states this is for changing directories or servers.
July 16th, 2009, 08:23 PM
Ok I'm on this part as
7) Open your Photopost gallery and modify confgs.
- Using a web browser, open your gallery and enter the Admin console.
- Click on GLOBAL OPTIONS and change the following to your new path:
- Full SERVER PATH
- Full path to Header
- PATH to UPLOADS
- Directory to backups
- Click on WATERMARK OPTIONS
- Full server path to watermark image
I can log in too admin cp but everything I click on I get page not found
as I can't change anything in there, I also get this in the admin header
Warning: opendir(/home1/su/public_html/forums/classifieds/data/) [function.opendir]: failed to open dir: No such file or directory in /home1/su/public_html/classifieds/adm-inc.php on line 695
Warning: readdir(): supplied argument is not a valid Directory resource in /home1/su/public_html/classifieds/adm-inc.php on line 698
Warning: closedir(): supplied argument is not a valid Directory resource in /home1/su/public_html/classifieds/adm-inc.php on line 715
I understand the code as I have to change global options but I get page not found when I click on it or anything.
I changed it back to the forums and uploaded the origanal two files and it works great again with no page not found
July 16th, 2009, 09:11 PM
You do not change your config files till after you change the global paths ;)
So change things back the way they where it was originally located and the configs they way they where.
access admin change the urls and paths and save
go to config files and modify accordingly
You can then access the photopost at the new url
July 16th, 2009, 10:33 PM
well that worked perfect as maybe you could update that link you gave me with that info to change global options before moving your folder and changing the
Thank you so much for all your help. You are the Best.
July 17th, 2009, 09:20 AM
Glad to assist.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.