Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
Warning: include_once(Varien/Autoload.php) [function.include-once]: failed to open stream
 
muyayo
Jr. Member
 
Total Posts:  5
Joined:  2007-11-01
 

Just check if Compilation process is enabled.
Hope this help

 
Magento Community Magento Community
Magento Community
Magento Community
 
bobmartinusa
Jr. Member
 
Total Posts:  1
Joined:  2013-03-09
 

The essence of the compilation (Compilation in terms of Magento) is that Magento integrates several PHP scripts into a single file, which should lead to the acceleration of the interpreter PHP.

Sometimes due to the faulty party modules compilation fails.
After a failed compilation site and admin panel stop working, so you can not disable the compilation through admin.

However, the compilation can be canceled manually.
To do this, open the file includes / config.php and comment out there both lines (ie, put in front of each of them a ‘#’):

# Define (’COMPILER_INCLUDE_PATH’, dirname (__FILE__). DIRECTORY_SEPARATOR. ‘Src’);
# Define (’COMPILER_COLLECT_PATH’, dirname (__FILE__). DIRECTORY_SEPARATOR. ‘Stat’);

found this in the russian forums and it solved my problem

 
Magento Community Magento Community
Magento Community
Magento Community
 
drknickel
Member
 
Total Posts:  32
Joined:  2010-09-03
 
Galaxy Stores - 06 March 2013 01:55 PM

We have still not rectified this issue, but having similar issues across multiple domains on same server (some of which not Magento) suggests max user connections, based on the error being intermittent.

Have you solved your problem? I am getting almost the same error :(

[Sun Mar 10 22:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 86
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 83
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 86
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 83
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 86
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Object.php on line 101
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Object.php on line 117
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Object.php on line 117
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /var/www/vhosts/dev/docs/lib/Varien/Object.php on line 117
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Warning:  array_intersect(): Argument #1 is not an array in /var/www/vhosts/dev/docs/lib/Varien/Object.php on line 117
[Sun Mar 10 22:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/Config/Options.php on line 148
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/Config/Options.php on line 67
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/Config/Options.php on line 68
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/Config/Options.php on line 69
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/Config/Options.php on line 70
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/Config/Options.php on line 71
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/Config/Options.php on line 72
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 83
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 86
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/App.php on line 1352
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/App.php on line 823
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 83
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 86
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 83
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/lib/Varien/Autoload.php on line 86
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Notice:  Trying to get property of non-object in /var/www/vhosts/dev/docs/app/code/core/Mage/Core/Model/Config.php on line 226
[Sun Mar 10 22
:50:49 2013] [error] [client 157.56.93.204] PHP Fatal error:  Call to a member function getDir() on a non-object in /var/www/vhosts/dev/docs/app/Mage.php on line 328

Anybody has an idea?

Greets

 
Magento Community Magento Community
Magento Community
Magento Community
 
drknickel
Member
 
Total Posts:  32
Joined:  2010-09-03
 

Hey Galaxy Stores,

thank you so much for your reply!

Yes, the error is not on every page load. Only from time to time.

chaning open base dir to on results in my website not working at all.

I changed php memory to 768mb, perhaps that helps a bit.

Have you found out anything else?

Greets smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
drknickel
Member
 
Total Posts:  32
Joined:  2010-09-03
 

Hey Galaxy Stores,

upping the php memory limit worked for 1 day, now the errors are back, too :(

I really dont know what to do, this is crazy. Have you found out anything else?

Thanks for your help,

greets smile

PS: The tmp dir had two directorys (lost+found and mc-root) which were not accassible by the user www-data. i have chmodded the tmp dir -R 777. Perhaps this is better?

 
Magento Community Magento Community
Magento Community
Magento Community
 
drknickel
Member
 
Total Posts:  32
Joined:  2010-09-03
 

Just for your info:

I have not updated anything on the server, no plex or anything.
Do you run cron.php of magento. Perhaps some cronjobs starts the problems, because exactly 1 day my site was error free. Then they started again :(

 
Magento Community Magento Community
Magento Community
Magento Community
 
drknickel
Member
 
Total Posts:  32
Joined:  2010-09-03
 

Hello galaxy stores,

disabled crons, still no luck.
I still dont know whats up with this error. I cant belive we two are the only ones with the problem.

I use 768mb memory for php.

I will look into the problem with a server op tonight, i will keep you updated.

Greets smile

PS: i have found someone with the same problem here:
http://stackoverflow.com/questions/10222939/any-page-maybe-get-the-error-include-admin-page/15486665

 
Magento Community Magento Community
Magento Community
Magento Community
 
drknickel
Member
 
Total Posts:  32
Joined:  2010-09-03
 

Hello,

disableling the cron jobs may work, but does not fix the problem.

We will try to use nginx now.

I activated compilation, product flat and category flat data.

The problem is the load of the apache. It sometimes uses 100% of the Cpu.

I will keep you updated.

Greets smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
drknickel
Member
 
Total Posts:  32
Joined:  2010-09-03
 

Hello Galaxy Stores,

we now have enabled Varnish cache, disabled cronjobs.

It all has nothing to do with our problem.

What i have found out:

We upgraded the shop from 1.4.1.1 to 1.7.0.2. The error was present in 1.4.1.1, too. So it has nothing to do with the version of magento.

Perhaps something like database?

Do you use any extension? how many products has your store?

This is my store: slam-shop.de

perhaps we can find the error together.

Greets smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
drknickel
Member
 
Total Posts:  32
Joined:  2010-09-03
 

Great, we are trying nginx at the moment smile

Will report back smile

Greets

 
Magento Community Magento Community
Magento Community
Magento Community
 
drknickel
Member
 
Total Posts:  32
Joined:  2010-09-03
 

Hello Galaxy Stores,

i can confirm that we have finally fixed the error.

Here is what we did:

- Optimised server
- Tuned Mysql
- Used Nginx
- Used Varnish Cache

Now the error is away and the store is lightning fast.

Greets

 
Magento Community Magento Community
Magento Community
Magento Community
 
makeitdigital
Jr. Member
 
Avatar
Total Posts:  10
Joined:  2010-10-06
 

Hi guys,

I ran into this error this morning and I noticed a lot of people hitting it but without a definitive cause and solution being identified.

I think I got to the bottom of it though. I put a full walk through on my blog but after searching hard to figure this out I figured I would post up the solution here too.

The problem is a PHP bug affecting version up to 5.3.3 (https://bugs.php.net/bug.php?id=50027). The bug relates to a garbage collection issue which screws aout with being able to access properties on the config options object. This is why some people see a difference after increasing their memory limit - it impacts when garbage collection occurs.

The only robust fix is therefore to upgrade PHP to a version greater than 5.3.3

I hope that helps

Graham

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2