PDA

View Full Version : Problems with DBconnect


crub
19th July 2007, 16:46
Hello,

i installed oreon on an novell-oes (like SLES 9)

after all preparations hab been sucessful an the setup completed sucessfully,
the indexpage shows this:

Warning: main(DB.php) [function.main]: failed to open stream: No such file or directory in /usr/local/oreon/www/DBconnect.php on line 23

Fatal error: main() [function.require]: Failed opening required 'DB.php' (include_path='.:') in /usr/local/oreon/www/DBconnect.php on line 23


any Idea?

php-pear is installed. DB too.

may be it has todo with an ohter problem, that i cant fix:

myserve:/usr/share/php # pear upgrade-all
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/msql.so' - /usr/lib/php/extensions/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Will upgrade channel://pear.php.net/console_getopt
downloading Console_Getopt-1.2.3.tgz ...
Starting to download Console_Getopt-1.2.3.tgz (4,011 bytes)
....done: 4,011 bytes
upgrade-all ok: channel://pear.php.net/Console_Getopt-1.2.3

php-mysql is installed...

best regards,

chris

rom
20th July 2007, 08:55
Do you restart apache ?

Sometimes, but it's really rare on SLES, *.so are not well added in php.ini
Try to see if your mysql.so exist, and make the same configuration as pear.so, snmp.so ...

crub
20th July 2007, 11:19
i had to add comment sign to the extension: msql.so.

unfurtunately theres an new problem now:


DB Error: unknown option portability


is the only line, desplayed in the browser.
No errors in the access_log file. :-(

problem known?

best regards

christian

crub
13th August 2007, 18:27
Hello,
unfortunatly i cant solve this problem.

no further idea?

Best regards,
Chris