I get random blank pages in the admin every 20 clicks or so...
here are the errors I get if I tail the error log,
[Tue Jul 06 10:34:10 2010] [error] [client 70.53.84.159] PHP Warning: include_once(quotes_stripper.inc.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/bigblock.ca/subdomains/modx/httpdocs/manager/index.php on line 92, referer: http://modx.bigblock.ca/manager/index.php?a=1&f=tree
[Tue Jul 06 10:34:10 2010] [error] [client 70.53.84.159] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'quotes_stripper.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/bigblock.ca/subdomains/modx/httpdocs/manager/index.php on line 92, referer: http://modx.bigblock.ca/manager/index.php?a=1&f=tree
[Tue Jul 06 10:34:10 2010] [error] [client 70.53.84.159] PHP Warning: include_once(config.inc.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/bigblock.ca/subdomains/modx/httpdocs/manager/index.php on line 130, referer: http://modx.bigblock.ca/manager/index.php?a=1&f=tree
[Tue Jul 06 10:34:10 2010] [error] [client 70.53.84.159] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'config.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/bigblock.ca/subdomains/modx/httpdocs/manager/index.php on line 130, referer: http://modx.bigblock.ca/manager/index.php?a=1&f=tree
[Tue Jul 06 10:34:10 2010] [error] [client 70.53.84.159] PHP Warning: include_once(document.parser.class.inc.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/bigblock.ca/subdomains/modx/httpdocs/manager/index.php on line 133, referer: http://modx.bigblock.ca/manager/index.php?a=1&f=tree
[Tue Jul 06 10:34:10 2010] [error] [client 70.53.84.159] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'document.parser.class.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/bigblock.ca/subdomains/modx/httpdocs/manager/index.php on line 133, referer: http://modx.bigblock.ca/manager/index.php?a=1&f=tree
[Tue Jul 06 10:34:10 2010] [error] [client 70.53.84.159] PHP Fatal error: Class 'DocumentParser' not found in /var/www/vhosts/bigblock.ca/subdomains/modx/httpdocs/manager/index.php on line 134, referer: http://modx.bigblock.ca/manager/index.php?a=1&f=tree
- this is a fresh default install
How do I fix this?
-sean
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525
If it were session related the user should be getting logged out continually
tried it anyway, nope did not work.
I sent in a bug report...
on the bright side it appears to get worse the longer you are logged in....
-sean
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525
-
MODX Staff
- 10,725 Posts
You need to provide environment information. Random problems like this are generally a result of your hosting environment and nothing at all to do with MODx.
sure - specifically what information?
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525
did a fresh news install of this and still getting the same problem ...
any help here?
-sean
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525
-
☆ A M B ☆
- 24,524 Posts
What version of PHP? What version of MySQL (client and server)? What operating platform (windows, linux) what web server (IIS, Apache)
Got it solved [I think - at least hasn’t happened again today]
I had to specify the open_basedir & include_path in the virtualhost config, for seom odd reason the include path was starting with a .:: instead of .:
seems to be working now.
-sean
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525
hi, but you can detail how solved the problem?
Quote from: inscriptible at Jul 19, 2010, 07:05 PM
hi, but you can detail how solved the problem?
Basically some php/apache configurations don’t seem to be able to ’catch’ the include path on every request - not sure why or how, if this is the case [mediatemple DV] then you need to specify the include path and open base dir.
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/xxx.com/httpdocs:/tmp:/var/www/vhosts/xxx.com/httpdocs:/var/www/vhosts/xxx.com/httpdocs"
php_admin_value include_path ".:/var/www/vhosts/xxx.com/httpdocs/app/code/local:/var/www/vhosts/xxx.com/httpdocs/app/code/community:/var/www/vhosts/xxx.com/httpdocs/app/code/core:/var/www/vhosts/xxx.com/httpdocs/lib:"
</IfModule>
I’m pretty sure you can only specify these in the apache config - won’t be able to use an .htaccess - check the php docs for complete info.
-sean
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525