Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2021, 09:11 PM
shibby2 shibby2 is offline
 
Join Date: Jul 2005
Posts: 303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need help, bad. Errors and problems after php upgrade

Hey everyone, my forums stopped working today. I guess the host upgraded PHP or something.

Every time I try to go to my forums now, a download box pops up and it downloads the index file.

They supposedly downgraded PHP, and it worked for a little bit, now back to the same thing. They did something with the httaccess file too I guess. I also was getting a parse error in the init.php file also for alittle while, but now that's not even happening anymore.


I really don't know what to do and the host tech support is absolutely worthless. Any idea what is going on here? Any idea what php version would work best? My forums are all 3.8.2 or 3.8.4.

Thanks for ANY help!
Reply With Quote
  #2  
Old 02-25-2021, 09:20 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

php 5.6.4 works best with 3x but it's best to update the core files and use more current php versions, I have not completely finished upgrading mine either but soon I feel I will have no other choice. I wont leave vb3, I have tried programming on vb4 and it's not worth the headache to me.
Reply With Quote
  #3  
Old 02-25-2021, 09:34 PM
shibby2 shibby2 is offline
 
Join Date: Jul 2005
Posts: 303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. I will tell them 5.6.4 is best. This is terrible, I feel helpless. My forums are pretty active, I can't have them down for this long. It's been a few hours already.

Any idea why it would download the index file when trying to access them instead of just opening the forum? Is that because of the php version too?

Thanks so much.
Reply With Quote
  #4  
Old 02-25-2021, 09:51 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That I have no idea on, a php file should not be downloadable. This seems to be something more server related. Maybe they didnt have the right index's set.
Reply With Quote
  #5  
Old 02-25-2021, 09:52 PM
shibby2 shibby2 is offline
 
Join Date: Jul 2005
Posts: 303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason they can either be on php 5.2, or php 7.2.

When on 5.2, it downloads the index file when trying to access the forums.

When on 7.2, a parse error in the init file comes up.

Reply With Quote
  #6  
Old 02-25-2021, 10:04 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On 5.2 try downloading your includes/config.php and place the disable plugins code at the very top so the top of your config file should look like

<?php
define('DISABLE_HOOKS', true);

Then upload it back and see if your site loads up

Try yoursite.com/admincp also

If you get in turn your boards off for now and give your members a message

And if that works, a plug-in is causing the issues.

Now if that doesn't work the last thing I can think to do is upgrade to the latest version of vb3 but first have them switch it to php 7.2

I'd be careful with this, already having issues, MAKE A BACKUP, files, db anything you need.
Reply With Quote
  #7  
Old 02-26-2021, 03:41 AM
john2k john2k is offline
 
Join Date: Feb 2002
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First thing I would check is to verify that PHP is or is not configured for your site. It might be that PHP is not properly configured in the virtual host settings in the webserver software for your site. PHP not being configured for a virtual host would probably cause the webserver to treat .php files as files to be downloaded rather than files to be parsed & executed as PHP.
Reply With Quote
  #8  
Old 02-26-2021, 04:47 PM
shibby2 shibby2 is offline
 
Join Date: Jul 2005
Posts: 303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you everyone for the help. This has been a nightmare. Im going in circles.

quick question.... how can you find out what version oh PHP your forum is currently using? On my other host, where theres no problem, they tell me my VB3.8.4 forum is running on 7.3.

If I go into the admincp on my forums, and click on phpinfo, it says 5.4 is being used.

The host insists it's running on 7.3, which from what I understand, doesnt work for VB3.

How do I know for sure what it's running on?

Thanks.
Reply With Quote
  #9  
Old 02-26-2021, 07:39 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

create a php file name it what ever, add:
Code:
<?
phpinfo();
to it, upload it and navigate to that file.

it will tell you 100% everything you need to know.

also on vb3 would be throwing you errors on 7.3 (unless you have updated it yourself)

--------------- Added [DATE]1614385411[/DATE] at [TIME]1614385411[/TIME] ---------------

I will have a php 7.4 compatible version of vb3 for you tonight
Reply With Quote
  #10  
Old 02-27-2021, 08:25 PM
shibby2 shibby2 is offline
 
Join Date: Jul 2005
Posts: 303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thanks, I'll try it in a lil bit.
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:30 AM.


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.05294 seconds
  • Memory Usage 2,252KB
  • Queries Executed 13 (?)
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_code
  • (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_postinfo_query
  • fetch_postinfo
  • 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