PDA

View Full Version : 2 Pixelpost installations


PJO
12-18-2007, 08:40 AM
Hi all,

It's possible to have 2 pixelpost installations using the same database?
Can you helpme?

Thanks in advance
PJO

Dkozikowski
12-18-2007, 09:50 AM
Yes. It is possible. All you need to do is make sure the table prefix defined in each pixelpost.php is different than one another.

PJO
12-18-2007, 11:08 AM
Thanks for the fast replay.
I understand, but, I only need to copy the first installation to another folder and change the table prefix, or, I need to run again the installation file in a another folder?

austriaka
12-18-2007, 11:28 AM
You have to copy your pixelpost installation folder into another place with FTP AND you have to run the installation file again because only this will create the database tables (with the new table prefix)

PJO
12-18-2007, 01:32 PM
Ok, but in this case I'm not sharing one database for 2 instalations, I'm using 2 instalations and 2 databases, correct?

Sorry my stupid questions...

Thanks again
PJO

austriaka
12-18-2007, 01:41 PM
two installations and 1 database.
In pixelpost default settings all database tables are called pixelpost_tablename.
By renaming this default string "pixelpost_" by for example "newpixelpost_" the database tables for the new installation are called newpixelpost_tablename.
So you can have two pixelpost installations in one database.

dakwegmo
12-18-2007, 01:43 PM
It's not possible to run two separate photoblogs from one installation of pixelpost. Each photoblog has to have it's own set of files and it's own tables in a database. They can be in two separate databases, or they can be installed in the same database.

PJO
12-18-2007, 02:25 PM
Ok, I understand. Many thanks to all.

Marry Christmas and one BIG Happy new year for Pixelpost group.

PJO
www (http://www.paulojorgeoliveira.com)