After blank pages yesterday, I moved to set up two clean installs of Magento. One is local, running MAMP Pro and one is on my dedicated-virtual server at (mt). I’ve pored over documentation and the forums and everything was clean. I’ve run the latest upgrades via pear successfully. I’ve been clicking all over in the admin changing settings and then, suddenly, on both sites on my server, magento is serving up blank pages.
I have modified memory_limit to 128M in php.ini AND the htaccess file for each site. I’ve restarted the server multiple times. Why does this keep striking?
I actually ran a load tester on it for a while after the last restart and its been fine. The questions:
1. Why are the restarts required *and* why I have been working on this for 2 weeks now and only seeing blank (suppressed error) pages as of yesterday? Even after bumping up mem limit.
2. I have two domains running on the dedicated virtual, with Magento sites working. Two databases, two sets of files. When one went down today, the other did as well.
What I’m getting at is this - I’m setting up a local dev environment, and will maintain a staging URL to deploy code to and test, as well as for testing upgrades. But if that kills both installs on the server, and I’m hosting more than one client on my dedicated virtual server, I’ve got a problem if restarts are required.
No changes to the site files or config since yesterday, was working last night.
Errors logged:
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Warning: include_once(Mage/Core/functions.php) [<a href=’function.include-once’>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 44
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Warning: include_once() [<a href=’function.include’>function.include</a>]: Failed opening ‘Mage/Core/functions.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 44
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Warning: include_once(Varien/Profiler.php) [<a href=’function.include-once’>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 45
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Warning: include_once() [<a href=’function.include’>function.include</a>]: Failed opening ‘Varien/Profiler.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 45
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Fatal error: Call to undefined function checkMagicQuotes() in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 53
Blank pages are gone—for the timebeing—as I turned off Safe Mode systemwide (php.ini) and restarted the server. Will continue monitoring. Still wondering what the deal is.
Blank pages are gone—for the timebeing—as I turned off Safe Mode systemwide (php.ini) and restarted the server. Will continue monitoring. Still wondering what the deal is.
Was safe mode on? Magento will not run if safe mode is enabled.
My guess is that more likely the ‘fix’ was restarting your web server. Ultimately, this most likely means that something is misconfigured and your Apache is dieing over time. Likely, a memory related issue.
I was toggling it off in the Plesk panel for each domain, assuming that would take precedent over anything global. Like I said, the site *had* been working fine prior. Perhaps that was when it was on an exclusive IP setting and the only site on the dedicated-virtual server. Current scenario was:
Two Magento sites on the server
Shared IP pool on the server
Safe Mode ON in PHP.ini
Safe Mode UNCHECKED (off) in domain setup for each site
They’d cruise along for a few hours or more and then start throwing blank pages.
As I said, I’ve now turned Safe Mode OFF in php.ini as well. The restart is what has things working again. We’ll see how long this lasts.
Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/lib/Zend/Loader.php) is not within the allowed path(s): (/var/www/vhosts/rubiegreen.slimkiwi.net/httpdocs:/tmp) in /var/www/vhosts/rubiegreen.slimkiwi.net/httpdocs/index.php on line 37
It looks like there’s “/lib/” in include_path - please create phpinfo.php, put it in Magento’s folder and post a link.
Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/lib/Zend/Loader.php) is not within the allowed path(s): (/var/www/vhosts/rubiegreen.slimkiwi.net/httpdocs:/tmp) in /var/www/vhosts/rubiegreen.slimkiwi.net/httpdocs/index.php on line 37
Warning: require_once(/lib/Zend/Loader.php) [function.require-once]: failed to open stream: Operation not permitted in /var/www/vhosts/rubiegreen.slimkiwi.net/httpdocs/index.php on line 37
Fatal error: require_once() [function.require]: Failed opening required ‘/lib/Zend/Loader.php’ (include_path=’.:’) in /var/www/vhosts/rubiegreen.slimkiwi.net/httpdocs/index.php on line 37
I have a 6/9 deadline to launch a Magento site. Can anyone help with this?
Please note that *this* is the real issue. What you saw was the result of an attempt at a fix from another thread:
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Warning: include_once(Mage/Core/functions.php) [<a href=’function.include-once’>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 44
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Warning: include_once() [<a href=’function.include’>function.include</a>]: Failed opening ‘Mage/Core/functions.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 44
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Warning: include_once(Varien/Profiler.php) [<a href=’function.include-once’>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 45
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Warning: include_once() [<a href=’function.include’>function.include</a>]: Failed opening ‘Varien/Profiler.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 45
[Thu May 29 08:29:12 2008] [error] [client 64.25.81.82] PHP Fatal error: Call to undefined function checkMagicQuotes() in /var/www/vhosts/store.rubiegreen.com/httpdocs/app/Mage.php on line 53
I saw in that thread that there may be a PHP 5.2.5 bug problem impacting Magento. Is that a known issue?