PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   How to rename photopost dir?? (http://www.photopost.com/forum/photopost-pro-how-do-i/134751-how-rename-photopost-dir.html)

Luis Larios December 27th, 2007 03:47 AM

How to rename photopost dir??
 
Hi, I want to change the directory name from /photopost to /galerias just to be more predictable when browsing throught the address bar. Do I need to run install again? My gallery does not have any important elements at the moment. Thanks...

Chuck S December 27th, 2007 08:43 AM

This tutorial should assist you

http://www.photopost.com/forum/photopost-pro-how-do-i/130048-how-move-servers-change-directories.html

Luis Larios December 27th, 2007 11:56 AM

Thanks Chuck. I followed those steps but I'm stuck trying to change ''global options''. I' able to enter there but got a ''page not found'' message as soon as I click ''save changes'' button :( ...

Chuck S December 27th, 2007 11:58 AM

well the steps are like this in that thread.

1. you update your global options and save and you will get a not found error

2. you edit the config file and update the server paths to the new path.

3. you rename your directory then you should be fine.

If you do anyhing out of order then you may need to edit the settings table directly in mysql

Luis Larios December 28th, 2007 02:04 AM

I did follow the steps in the wrong order but was able to fix it editing the sql tables. Thanks for the tip!!

Chuck S December 28th, 2007 07:56 AM

No problem enjoy your weekend and let us know if there is anything else we can assist with.

cgdev1 January 16th, 2010 12:23 PM

Hi Chuck,

I'm considering doing the same thing (but changing "/photopost" to just "/photos"). I just want to confirm a few things since I don't want to break anything. :)

(per the steps you outlined above...)
1. So I go to the "Global Options" page and change the path everywhere on that page (looks like it's in 5 places: URL to PhotoPost data directory, Full SERVER PATH to PhotoPost data directory, URL to PhotoPost PHP directory, URL to PhotoPost images directory, URL to UPLOADS directory?), right? At this point, are you saying that I will receive a 'not found' error when I save the changes, but it's okay...? To go ahead and proceed to step 2?

2. Next I should open config-inc.php and modify $PP_PATH to point to "/photos". Save and FTP to my server, correct? Do I also need to modify config-int.php ($pppath, $url_path and $data_dir fields)?

3. Next, I should rename "/photopost" to "/photos".... If I rename (as opposed to move), do I need to worry about permissions?


In addition, I have one more question. Since several people have linked (in the forums) to these photos, can I update their forum posts quickly in the database or do I have to edit each of their posts individually (through moderation)? (I'd ideally like to run a sql query for anything with "/photopost/"... I can manually update each record from there; I just don't know the vb schema yet). Or is this a question I should ask on the vb website?

Thanks

Chuck S January 16th, 2010 12:30 PM

1. do what you wrote yes

2. also if your using vb sure update the second config file

3. rename your directory and yes you should be up running

4. go to admin storage options and hit revert and save twice to load the global path into the storage path you changed earlier.

You would have to issue like a mass sql query like so but be careful

UPDATE vb3_post SET pagetext = REPLACE(pagetext, '/photopost/','/photos/');

cgdev1 January 17th, 2010 02:03 AM

Thanks, Chuck. I followed all your instructions to rename the folder and everything seems to be reconnected fine (though I didn't try the sql mass update... I just did a select query and changed each record by hand. I didn't want to risk it).

Thanks

Chuck S January 17th, 2010 05:40 AM

okay enjoy your weekend.


All times are GMT -5. The time now is 05:20 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97