Warning message at the top of evry page

Posts: 3
Joined: 11/25/2008

hey guys, iget this warning message at the top of every page. Jsut wondering how do i get rid of it and fix it??

Thanks

* warning: include_once(./modules/book/cck/content_admin.inc) [function.include-once]: failed to open stream: No such file or directory in /home/******/public_html/drupal_uber/modules/book/cck/content.module on line 81.
* warning: include_once() [function.include]: Failed opening './modules/book/cck/content_admin.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/******/public_html/drupal_uber/modules/book/cck/content.module on line 81.
* One or more problems were detected with your Drupal installation. Check the status report for more information.

Hope you can understand and help me with this

CYA

Posts: 226
Joined: 01/25/2008
Bug FinderBrain StormerGetting busy with the Ubercode.

Well first things first, it looks as though your CCK folder is inside of your book module folder?

All contrib modules should be is drupal_uber/sites/all/modules.

That probably won't solve the problem but it is the first thing you need to do.

Posts: 1377
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

A couple things. First, you can turn off all error messages that aren't fatal by putting some commands in your index.php file:

<?php
ini_set
('display_errors', FALSE);
ini_set('display_startup_errors', FALSE);
?>

Also, the errors to me look like they have to do with running out of memory, or having too many files open. Ask your hosting provider if they can check the ulimit on your server. Chances are ulimitis set to 1024 (by default) and I've run into problems with smaller dedicated servers, such as our dev box, where we'd see this error on certain pages. Changing the ulimit (which is the number of open files on the server) to a higher number usually resolves this.

Thirdly, the "you have an error in your Drupal installation" is a message that only a site Administrator will see - however it's best to go to the Status page and see what you can do to fix it Smiling

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com