My site has been fine and just today I got this message. I checked the block of php code and it looks fine but I"ll post it anyway. I called my hosting provider because I haven't edited the site in about a week so nothing should have changed much in my database.

<?php
    if (!$sidebar_left && !$sidebar_right) {
      $wide_class = ' doublewide';
    } else if (!$sidebar_left) {
      $wide_class = ' nonav';
    } else if (!$sidebar_right) {
      $wide_class = ' noblocks';
    }
    ?>

Comments

NikLP’s picture

Read this: http://drupal.org/node/31819

PS Google is your friend! Go play with it! :)

Compactman’s picture

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 189283 bytes) in /home/perform/domains/performanceiseverything.com/public_html/includes/database.mysql.inc on line 380

Warning: init_theme(./themes/engines/phptemplate/phptemplate.engine) [function.init-theme]: failed to open stream: No such file or directory in /home/perform/domains/performanceiseverything.com/public_html/includes/theme.inc on line 78

Warning: init_theme() [function.include]: Failed opening './themes/engines/phptemplate/phptemplate.engine' for inclusion (include_path='.:/usr/local/lib/php') in /home/perform/domains/performanceiseverything.com/public_html/includes/theme.inc on line 78

Warning: Table 'watchdog' was not locked with LOCK TABLES query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (3, 'php', '<em>Table &amp;#039;sessions&amp;#039; was not locked with LOCK TABLES\nquery: SELECT sid FROM sessions WHERE sid = &amp;#039;6a9f3c48d15c7a0b38feefa7860376e7&amp;#039;</em> in <em>/home/perform/domains/performanceiseverything.com/public_html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://performanceiseverything.com/?q=en/user/3', 'http://performanceiseverything.com/user', '70.50.22.96', 1175013335) in /home/perform/domains/performanceiseverything.com/public_html/includes/database.mysql.inc on line 172

Warning: Table 'watchdog' was not locked with LOCK TABLES query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (3, 'php', '<em>Table &amp;#039;sessions&amp;#039; was not locked with LOCK TABLES\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES (&amp;#039;6a9f3c48d15c7a0b38feefa7860376e7&amp;#039;, 3, 0, &amp;#039;70.50.22.96&amp;#039;, &amp;#039;language|s:2:\\&amp;quot;en\\&amp;quot;;&amp;#039;, 1175013335)</em> in <em>/home/perform/domains/performanceiseverything.com/public_html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://performanceiseverything.com/?q=en/user/3', 'http://performanceiseverything.com/user', '70.50.22.96', 1175013335) in /home/perform/domains/performanceiseverything.com/public_html/includes/database.mysql.inc on line 172