Closed (fixed)
Project:
Path Filter
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2007 at 23:28 UTC
Updated:
8 Mar 2007 at 09:19 UTC
I don't know if Path Filter has anything to do with this, but I'm desperate. The site is going live tomorrow.
Suddenly I get:
* 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
Comment #1
RobRoy commentedDon't think so. Path Filter doesn't really do any database interaction and includes/database.mysql.inc is calling those errors. You can try a var_dump(debug_backtrace()); after some of those preg calls to see what is calling that, but I don't think it's Path Filter.
Comment #2
Boletus commentedWould you please care to elaborate on that? How do I do a var_dump(debug_backtrace());
I am mostly a administrator of Drupal. This is a complete nightmare...
Comment #3
RobRoy commentedPut a var_dump(debug_backtrace()); after the preg_replace on line 438 in database.mysql.inc. Then you'll see a bug dump that will trace back from that preg
call to whatever code called it (so look for a module in that list).
Also you can just disable your contrib modules one at a time and see when it clears up.
#drupal-support on IRC is a good place to get real time help with that stuff also.
Comment #4
Boletus commentedIt seems the error showed up in the log when the Sitemap module was called by google.
Can you dechiper some information from this log entry?
There is no line 438 as far as I can see? It ends at line 425.
Comment #5
RobRoy commentedHmmm...not sure, but you should try one of the support channels. It could have to deal with any access modules you have installed. Good luck!
Comment #6
Boletus commentedThere 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...