![]() |
Invalid SQL: UPDATE adminutil SET text = UNIX_TIMESTAMP() WHERE title ...
Hello,
this is the error i am getting: Quote:
It happening since the hosting account was transferred to a new server with higher MySQL version and higher PHP version. I also changed mysql to mysqli in config.php file if i am not wrong. What should i try please? I want to stay on current vB version. |
Based on the error you pasted here, you are still running vBulletin 4.2.0. If you need to run vBulletin 4 with PHP 7+, you must upgrade to the latest vBulletin 4 version.
|
I have disabled and then enabled following plugins:
Helpful Answers DragonByte Tech: Advanced Post Thanks / Like (Lite) In AdminCP/Maintenance menu cleared cache. I no longer have that problem. |
No, it is back. I think it may has to do with the quick edit'or (when i go to advanced editting, then no problem), but when i try to submit quick edit, then the submit button wheel is turning and nothing happens (post was editted on background, but i received that mentioned SQL error - SQL command is OK when executed via PHPmyadmin)
I also had an idea if this is caused by the cloudflare. No it is not. Browser dev. console shown some FAIL: deltype_hard and when i duck.com it, i found [this post](https://forum.vbulletin.com/forum/vb...01#post3548501) where is described change in /vb/ckeditor.php PHP Code:
|
No, that was not the fix.
Issue is there, but when i go to vbulletin adminCP, Maintenance section, Clear system cache. Then it fix the problem temporarily - Quick editor completing editting and no error. But maybe 24 hours later quick editor will not complete - Save button wheel is turning and editor not close. (post text change is saved on the background without problem). Any idea why the problem is in System cache. and how to disable it, what to try? Thanks |
Upgrade as Dave stated.
What version of MySQL is the new server running, it stated right in the AdminCP home page? |
Quote:
currently it is: "MySQL Version 5.7.27" |
What version of php?
|
Quote:
|
Ok, as Dave already stated & myself, you need to upgrade vbulletin to 4.2.5
|
> upgrade vbulletin to 4.2.5
I was thinking why. because 4.2.0 worked on previous server so i would think version is not the cause. But i spend my time to upgrade to 4.2.5, but that NOT helped. Same error. |
Do you get any other errors at the same time? Check server error logs.
The db error that you have posted in OP does not give any error information. |
@iA1
thank you. I enabled debug mode and visited the page that is reported having the error mentioned in the first post of this topic. This one: http://mydomain.com/domains/mydomain.com/public_html/archive/index.php/f-43.html (note that after move to a new server, site started showing bad URL in adress bar as seen above, but that is possibly another issue not related) i am then redirected to: http://mydomain.com/domains/mydomain.com/public_html/sitemap/f-43.html where is the mentioned SQL error and thanks to debug mode, i see something more: Code:
Stack Trace: |
If you're running vbseo, I highly doubt it's compatible with PHP 7 (because it hasn't been updated for many years) which is why it's throwing those errors.
|
My URLs was shows wrong: http://mydomain.com/domains/mydomain....php/f-20.html and that i should fix it first.
I ended up enabling vbseo plugin, going to admincp, vbseo, Settings, Options, Advanced settings and set DocRoot path there to be /home/myusername/domains/mydomain.com/public_html Now URLs show up right and a few days i seen no MySQL error :erm: i think these URL things can also relate to .htaccess. I will report back if the issue re-appear.. |
All times are GMT. The time now is 01:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|