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

Magento

eCommerce Software for Online Growth

Magento Forum

   
Fatal error message after upgrading to 1.0.19700 !!!! 
 
klamy
Jr. Member
 
Total Posts:  16
Joined:  2008-02-20
 

Hi all,

I used the magento connect manager to download the upgrade. Everything seemed to work fine, but when I hit the Refresh button I got the following error:

Fatal error: Using $this when not in object context in /home/titusint/public_html/magento/downloader/Maged/Controller.php on line 149

I can access the site and admin pages, but when I go back to manage extensions I see this same error message. Any ideas on how to fix???

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
klamy
Jr. Member
 
Total Posts:  16
Joined:  2008-02-20
 

Ok so I downloaded the version 1.0.19700 zip and compared the two controller.php files and the one line where I was getting the error was different, so I uploaded the new controller.php and this is the error I am now getting:

Fatal error: Uncaught exception ‘Exception’ with message ‘Warning: Maged_View::include(/home/titusint/public_html/magento/downloader/template/exception.phtml) [<a href=’function.Maged-View-include’>function.Maged-View-include</a>]: failed to open stream: No such file or directory in /home/titusint/public_html/magento/downloader/Maged/View.php on line 53’ in /home/titusint/public_html/magento/app/code/core/Mage/Core/functions.php:244 Stack trace: #0 /home/titusint/public_html/magento/downloader/Maged/View.php(53): mageCoreErrorHandler(2, ‘Maged_View::inc...’, ‘/home/titusint/...’, 53, Array) #1 /home/titusint/public_html/magento/downloader/Maged/View.php(53): Maged_View::template() #2 /home/titusint/public_html/magento/downloader/Maged/Controller.php(149): Maged_View->template(’exception.phtml’) #3 /home/titusint/public_html/magento/downloader/index.php(29): Maged_Controller::run() #4 {main} thrown in /home/titusint/public_html/magento/app/code/core/Mage/Core/functions.php on line 244

Anyone else have this same error?

 
Magento Community Magento Community
Magento Community
Magento Community
 
klamy
Jr. Member
 
Total Posts:  16
Joined:  2008-02-20
 

Ok..found out that exception.phtml was not in the downloader/template folder so i uploaded. New error is:

Fatal error: Uncaught exception ‘Mage_Core_Model_Store_Exception’ in /home/titusint/public_html/magento/app/code/core/Mage/Core/Model/App.php:1056 Stack trace: #0 /home/titusint/public_html/magento/app/code/core/Mage/Core/Model/App.php(545): Mage_Core_Model_App->throwStoreException() #1 /home/titusint/public_html/magento/app/Mage.php(192): Mage_Core_Model_App->getStore(NULL) #2 /home/titusint/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract.php(67): Mage::getStoreConfig(’web/cookie/cook...’) #3 /home/titusint/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php(42): Mage_Core_Model_Session_Abstract->getCookieLifetime() #4 /home/titusint/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php(101): Mage_Core_Model_Session_Abstract_Varien->start(NULL) #5 /home/titusint/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract.php(36): Mage_Core_Model_Session_Abstract_Varien->init(’admin’, NULL) #6 /home/titusint/public_html/magento/app/code/core/Mage/ in /home/titusint/public_html/magento/app/code/core/Mage/Core/Model/App.php on line 1056

Hopefully these posts help someone....

 
Magento Community Magento Community
Magento Community
Magento Community
 
klamy
Jr. Member
 
Total Posts:  16
Joined:  2008-02-20
 

I deleted var/cache and var/sessions but still get the same error...anyone know how to fix?

 
Magento Community Magento Community
Magento Community
Magento Community
 
pauljg1
Sr. Member
 
Avatar
Total Posts:  153
Joined:  2008-02-22
 

Hi

i did have a simliar error. See if you have anything in web / app / code / core / Mage / Adminhtml / Model / System if not copy same folder from the zip over to that location.

 
Magento Community Magento Community
Magento Community
Magento Community
 
klamy
Jr. Member
 
Total Posts:  16
Joined:  2008-02-20
 

Thanks for the reply. I did have stuff in the folder you sugessted, but I copied the folder from zip just to try it out and it didn’t work. I am still getting the same error.....

 
Magento Community Magento Community
Magento Community
Magento Community
 
pauljg1
Sr. Member
 
Avatar
Total Posts:  153
Joined:  2008-02-22
 

Have you made a backup of your database? If so i would phpmyadmin and import your old database back and start again.

 
Magento Community Magento Community
Magento Community
Magento Community
 
pauljg1
Sr. Member
 
Avatar
Total Posts:  153
Joined:  2008-02-22
 

Have you made a backup of your database? If so i would phpmyadmin and import your old database back this should bring you back to where you started.
.

 
Magento Community Magento Community
Magento Community
Magento Community
 
klamy
Jr. Member
 
Total Posts:  16
Joined:  2008-02-20
 

no I didn’t make a backup...in the upgrade wiki it only mentioned making a backup when doing the manual upgrade, not with magento connect. I guess it would have been smart for me to make the backup anyways.

My store and products are not effected, everything is how it was, its just when I go to manage extensions that I get the error. I guess its looking for a store id number and its null, so I don’t know if maybe I could add that to a db field manually?

 
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
53195 users|706 users currently online|107231 forum posts