![]() |
|
Thread Tools |
#1
|
|||
|
|||
![]()
Hello,
this is the error i am getting:
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.
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
|
#2
|
|||
|
|||
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.
No members have liked this post.
|
#3
|
|||
|
|||
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.
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
|
#4
|
||||
|
||||
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
now quick editor works (for the time being) and no SQL error mail ��
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
|
#5
|
|||
|
|||
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
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
|
#6
|
|||
|
|||
Upgrade as Dave stated.
What version of MySQL is the new server running, it stated right in the AdminCP home page?
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#7
|
|||
|
|||
Newer than one the forum worked on.
currently it is: "MySQL Version 5.7.27" No members have liked this post.
|
#8
|
|||
|
|||
What version of php?
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#9
|
|||
|
|||
Hosting gives an option to use various PHP versions, so while it was not working on 5.6 i switched to 5.3 which i used on previous server where there was no problem..
No members have liked this post.
|
#10
|
|||
|
|||
Ok, as Dave already stated & myself, you need to upgrade vbulletin to 4.2.5
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#11
|
|||
|
|||
> 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.
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
|
#12
|
|||
|
|||
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.
__________________
Make your forum mobile friendly and get app-like features: ✓ App-like icon on your smartphone homescreen ✓ Responsive style - for vBulletin 4.2.x - Contact for custom work ✓ Push notifications for new replies, likes and PM No members have liked this post.
|
#13
|
||||
|
||||
@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:
when i reloaded page, it shows without issue (so this looks like a random issue?). As you suggested i also looked after error_log file, but there was none in the sites root directory. But hosting control panel has access to error log and found errors like here.
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
|
#14
|
|||
|
|||
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.
No members have liked this post.
|
#15
|
|||
|
|||
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 ![]()
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
|
![]() |
Tags |
mysql |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 00:31.