Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Fatal error: Class ‘Varien_Profiler’ not found in …
 
shopi
Member
 
Total Posts:  38
Joined:  2008-02-16
 

Warning: include_once(Varien/Profiler.php) [function.include-once]: failed to open stream: No such file or directory in /xxx/shop/magento/app/Mage.php on line 46

Warning: include_once() [function.include]: Failed opening ‘Varien/Profiler.php’ for inclusion (include_path=’/xxx/shop/magento/app/code/local:/xxx/shop/magento/app/code/community:/xxx/shop/magento/app/code/core:/xxx/shop/magento/lib:.:/usr/local/lib/php’) in /xxx/shop/magento/app/Mage.php on line 46

Fatal error: Class ‘Varien_Profiler’ not found in /xxx/shop/magento/app/code/core/Mage/Core/functions.php on line 41

just replaced my URL with xxx

i used version 0.8 and 0.9 without any problems
i have php 5

whats the problem this time

 
Magento Community Magento Community
Magento Community
Magento Community
 
Airforce111
Sr. Member
 
Avatar
Total Posts:  100
Joined:  2008-01-31
 

There are missing files on your install. Either check if all the files exist on the server or reupload/ssh unpack.

 
Magento Community Magento Community
Magento Community
Magento Community
 
winans_fred
Sr. Member
 
Avatar
Total Posts:  79
Joined:  2007-09-06
Easthampton, MA
 

It’s possible your download ended prematurely due to high traffic.  I had to download twice because the first time I only got about 1.3mb of the file.  Good luck!

 
Magento Community Magento Community
Magento Community
Magento Community
 
alexpeterson
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-04-14
London
 

I did everthing from SSH - downloaded successfully and unpacked. But getting the same errors as shopi above -

