1
kikkorm
Is possible to have multiple installations on the same domain?
  • 2006/1/17 17:48

  • kikkorm

  • Just popping in

  • Posts: 43

  • Since: 2005/12/17


Hi,
i was wondering if it's possible to have multiple installation of XOOPS on the same website, using multiple databases :

http://www.mysite.com/firstxoopsite
http://www.mysite.com/secondoxoopsite
etc.

i tried to do such, installing XOOPS into 2 different directories, but i get this error :

Warning: main(/home/wwwfans/public_html/Hilary/class/logger.php) [function.main]: failed to open stream: Permission denied in /home/wwwfans/public_html/Hilary/install/class/dbmanager.php on line 26

Warning: main() [function.include]: Failed opening '/home/wwwfans/public_html/Hilary/class/logger.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wwwfans/public_html/Hilary/install/class/dbmanager.php on line 26

Warning: main(/home/wwwfans/public_html/Hilary/class/database/databasefactory.php) [function.main]: failed to open stream: Permission denied in /home/wwwfans/public_html/Hilary/install/class/dbmanager.php on line 27

Warning: main() [function.include]: Failed opening '/home/wwwfans/public_html/Hilary/class/database/databasefactory.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wwwfans/public_html/Hilary/install/class/dbmanager.php on line 27

Warning: main(/home/wwwfans/public_html/Hilary/class/database/mysqldatabase.php) [function.main]: failed to open stream: Permission denied in /home/wwwfans/public_html/Hilary/install/class/dbmanager.php on line 28

Warning: main() [function.include]: Failed opening '/home/wwwfans/public_html/Hilary/class/database/mysqldatabase.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wwwfans/public_html/Hilary/install/class/dbmanager.php on line 28

Warning: main(/home/wwwfans/public_html/Hilary/class/database/sqlutility.php) [function.main]: failed to open stream: Permission denied in /home/wwwfans/public_html/Hilary/install/class/dbmanager.php on line 29

Warning: main() [function.include]: Failed opening '/home/wwwfans/public_html/Hilary/class/database/sqlutility.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wwwfans/public_html/Hilary/install/class/dbmanager.php on line 29

Fatal error: Class 'XoopsDatabaseFactory' not found in /home/wwwfans/public_html/Hilary/install/class/dbmanager.php on line 45

there is a possible to fix it or i just cant run multiple installation such way? thanks
kikko

2
Stewdio
Re: Is possible to have multiple installations on the same domain?
  • 2006/1/17 18:38

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Your first intallation should work as intended. IF you just copy the files over to another dir, it won't work until you edit the mainfile.php

To get a second installation to work, you will need to create a second DB, or create new tables with a different prefix. Your mainfile.php in the second directory will have to be modified and treated as a separate instalation.

I don't know of a rock solid way to use one DB for separate directory instalations. I have installed XOOPS up to 6 times on the same server, with some users here having over 50 installations of xoops, all with separate directories and DB for each install.

The key here is your mainfile.php settings, your db_names and/or table prefixes depending on your hosts configuration.
XOOPS Community Support

3
kikkorm
Re: Is possible to have multiple installations on the same domain?
  • 2006/1/17 18:48

  • kikkorm

  • Just popping in

  • Posts: 43

  • Since: 2005/12/17


Hi,
I'm trying to use 2 different databases (no one) for 2 different installations in 2 different directories under the same domain name (http://www.mydomain.com/firstsite http://www.mydomain.com/secondsite). I've also changed prefix table, but did not work,
I am still not able to complete the second installation of xoops, i get that error i posted before, what should i fix?
thanks

Login

Who's Online

210 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jun 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits