Manoel J?nior
03-02-2014, 11:34 PM
Deleted my administrator user, which I had done numerous posts on forum, unfortunately I was careful to protect myself in config.php and put my user as undeletableusers.
I created a new user with the same name I had, I went into my database and modified my group to be an administrator, right now I'm checking the logs to see which admin gave me this tragedy.
I would like you to help us, because whatever topic I go, where I had commented or even started posting gives SQL error as below:
Invalid SQL:
SELECT * FROM `thread` WHERE `postuserid`=;
MySQL Error : 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 '' at line 1
I've tried to change my userid in the database to my old, who was the userid 1, but still did not work.
Could someone give me a hand as I could fix this error?
PS. Sorry my bad english.
I created a new user with the same name I had, I went into my database and modified my group to be an administrator, right now I'm checking the logs to see which admin gave me this tragedy.
I would like you to help us, because whatever topic I go, where I had commented or even started posting gives SQL error as below:
Invalid SQL:
SELECT * FROM `thread` WHERE `postuserid`=;
MySQL Error : 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 '' at line 1
I've tried to change my userid in the database to my old, who was the userid 1, but still did not work.
Could someone give me a hand as I could fix this error?
PS. Sorry my bad english.