31
Valio69
Two DB in Xoops
  • 2010/4/6 11:55

  • Valio69

  • Just popping in

  • Posts: 46

  • Since: 2010/1/2 1


I have 2 different BD in my XOOPS site. One of it - main XOOPS (XOOPS_DB_NAME) ofcourse, and one another. When I tried to connect to another nothing happend - Smarty.class returned me an error "unable to read resource" etc. Then I saw in mysqldatabase.php something like this:

if (!mysql_select_db(XOOPS_DB_NAME)) {
                
$this->logger->addQuery(''$this->error(), $this->errno());
                return 
false;
            }


So this means that I cant use data on my XOOPS site from another DB. Is there some way to solve this problem?



32
Valio69
Re: Xoops Lib and Xoops Data
  • 2010/1/2 1:30

  • Valio69

  • Just popping in

  • Posts: 46

  • Since: 2010/1/2 1


Ok. But why to do it so "agressive". May be it will be easy to put in the form while install sometning like this

/home/mysite.com/trustfolder/xoops_data
/home/mysite.com/trustfolder/xoops_lib

So then - there is not neccessary to make all that operations.

Will it work or not?




TopTop
« 1 2 3 (4)



Login

Who's Online

153 user(s) are online (56 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits