vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Blank white pages loading after moving from Shared host to a VPS HELP (https://vborg.vbsupport.ru/showthread.php?t=318717)

Sharingan_Okami 05-19-2015 01:26 PM

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.

final kaoss 05-19-2015 03:39 PM

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

Sharingan_Okami 05-19-2015 05:31 PM

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


kh99 05-19-2015 05:40 PM

Did you check for a .htaccess with open_basedir in it?

Sharingan_Okami 05-19-2015 05:42 PM

Hi, yes there is no .htaccess on the doc root

kh99 05-19-2015 06:10 PM

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.

Sharingan_Okami 05-19-2015 10:50 PM

I solved this problem, it was a .htaccess error. Thanks for all the help though guys!


All times are GMT. The time now is 12:57 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.01010 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete