you have to install DB package from php pear repository. I guess the command is:
pear install DB
Also, increase the memory allocated for php, which is default 8MB to at least 16 (in your php.ini file).
Cheers, Daniel
On 09/22/06 02:43, Ronald Wiplinger wrote:
[Fri Sep 22 06:54:42 2006] [error] [client 192.168.250.108] PHP Warning: require_once(DB.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /srv/www/serweb/html/main_prepend.php on line 38 [Fri Sep 22 06:54:42 2006] [error] [client 192.168.250.108] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'DB.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/serweb/html/main_prepend.php on line 38
# locate DB.php /usr/share/php5/PEAR/PEAR/DependencyDB.php
How can I get it?
In the meantime I have tried to turn off loging in config.php: $config->enable_loging = false; $config->log_file = "/var/log/serweb";
but get still the same error.
SuSE 10.1 installed pear5 (there is no 'pear') # pear5 list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.1 stable Console_Getopt 1.2 stable PEAR 1.4.6 stable # pear5 list-all PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8208 bytes) in /usr/share/php5/PEAR/PEAR/Registry.php on line 1048
What do I need to do?
bye
Ronald
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users