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 10-25-2013, 03:34 AM
LS88 LS88 is offline
 
Join Date: May 2013
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [Solved] Can Access AdminCP But Not Forum

I got home last night to find my forum down. At the time it was given a cloudflare message. Bluehost recommended I delete cloudflare which I did, now I get a 500 server error when trying to access the forums.

After hours on the phone with bluehost they've basically left me with "it's a code issue hire a developer" no changes were made to bring on this issue. I reinstalled vbulletin 4.2.2 fresh just now and the issue persists.

I don't know whether bluehost is just screwing me or if the issue is a vbulletin problem.

Any help is appreciated.

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

I should also mention that the wordpress installation on the server still loads, just not VB.
Reply With Quote
  #2  
Old 10-25-2013, 03:42 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There was a file edit needed to make CF work on your board. Remember? You must revert this file when deleting CF.
Reply With Quote
  #3  
Old 10-25-2013, 03:44 AM
LS88 LS88 is offline
 
Join Date: May 2013
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
There was a file edit needed to make CF work on your board. Remember? You must revert this file when deleting CF.
No I don't remember
Reply With Quote
  #4  
Old 10-25-2013, 03:47 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's been so long since I stopped using CF, i don't offhand remember either. I only know there was one, related to IPs displayed all being cloudflare if you didn't do the edit.

Before you deleted CF did you point your board back to your host's nameserver?

Can we have a link to your board?
Reply With Quote
  #5  
Old 10-25-2013, 03:51 AM
LS88 LS88 is offline
 
Join Date: May 2013
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My website is truthinourtime.com the forum is /forum

It's been awhile since I installed CF as well and I don't recall having to do anything. Since my forum is a subdomain would I still have had to do it?

The only thing I did was reset DNS tables in cpanel but nothing from vbulletin side.

Thanks for your help.

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

I looked into the issue of what was added for CF to work to begin with and found

"Remove the // in front of the $config['Misc']['proxyiplist'] and $config['Misc']['proxyipheader']"

I looked up my config.php and it has the // which I'm assuming I need since I no longer have CF.
Reply With Quote
  #6  
Old 10-25-2013, 03:58 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well... Your /forum is definitely down worldwide:

http://host-tracker.com/check_res_ajx/13933890-0/
Reply With Quote
  #7  
Old 10-25-2013, 03:59 AM
LS88 LS88 is offline
 
Join Date: May 2013
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
Well... Your /forum is definitely down worldwide:

http://host-tracker.com/check_res_ajx/13933890-0/
No doubt. Any ideas?
Reply With Quote
  #8  
Old 10-25-2013, 04:02 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How did you "delete" Cloudflare? You must point your domain back to the host when you do.

You say adminCP is still live? Could it be you did this feature?

http://blog.cloudflare.com/introduci...ned-feature-co
Reply With Quote
  #9  
Old 10-25-2013, 04:06 AM
LS88 LS88 is offline
 
Join Date: May 2013
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
How did you "delete" Cloudflare? You must point your domain back to the host when you do.

You say adminCP is still live? Could it be you did this feature?

http://blog.cloudflare.com/introduci...ned-feature-co
I deleted it from within cpanel, as well as deleted it from cloudflares website. When I login now it asks me to add a website.

From within cpanel I reverted DNS to default, since before I did that I had DNS errors (obviously) and now the forum will sometimes load but it takes several minutes sometimes it doesn't load at all and even if it loads you can't click on any threads.
Reply With Quote
  #10  
Old 10-25-2013, 04:08 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here was the original file edit they used to call for, for use with vBulletin:

Quote:
1.
Open includes/class_core.php

2.
Find: function fetch_ip() { return $_SERVER['REMOTE_ADDR']; }

replace with:

function fetch_ip() { if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { return $_SERVER['HTTP_CF_CONNECTING_IP']; } return $_SERVER['REMOTE_ADDR']; }


Find:

function fetch_alt_ip() { $alt_ip = $_SERVER['REMOTE_ADDR'];

if (isset($_SERVER['HTTP_CLIENT_IP'])) { $alt_ip = $_SERVER['HTTP_CLIENT_IP']; }


Replace with:

function fetch_alt_ip() { $alt_ip = $_SERVER['REMOTE_ADDR'];

if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $alt_ip = $_SERVER['HTTP_CF_CONNECTING_IP']; } else if (isset($_SERVER['HTTP_CLIENT_IP'])) { $alt_ip = $_SERVER['HTTP_CLIENT_IP']; }


3. Upload and overwrite
Try re-uploading your original class_core.php file to the server, to overwrite this even if you don't recall doing it.



Quote:
Originally Posted by LS88 View Post
I deleted it from within cpanel, as well as deleted it from cloudflares website. When I login now it asks me to add a website.

From within cpanel I reverted DNS to default, since before I did that I had DNS errors (obviously) and now the forum will sometimes load but it takes several minutes sometimes it doesn't load at all and even if it loads you can't click on any threads.
Deleted your cloudflare account?


I just got this when trying to load your forum:

Quote:
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again. URL: http://www.truthinourtime.com/forum/
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 01:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04156 seconds
  • Memory Usage 2,260KB
  • 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
  • (6)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
  • (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