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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2016, 02:07 PM
dansurge dansurge is offline
 
Join Date: Jul 2015
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 3.89 Vanished from display

Vbulletin dissapeared from displaying and all files are still on server, no database error. Vers 3.89... No upgrades or changes made it just up and vanished. No 404 error, just "this page can not be displayed" domain and all subpages are fine. Someone got an idea?
Reply With Quote
  #2  
Old 02-01-2016, 04:51 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Link to site?
Reply With Quote
Благодарность от:
Max Taxable
  #3  
Old 02-01-2016, 05:20 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the server status code? 200? 500?
Anything in the error logs of Apache/PHP?
Reply With Quote
  #4  
Old 02-01-2016, 05:56 PM
dansurge dansurge is offline
 
Join Date: Jul 2015
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unable to add cookies, header already sent.
File: /home/xxxxx/public_html/forum/includes/config.php
Line: 1

No admin panel.. Tried to define('DISABLE_HOOKS', true); in config.php

Tried overwriting fresh forum files, even tried a 4.2 version of vb I have aswell. no luck.

Deleted forum folder and I'm in the process of reupping the most current version I had.

It just originally dissapeared no message until I added the disable hooks, which led to the cookies/header error. when it first crashed blank page in IE, no 500 no 404 ect..
Reply With Quote
  #5  
Old 02-01-2016, 06:00 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dansurge View Post
Unable to add cookies, header already sent.
File: /home/xxxxx/public_html/forum/includes/config.php
Line: 1
That's typical result when editing the config.php file with something like notepad. That inserts a character on line one you cannot see with notepad, that crashes the config file.

Edit it with a real text editor like notepad++ or TextEdit.
Reply With Quote
Благодарность от:
MarkFL
  #6  
Old 02-01-2016, 06:02 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's caused by a BOM.
Fix: http://stackoverflow.com/a/8432691/1961685
Reply With Quote
Благодарность от:
MarkFL
  #7  
Old 02-01-2016, 06:04 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Byte Order Mark, yes.
Reply With Quote
  #8  
Old 02-01-2016, 06:06 PM
dansurge dansurge is offline
 
Join Date: Jul 2015
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
That's typical result when editing the config.php file with something like notepad. That inserts a character on line one you cannot see with notepad, that crashes the config file.

Edit it with a real text editor like notepad++ or TextEdit.
Just saved it in text++ same issue remains.

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

Ok, encoded config.php in UTF only without BOM, reuploaded and now I get a database error:

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /home/xxxxx/public_html/forum/dbtech/dbseo/includes/class_db.php on line 204
Reply With Quote
  #9  
Old 02-01-2016, 06:12 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dansurge View Post
Just saved it in text++ same issue remains.

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

Ok, encoded config.php in UTF only without BOM, reuploaded and now I get a database error:

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /home/xxxxx/public_html/forum/dbtech/dbseo/includes/class_db.php on line 204
You disabled the hooks?
Quote:
Just saved it in text++ same issue remains.
Yeah, if you didn't remove the BOM before saving it would remain.
Reply With Quote
  #10  
Old 02-01-2016, 06:17 PM
dansurge dansurge is offline
 
Join Date: Jul 2015
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
You disabled the hooks?Yeah, if you didn't remove the BOM before saving it would remain.
Removed Bom from Virgin config.php file saved, uploaded than the database error
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 04:10 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.04786 seconds
  • Memory Usage 2,256KB
  • 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
  • (5)bbcode_quote
  • (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
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete