Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2016, 06:14 PM
John Diver John Diver is offline
 
Join Date: Nov 2003
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 02-04-2016, 06:15 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Faulty .htaccess file perhaps?
Reply With Quote
  #3  
Old 02-04-2016, 07:00 PM
John Diver John Diver is offline
 
Join Date: Nov 2003
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 02-05-2016, 07:05 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 02-05-2016, 08:51 AM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If there's a 500 error there has to be something in the logs. Are you checking the correct logs?
Reply With Quote
  #6  
Old 02-05-2016, 04:04 PM
John Diver John Diver is offline
 
Join Date: Nov 2003
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 02-05-2016, 04:07 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if you open up the global.php file and add the following on the line after <?php
PHP Code:
error_reporting(E_ALL); 
ini_set("display_errors"1); 
Then check if there are any errors on the screen?
Reply With Quote
  #8  
Old 02-05-2016, 04:58 PM
John Diver John Diver is offline
 
Join Date: Nov 2003
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 02-05-2016, 05:06 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 02-05-2016, 05:16 PM
John Diver John Diver is offline
 
Join Date: Nov 2003
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04342 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete