Re: “what was the original problem?” this has been happening intermittently this week. I’d been developing against the server for a few weeks with nary an issue. It’s my dedicated virtual server at Media Temple. It was the only site on the server at the time, I’ve added a few more this week. There are now two magento installs, on separate domains, with their own databases on the server.
When one goes down, they both go down. Out of the blue. The errors are the include failures, on both domains.
Safe Mode is now Off, and I’ve already increased memory_limit to 128 in php.ini and the htaccess for each.
Down again. Just sitting here uploading product images and it quit. Earlier I had set my default php.ini values to those specific in htaccess and commented out all those set by php_value. I don’t know what else/where it would be conflicting (if that’s the problem).
I seem to have similar issues - keep getting these errors when I try to install:
Warning: include_once(Mage/Core/functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/insta/public_html/dev/magento/app/Mage.php on line 44
Warning: include_once() [function.include]: Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/insta/php') in /home/insta/public_html/dev/magento/app/Mage.php on line 44
Warning: include_once(Varien/Profiler.php) [function.include-once]: failed to open stream: No such file or directory in /home/insta/public_html/dev/magento/app/Mage.php on line 45
Warning: include_once() [function.include]: Failed opening 'Varien/Profiler.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/insta/php') in /home/insta/public_html/dev/magento/app/Mage.php on line 45
Fatal error: Class 'Varien_Profiler' not found in /home/insta/public_html/dev/magento/app/Mage.php on line 47
I’m on PHP 5.2.6 - so it can’t be that bug that was supposedly fixed in this version, right?
This seems to have fixed things for me. I’ve been monitoring for two days now with no downtime, on the (dv) 3.5 at Media Temple:
Mark,
We’ve upgraded your PHP to the latest 5.2.6 which included the mcrypt libraries
Media Temple also followed up with:
All of the new (dv) 3.5 provisions come with PHP 5.2.6 pre-installed, we chose to offer this upgrade to the existing (dv) 3.5 customers when they request it, this will not put them out of UOP
I downgraded to PHP 5.2.4 - as I noticed the same include_path errors popping up in Moodle - and it fixed my problems completely. I tried 5.2.5 first but both 5.2.6 and 5.2.5 gave me the errors. Lame to have to downgrade to fix a problem like that, but hey at this point whatever works!
I’m having the same issue, running a mediatemple (dv) 3.5 box with PHP 5.2.5. Unfortunately, Mediatemple refuses to upgrade to 5.2.6 - anyone have recommendations on how to work around this or how to install it myself? We’re on the verge of launching a new site and just today I started getting these errors.