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 05-19-2015, 01:26 PM
Sharingan_Okami Sharingan_Okami is offline
 
Join Date: Jul 2014
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Blank white pages loading after moving from Shared host to a VPS HELP

Hey guys, I'm having a serious 'permission' problem i think. Just after changing hosts from Shared host to a VPS Server. I have tried to change permissions and some Apache setting but with no luck whatsoever, i have been stuck like this for almost a week now and searched high and low for a solution.

I'm currently running Vbulletin 4.2.1

Here are my error logs:
Code:
[Tue May 19 19:18:44 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(): open_basedir restriction in effect. File(/home/forum/public_html/forum.php) is not within the allowed path(s): (1) in /home/forum/public_html/index.php on line 43
[Tue May 19 19:18:44 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(/home/forum/public_html/forum.php): failed to open stream: Operation not permitted in /home/forum/public_html/index.php on line 43
[Tue May 19 19:18:44 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Fatal error:  require(): Failed opening required 'forum.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/forum/public_html/index.php on line 43
[Tue May 19 19:18:54 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(): open_basedir restriction in effect. File(/home/forum/public_html/forum.php) is not within the allowed path(s): (1) in /home/forum/public_html/index.php on line 43
[Tue May 19 19:18:54 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(/home/forum/public_html/forum.php): failed to open stream: Operation not permitted in /home/forum/public_html/index.php on line 43
[Tue May 19 19:18:54 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Fatal error:  require(): Failed opening required 'forum.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/forum/public_html/index.php on line 43
[Tue May 19 19:19:02 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require_once(): open_basedir restriction in effect. File(/home/forum/public_html/global.php) is not within the allowed path(s): (1) in /home/forum/public_html/forumdisplay.php on line 99
[Tue May 19 19:19:02 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require_once(/home/forum/public_html/global.php): failed to open stream: Operation not permitted in /home/forum/public_html/forumdisplay.php on line 99
[Tue May 19 19:19:02 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required './global.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/forum/public_html/forumdisplay.php on line 99
[Tue May 19 19:20:41 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(): open_basedir restriction in effect. File(/home/forum/public_html/forum.php) is not within the allowed path(s): (1) in /home/forum/public_html/index.php on line 43
[Tue May 19 19:20:41 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(/home/forum/public_html/forum.php): failed to open stream: Operation not permitted in /home/forum/public_html/index.php on line 43
[Tue May 19 19:20:41 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Fatal error:  require(): Failed opening required 'forum.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/forum/public_html/index.php on line 43
[Tue May 19 19:20:41 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(): open_basedir restriction in effect. File(/home/forum/public_html/forum.php) is not within the allowed path(s): (1) in /home/forum/public_html/index.php on line 43
[Tue May 19 19:20:41 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(/home/forum/public_html/forum.php): failed to open stream: Operation not permitted in /home/forum/public_html/index.php on line 43
[Tue May 19 19:20:41 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Fatal error:  require(): Failed opening required 'forum.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/forum/public_html/index.php on line 43
[Tue May 19 19:20:42 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(): open_basedir restriction in effect. File(/home/forum/public_html/forum.php) is not within the allowed path(s): (1) in /home/forum/public_html/index.php on line 43
[Tue May 19 19:20:42 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  require(/home/forum/public_html/forum.php): failed to open stream: Operation not permitted in /home/forum/public_html/index.php on line 43
[Tue May 19 19:20:42 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Fatal error:  require(): Failed opening required 'forum.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/forum/public_html/index.php on line 43
Any help on this problem is much appreciated.
Reply With Quote
  #2  
Old 05-19-2015, 03:39 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To resolve this error, you must edit the file httpd.conf. Way before it can be seen in phpinfo in apache2handler section directive Server Root. For example, in my case this way - / etc / httpd / httpd.conf. Open the file httpd.conf, find the mention of the parameter open_basedir. And set it to none. (php_admin_value open_basedir none)

Source
Reply With Quote
  #3  
Old 05-19-2015, 05:31 PM
Sharingan_Okami Sharingan_Okami is offline
 
Join Date: Jul 2014
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply, but that didn't work

There was no "parameter open_basedir." in httpd.conf

It's also disabled in php.ini

Some more logs:

Code:
[Tue May 19 23:30:20 2015] [error] [client xx.xx.xx.xx] Directory index forbidden by Options directive: /home/forum/public_html/images/
[Tue May 19 23:30:51 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/forum/public_html/includes/class_core.php(1256) : eval()'d code on line 334
Reply With Quote
  #4  
Old 05-19-2015, 05:40 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you check for a .htaccess with open_basedir in it?
Reply With Quote
  #5  
Old 05-19-2015, 05:42 PM
Sharingan_Okami Sharingan_Okami is offline
 
Join Date: Jul 2014
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, yes there is no .htaccess on the doc root
Reply With Quote
  #6  
Old 05-19-2015, 06:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have a phpinfo.php you can look at? If you don't, you can make one, it's just this:
Code:
<?php
	phpinfo();
?>
in a file named phpnfo.php (or I guess whatever you want to call it), then put that in public_html and point your browser at it. I'm not an expert on all the info in there, but it might tell you something if you search it for open_basedir, and maybe look at what php.ini it's loading.
Reply With Quote
  #7  
Old 05-19-2015, 10:50 PM
Sharingan_Okami Sharingan_Okami is offline
 
Join Date: Jul 2014
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I solved this problem, it was a .htaccess error. Thanks for all the help though guys!
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 02:06 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.07864 seconds
  • Memory Usage 2,220KB
  • 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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete