By Boletus on
I desperately need assistance. I've been working on a Drupal site for 3 months. Tomorrow we go live. And when I open the page, just before going to bed, the first page is full of this:
Please, please, any hints, anything, what can be done? :(
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 37 in /home/public_html/includes/database.mysql.inc on line 438.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 37 in /home/public_html/includes/database.mysql.inc on line 438.
* user warning: Query was empty query: in /home/public_html/includes/database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 1 query: LIMIT 0, 10 in /home/public_html/includes/database.mysql.inc on line 172.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 58 in /home/public_html/includes/database.mysql.inc on line 438.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 58 in /home/public_html/includes/database.mysql.inc on line 438.
* user warning: Query was empty query: in /home/public_html/includes/database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 100' at line 1 query: LIMIT 0, 100 in /home/public_html/includes/database.mysql.inc on line 172.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 58 in /home/public_html/includes/database.mysql.inc on line 438.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 37 in /home/public_html/includes/database.mysql.inc on line 438.
* user warning: Query was empty query: in /home/public_html/includes/database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 100' at line 1 query: LIMIT 0, 100 in /home/public_html/includes/database.mysql.inc on line 172.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 58 in /home/public_html/includes/database.mysql.inc on line 438.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 58 in /home/public_html/includes/database.mysql.inc on line 438.
* user warning: Query was empty query: in /home/public_html/includes/database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 100' at line 1 query: LIMIT 0, 100 in /home/public_html/includes/database.mysql.inc on line 172.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 37 in /home/public_html/includes/database.mysql.inc on line 438.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 37 in /home/public_html/includes/database.mysql.inc on line 438.
* user warning: Query was empty query: in /home/public_html/includes/database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 100' at line 1 query: LIMIT 0, 100 in /home/public_html/includes/database.mysql.inc on line 172.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 58 in /home/public_html/includes/database.mysql.inc on line 438.
* warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 58 in /home/public_html/includes/database.mysql.inc on line 438.
* user warning: Query was empty query: in /home/public_html/includes/database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 100' at line 1 query: LIMIT 0, 100 in /home/public_html/includes/database.mysql.inc on line 172.
Comments
Did you install any new
Did you install any new modules recently, or change anything on the server side?
--
John Forsythe
Need reliable Drupal hosting?
I do not think something is
I do not think something is changed on the server, I am hosted at a web hotel. It's been working fine until now.
I installed the update_status module yesterday. Earlier today the links to some inline images stopped working.
I am using the Path Filter module, enabling me to use a
<img scr="internal:files/file.jpg" />syntax.What can I do? Look in the database?
It seems the error showed up
It seems the error showed up in the log when the Sitemap module was called by google.
Can someone fluent in MySQL dechiper some information from this log entry?
That's a fairly complex
That's a fairly complex error, but it looks like variable "n.nid" is not being properly replaced before the query is sent to MySQL. Why that's happening, I don't know. You may want to run the update script (yoursite.com/update.php) and see if anything is out of date. Also, in my opinion, sitemaps are not that important for Drupal sites. Google generally has no problems crawling through Drupal on its own. You may just want to disable the sitemap module if you can't resolve the problem by other means.
--
John Forsythe
Need reliable Drupal hosting?
Seems something happened
Seems something happened when I enabled the Poll module for the first time. I've searched the logs and found these two entries entries:
I am bad at reading this code. What exactly is the error? That table poll_votes already exists or something with characterset?
Those errors look fairly
Those errors look fairly harmless. It just means the tables already exist, and don't need to be recreated.
--
John Forsythe
Need reliable Drupal hosting?
Thanks! A helpful soul. :)
Thanks! A helpful soul. :) The last 12 hours has been rough.
There is a bug in the PCRE library that comes to life with PHP 5.2.1. The solution was to downgrade PCRE from 7.0 to an older version.
This seems to have taken care of my problem. Touch wood... Touch wood.
upgrade fixes this...
i am going to try boletus's fix but i have found running the upgrade script fixes this as well.
--
blah