[Thu Apr 17 16:47:46 2008] [error] [client 84.9.33.107] PHP Warning: include(Mage/Core/Model/App.php) [<a href=’function.include’>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/lookwellandtremble.co.uk/httpdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[Thu Apr 17 16:47:46 2008] [error] [client 84.9.33.107] PHP Warning: include(Mage/Core/Model/App.php) [<a href=’function.include’>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/lookwellandtremble.co.uk/httpdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[Thu Apr 17 16:47:46 2008] [error] [client 84.9.33.107] PHP Warning: include() [<a href=’function.include’>function.include</a>]: Failed opening ‘Mage/Core/Model/App.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/lookwellandtremble.co.uk/httpdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[Thu Apr 17 16:47:46 2008] [error] [client 84.9.33.107] PHP Fatal error: Class ‘Mage_Core_Model_App’ not found in /var/www/vhosts/lookwellandtremble.co.uk/httpdocs/magento/app/Mage.php on line 396
[Thu Apr 17 18:07:23 2008] [error] [client 84.9.33.107] PHP Warning: include(Mage/Core/Model/App.php) [<a href=’function.include’>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/lookwellandtremble.co.uk/httpdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[Thu Apr 17 18:07:23 2008] [error] [client 84.9.33.107] PHP Warning: include(Mage/Core/Model/App.php) [<a href=’function.include’>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/lookwellandtremble.co.uk/httpdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[Thu Apr 17 18:07:23 2008] [error] [client 84.9.33.107] PHP Warning: include() [<a href=’function.include’>function.include</a>]: Failed opening ‘Mage/Core/Model/App.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/lookwellandtremble.co.uk/httpdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[Thu Apr 17 18:07:23 2008] [error] [client 84.9.33.107] PHP Fatal error: Class ‘Mage_Core_Model_App’ not found in /var/www/vhosts/lookwellandtremble.co.uk/httpdocs/magento/app/Mage.php on line 396

It looks like the files mentioned ARE there but in different locations to those mentioned in mage.php

Looks like the install files are referring to incorrect locations. What to do?!

I’m on a mediatemple DV 3.5 with PHP 5.2 and MySQL 5

 Signature 

(Lois walks in on Stewie torturing a bully)
Stewie: We’re playing house…
Lois: But that kid is all tied up!
Stewie: Roman Polanski’s house.

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  643
Joined:  2008-03-21
Aviano ~ Italy
 

Maybe you have php 5.2.5 I have the same problem

 Signature 

Non criticare cio’ che non puoi capire.
Bob Dylan

My Live Magento Shops
http://www.ecobaby.it
http://www.pesicampione.it

 
Magento Community Magento Community
Magento Community
Magento Community
 
alexpeterson
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-04-14
London
 

Yes, i have PHP 5.2.5. (Full server feature spec - http://kb.mediatemple.net/article.php?id=810)

I’ve read it could be something to do with the PHP include path or something?

The installation (mage.php?) is simply not finding the relevant files correctly.
Will be looking into this further. In the meantime, anyone else got any ideas?

 Signature 

(Lois walks in on Stewie torturing a bully)
Stewie: We’re playing house…
Lois: But that kid is all tied up!
Stewie: Roman Polanski’s house.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Winddancer
Jr. Member
 
Total Posts:  6
Joined:  2008-04-18
Detmold, Germany
 

same problem here.

also on php 5.2.5 with mysql 5.

Install is working its’ way through, I can access the frontend, but as soon as I try to get on the backend I get the same error. The frontend also quits services then…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Wiseguy Digital
Member
 
Avatar
Total Posts:  55
Joined:  2007-09-17
Bristol, UK
 

I have also been having this for ages (the server is running PHP 5.2.5). I’m not on Media Temple and my hosts have told me that everyone seems to be getting the problem. I sent them this thread to see if they could fix it but still no joy: http://www.magentocommerce.com/boards/viewthread/1848/

I think the problem is that Magento tries to use set_ini(’include_path’) to override the server’s normal include path, but sometimes it doesn’t work. My site works 70% of the time and then has ‘funny turns’!

I think it could well be this problem: http://bugs.php.net/bug.php?id=43677

If you read to the end of the bug entry it could be good news:

[14 Feb 12:06pm UTC] it at inmolinkmls dot com

We have compiled the latest CVS snapshot
(http://snaps.php.net/php5.2-latest.tar.gz) on Linux kernel
2.6.9-42.plus.c4 (Centos 4) as apache2 module with no luck. We have used
just the most basic configuration (--with-apxs2=/wwwroot/bin/apxs).

We have been able to reproduce the bug with 2 virtualhost, one with
php_value and another one with php_admin_value. As soon as we load the
one with php_admin_value, the include_path of the first one starts to
randomly fail.

We have a serious problem with this bug, since we are developing an
application with Zend Framework (Did you realize how seriously this bug
affects Zend Framework MVC (Zend/Loader.php / loadFile (#125))? It just
doesn’t work at all because of the bug).

Hope to see this bug solved soon.

[21 Feb 12:56pm UTC] tallyce at gmail dot com

See also bug
http://bugs.php.net/bug.php?id=44178
which I now see describes the same behaviour.

[26 Feb 12:22pm UTC] manuel at mausz dot at

Yes. The bug only occurs if you’re mixing php_admin_value and php_value
with the same ini-setting.

[7 Mar 8:21pm UTC] oliver dot graetz at gmx dot de

In order to avoid getting my report marked as a duplicate of this one:

I have experienced a similar problem with PHP 5.2.5. I am using
set_include_path() but the PHP ignores the call and uses the value
defined in the main php.ini file.

[13 Mar 4:01pm UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

Thank you for the report, and for helping us make PHP better.

 Signature 

WISEGUYDIGITAL
Digital design, development and consultancy. From video, Flash virals, to e-commerce and bespoke development.
http://www.wiseguydigital.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
ralphie
Member
 
Total Posts:  47
Joined:  2007-12-20
London
 

yap. same boat here, php 5.2.5 as well.. not sure if the problem is really caused by this bug though, i took out the php_value include_path out of my virtual hosts file.. and still no luck (oh and now php_admin_value in there anyway). if i dump the include path out of Mage.php i get the pathes right it seems.. (well at least this far)..

anybody got further yet?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ralphie
Member
 
Total Posts:  47
Joined:  2007-12-20
London
 

okay. my problem is solved. in my case an autoloader was executed before magento. if i call the magento autoloader manually (at the very beginning of the index.php file) all works fine.

require_once '/{absolute_path_to_magento}/magento/lib/Zend/Loader.php';
Zend_Loader::registerAutoload ();

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52171 users|974 users currently online|105394 forum posts