The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
4.2.1 - 500 error on my database but working on a new install
Hey,
I have someone working on a site and he is getting it working fine on 4.2.1 with a fresh install, when he tries it with my database, its giving a 500 error. I had a quick look myself and the same thing is happening, so without a doubt its not a server error. I also checked cPanel error logs, nothing coming up, checked vB error logs, nothing coming up. I can get him to post also but I know this isnt a server error so I dont know why its giving a 500 or no errors showing in logs.. I have only ever got a 500 when it was something wrong with the actual server, but I have other sites running on different scripts as well as vb 3.7 running fine. Does anyone know what could cause this problem? Thanks for any help |
#2
|
|||
|
|||
Faulty .htaccess file perhaps?
|
#3
|
|||
|
|||
All files are the exact same - Just when the database info is changed it doesnt work...
I did a check on cPanel and its working but I cant get into the admincp to do a vb check, I don't know what would be wrong with it though.. --------------- Added [DATE]1454621991[/DATE] at [TIME]1454621991[/TIME] --------------- Im going crazy with this. The site was working for 10 minutes but only the activity page - Going to the forum gave a 500, now even the activity / homepage isnt working and giving a 500. Does anyone know what could be causing this? Thanks |
#4
|
||||
|
||||
I'm sorry but I really do not understand what you are saying.
What do you mean it works with a fresh install but not your database? Do you have the original files for your site? Do you have the correct version of files with the database? |
#5
|
||||
|
||||
If there's a 500 error there has to be something in the logs. Are you checking the correct logs?
|
#6
|
|||
|
|||
Thanks for the replies.
Yes, its the correct logs 100% - Nothing is showing. I did a fresh install - Its working fine with a new database but once the database in the config is changed to the previous database, it gives a 500 error. The site was working fine, nothing was changed so there has to be something to do with the database but doing a db check in cpanel all tables come up as ok |
#7
|
|||
|
|||
What if you open up the global.php file and add the following on the line after <?php
PHP Code:
|
#8
|
|||
|
|||
Just did that and its still just giving a page showing a 500..
Ive reinstalled so many times and did a fresh install and its working fine on the fresh database but not the previous - I did a check on the database and its the same version - I got someone else to reinstall this for me because my server was hacked but if the fresh install works then it has to be a database problem but I cant find it. If I could even copy my forums / threads / posts from the db to the fresh I'm thinking that should work Thanks for your help Dave |
#9
|
|||
|
|||
Well another way to find out what's causing it is to add breakpoints in vBulletin's core PHP files... that would require someone who has a bit of understanding of PHP though. Basically just exit the script at certain points until the error happens, from there you can find out what function is causing it.
Of course that will only work when the error is actually caused by vBulletin. |
#10
|
|||
|
|||
Got a new error log:
PHP Fatal error: Class 'vBCms_Route_List' not found in /home/northwes/public_html/website/includes/functions.php on line 3667 PHP Fatal error: Class 'vBCms_Route_List' not found in /home/northwes/public_html/website/member.php on line 665 Searched google and seen a few people are getting this |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|