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

Magento

eCommerce Software for Online Growth

Magento Forum

   
Fresh installed magento, new product php error
 
omercade
Jr. Member
 
Total Posts:  2
Joined:  2008-05-07
 

Hello, in a fresh installed magento,
i try to setup a new product and in the second step (http://xxxxx.com/index.php/admin/catalog_product/new/set/4/type/simple/) get a blank screen with a text qich says “Images” and a square (a table with a border)
in the apache log i find:

[Wed May 07 14:20:07 2008] [error] [client 77.224.16.114] PHP Fatal error:  Call to a member function getIsAnonymous() on a non-object in /var/www/vhosts/xxx.com/subdomains/yyy/httpdocs/app/code/core/Mage/Core/Block/Abstract.php on line 305refererhttp://lamode.omitsis.com/index.php/admin/catalog_product/new/

What is happening?

thank you very much!

 
Magento Community Magento Community
Magento Community
Magento Community
 
confero24.com
Jr. Member
 
Total Posts:  3
Joined:  2008-05-25
 

I’m facing this exact same problem.  Anybody found out why the error occurs and solution?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
omercade
Jr. Member
 
Total Posts:  2
Joined:  2008-05-07
 

I did find a solution,
The problem was a bad installation of magento. I guess that i didn’t have the correct configuration od php.ini or mcrypt as i upgraded my php 5.1 to install magentoo.

To fix it, i installed a fresh new ubuntu , installed apache and mcrypt and all the required stuff via apt-get install and all runned smothly.

hope it helps, focus on system installation, not in magento.

 
Magento Community Magento Community
Magento Community
Magento Community
 
confero24.com
Jr. Member
 
Total Posts:  3
Joined:  2008-05-25
 

I’m facing the same issue with “New Product” (previously it was with Edit Product).

Gonna try installing mycrypt (I got it on my dev machine, but not on production machine)

Thanks omercade

 
Magento Community Magento Community
Magento Community
Magento Community
 
confero24.com
Jr. Member
 
Total Posts:  3
Joined:  2008-05-25
 

Bingo - that fixed it!

Just to note… I installed from Magento installer on my laptop, which serves as a development copy.  On my production server, I just copied the code (using sftp) and installed the database, and set the appropriate db permissions in app/etc/local.xml.  All that worked just fine, but php5-gd2 and php5-mcrypt packages weren’t available on my prod server.  And Magento didn’t mention those in it’s errors.

Thanks
http://www.confero24.com

 
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
53218 users|809 users currently online|107270 forum posts