1
FAQ, Tips / Re: DB Error: Bad SQL Query: << ERROR/FEHLER with/mit mySQL 5
« on: November 18, 2008, 12:29:12 PM »
Based on Vano's post I corrected this problem by running a perl command from the shell in the 4images root dir, the \admin dir and the \includes dir:
This might be useful for people without access to Ultraedit. Feel free to update Vanos post with this information, i am not allowed to reply there.
Remember to BACK UP everything before you try this!
Code: [Select]
perl -pi '-es/(FROM\s+)("\.[A-Z_]+\."\s+[a-z]+,\s*"\.[A-Z_]+\."\s+[a-z]+)/$1($2)/g' *.php
This might be useful for people without access to Ultraedit. Feel free to update Vanos post with this information, i am not allowed to reply there.
Remember to BACK UP everything before you try this!