I have installation on Drupal 4.7 on Solaris 9 with iPlanet-WebServer-Enterprise/6.0SP10, PHP 5.1.2 and PostgreSQL 8.1.1.
I have constant problem receiving some warnings related to the cache. If I have limited modules included in the configuration everything is fine. But when I add some additional modules, it's not important which, then this warning messages start to come on every open page. Cache is disabled but Drupal probably use cache for some static pages or menus.
Messages are this:
• warning: pg_query() [function.pg-query]: Query failed: could not receive data from server: No such file or directory in /drupal/includes/database.pgsql.inc on line 84.
• user warning: query: SELECT data, created, headers, expire FROM cache WHERE cid = 'menu:1:en' in /drupal/includes/database.pgsql.inc on line 103.
If I disable some of the modules then everything is fine with out these warning messages. But on this way I am limited to use just some of the modules and then Drupal is useless. I find a way to filter these warnings and not show them to everybody and now I have clean pages for visitors without warnings and errors.
Why all warnings and errors have to be placed on all pages?
It's not good to have them there.
All users must have impression that everything is working fine. Why you are not put them just in logs.
I still can't find what is producing this warning, postgres, php, solaris or some wrong combination of all of them. Probably adding more modules cache data are bigger and this is producing some timeout until data is served to the php function which requests them. I still can’t find where is the problem and it will be good to share some information if somebody have similar platform like me.