PDA

View Full Version : upgrade/install and multiple sites


ctfoto
02-01-2008, 02:21 PM
i'm not even quite sure how to ask my question, but here goes...

i've had some pictures up for some time now (ctfoto.com/blog), for which i used an early PixelPost... 1.2something, maybe? it's been great, uncomplicated and very low maintenance. so low maintenance in fact, that now, 2 years or so since i installed PP, i find that i am again needing to learn how to talk to my Mac... but i'm sure it's alot like riding a bike. diving on in, i'm sure it'll all come rushing back to me.

anyway, i was thinking i could install PP 1.7 into a different sub-folder of my URL (/pets instead of /blog - yeah, pet portraits... so? gotta pay the bills) and run it seperately from the PP 1.2 site that's currently under the /blog sub-folder. you know, test 1.7 out on /pets, get it running nicely, then upgrade /blog once i got everything looking how i want.

still with me? so, i did this, i uploaded 1.7 into it's own sub-folder, and went to /admin only to find the new version was accessing all my pics from /blog, even though in a different tab i could still access the old 1.2 admin version(?). seeing this, i went back to the new admin, thinking that the pictures had somehow just been copied from the old version to the new version, and that all i needed to do was erase them from the new version and upload new pics. i erased a few pictures, then just to be sure, i went back to /blog, and damn if i hadn't erased those pictures from that site!

i wonder if what i should've done was create a new SQL database for 1.7?>.. but i don't know for sure.

so now, i'm not really too worried about those erased pictures, cuz, as i mentioned, i want to upgrade that old site anyway, but what should i do now?

how can i - if i can - run more than 1 PP site?

i want to use the Delicious template (the image page) to make a few different galleries of work, to be navigated to from a common intro page... seems like a doable thing, but i've been thrown a little off track by my uneducated assumptions, and i'm not sure what to do next.

thanks for any advice!
cheers,
ct

EcoSee
02-01-2008, 02:31 PM
Yes.. you need a new MySQL DB. You linked to your old db and contolled it from a new location. You can run a 100 different blogs if you put each in their own folder and connect to a new DB from each one by way of the includes/pixelpost.php file.

ctfoto
02-01-2008, 02:53 PM
gotcha. thanks EcoSee.

ctfoto
02-01-2008, 02:59 PM
....i've created a new database, now how do i change the database in my second site. don't see that option on /admin...?

thanks!

ctfoto
02-01-2008, 03:10 PM
....by way of the includes/pixelpost.php file.


aaahhhh..... never mind.

thanks!

austriaka
02-01-2008, 05:57 PM
you don't have to create a new database, just change the table prefix in pixelpost.php so it is different to that of the other blog. You can run as many pixelpost installations as you want in ONE database (or as many as your provider will allow). The several installations can even be of different versions, they are using only their own tables (created with the name you gave as table prefix)