vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   [Solved] Can Access AdminCP But Not Forum (https://vborg.vbsupport.ru/showthread.php?t=303809)

LS88 10-25-2013 03:34 AM

[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.

Max Taxable 10-25-2013 03:42 AM

There was a file edit needed to make CF work on your board. Remember? You must revert this file when deleting CF.

LS88 10-25-2013 03:44 AM

Quote:

Originally Posted by Max Taxable (Post 2456015)
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 :o

Max Taxable 10-25-2013 03:47 AM

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?

LS88 10-25-2013 03:51 AM

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.

Max Taxable 10-25-2013 03:58 AM

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

http://host-tracker.com/check_res_ajx/13933890-0/

LS88 10-25-2013 03:59 AM

Quote:

Originally Posted by Max Taxable (Post 2456022)
Well... Your /forum is definitely down worldwide:

http://host-tracker.com/check_res_ajx/13933890-0/

No doubt. Any ideas?

Max Taxable 10-25-2013 04:02 AM

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

LS88 10-25-2013 04:06 AM

Quote:

Originally Posted by Max Taxable (Post 2456025)
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.

Max Taxable 10-25-2013 04:08 AM

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 (Post 2456026)
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/


All times are GMT. The time now is 09:30 PM.

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.01195 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete