Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\Dokumente und Einstellungen\plotti\Eigene Dateien\phpwcms1.2DEV\include\inc_front\front.func.inc.php on line 1898
I have implemented a forum on my website, which uses the same database. works fine.
I have implemented phpbbfetchall whicht connects to the forum and can fetch the content everywhere.
And here is the problem.
I got it to work, by making some variables global in their script. But the main problem is that $dbcon is overwritten somehow, by the values of phpbb, thats a pitty that they use the same value.
So I would like to try to reconnect the connection manually in the functions by making a new connection to the database.
i tried this: $dbcon=mysql_connect(blabla...)
worked out fine, the error disappeared but the functions do simply not work anymore. they simply deliver nothing as content...
how is $dbcon defined?
I also tried to make the database connection nonpersistent in the config file of phpwcms but it did not help...