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

[not] Hacked
 
garyhe
Member
 
Total Posts:  33
Joined:  2008-03-31
 

I am using Magento Containers at the URL hotnessfactory.com. Someone was successfully able to somehow kill off the “small image” attribute in Magento, thereby bringing down all individual image pages for a few hours. Currently looking for a fix, also you should plug the hole immediately. Feel free to e-mail me directly-- for a phone number or to discuss this further.

 
Magento Community Magento Community
Magento Community
Magento Community
 
garyhe
Member
 
Total Posts:  33
Joined:  2008-03-31
 

More details… it seems that the variable still exists, but it is not coming up as a selectable option when editing a product’s images (Only Base Image and Thumbnail remain) as such I am getting errors that say that small_image can not be found. Help? Please e-mail .

 
Magento Community Magento Community
Magento Community
Magento Community
 
garyhe
Member
 
Total Posts:  33
Joined:  2008-03-31
 

Invalid attribute requested: small_image
Trace:
#0 /home/hotness/public_html/store/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(330): Mage::exception(’Mage_Eav’, ‘Invalid attribu...’)
#1 /home/hotness/public_html/store/app/code/core/Mage/Catalog/Block/Product/List/Related.php(38): Mage_Eav_Model_Entity_Collection_Abstract->addAttributeToSelect(’small_image’)
#2 /home/hotness/public_html/store/app/code/core/Mage/Catalog/Block/Product/List/Related.php(54): Mage_Catalog_Block_Product_List_Related->_prepareData()
#3 /home/hotness/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(553): Mage_Catalog_Block_Product_List_Related->_beforeToHtml()
#4 /home/hotness/public_html/store/app/code/core/Mage/Core/Block/Text/List.php(37): Mage_Core_Block_Abstract->toHtml()
#5 /home/hotness/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Core_Block_Text_List->_toHtml()
#6 /home/hotness/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(431): Mage_Core_Block_Abstract->toHtml()
#7 /home/hotness/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(408): Mage_Core_Block_Abstract->_getChildHtml(’right’, true)
#8 /home/hotness/public_html/store/app/design/frontend/default/default/template/page/1column.phtml(48): Mage_Core_Block_Abstract->getChildHtml(’right’)
#9 /home/hotness/public_html/store/app/code/core/Mage/Core/Block/Template.php(131): include(’/home/hotness/p...’)
#10 /home/hotness/public_html/store/app/code/core/Mage/Core/Block/Template.php(163): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#11 /home/hotness/public_html/store/app/code/core/Mage/Core/Block/Template.php(180): Mage_Core_Block_Template->renderView()
#12 /home/hotness/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Core_Block_Template->_toHtml()
#13 /home/hotness/public_html/store/app/code/core/Mage/Core/Model/Layout.php(505): Mage_Core_Block_Abstract->toHtml()
#14 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Action.php(319): Mage_Core_Model_Layout->getOutput()
#15 /home/hotness/public_html/store/app/code/core/Mage/Catalog/controllers/ProductController.php(116): Mage_Core_Controller_Varien_Action->renderLayout()
#16 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Action.php(342): Mage_Catalog_ProductController->viewAction()
#17 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(159): Mage_Core_Controller_Varien_Action->dispatch(’view’)
#18 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Front.php(146): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 /home/hotness/public_html/store/app/Mage.php(427): Mage_Core_Controller_Varien_Front->dispatch()
#20 /home/hotness/public_html/store/index.php(40): Mage::run()
#21 {main}

I think traffic or some sort of search engine spidering is making magento collapse.

 
Magento Community Magento Community
Magento Community
Magento Community
 
garyhe
Member
 
Total Posts:  33
Joined:  2008-03-31
 

Refreshing the cache does not seem to be working:

/home/hotness/public_html/store/app/etc/use_cache.ser is not writable, unable to save cache settings
Trace:
#0 /home/hotness/public_html/store/app/code/core/Mage/Core/Model/App.php(948): Mage::throwException(’/home/hotness/p...’)
#1 /home/hotness/public_html/store/app/code/core/Mage/Adminhtml/controllers/System/CacheController.php(62): Mage_Core_Model_App->saveUseCache(Array)
#2 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Action.php(342): Mage_Adminhtml_System_CacheController->saveAction()
#3 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(148): Mage_Core_Controller_Varien_Action->dispatch(’save’)
#4 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Front.php(146): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http))
#5 /home/hotness/public_html/store/app/Mage.php(427): Mage_Core_Controller_Varien_Front->dispatch()
#6 /home/hotness/public_html/store/index.php(40): Mage::run()
#7 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
proteinshake
Member
 
Total Posts:  42
Joined:  2008-05-12
 
garyhe - 01 July 2008 07:43 PM

Invalid attribute requested: small_image



I think traffic or some sort of search engine spidering is making magento collapse.

I am having similar issues i have a thread posted under yours… I launched my google adwords and got a similar error. The first time I lauched my google adwords it crashed too.

 
Magento Community Magento Community
Magento Community
Magento Community
 
proteinshake
Member
 
Total Posts:  42
Joined:  2008-05-12
 
garyhe - 01 July 2008 07:47 PM

Refreshing the cache does not seem to be working:

/home/hotness/public_html/store/app/etc/use_cache.ser is not writable, unable to save cache settings
Trace:
#0 /home/hotness/public_html/store/app/code/core/Mage/Core/Model/App.php(948): Mage::throwException(’/home/hotness/p...’)
#1 /home/hotness/public_html/store/app/code/core/Mage/Adminhtml/controllers/System/CacheController.php(62): Mage_Core_Model_App->saveUseCache(Array)
#2 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Action.php(342): Mage_Adminhtml_System_CacheController->saveAction()
#3 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(148): Mage_Core_Controller_Varien_Action->dispatch(’save’)
#4 /home/hotness/public_html/store/app/code/core/Mage/Core/Controller/Varien/Front.php(146): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http))
#5 /home/hotness/public_html/store/app/Mage.php(427): Mage_Core_Controller_Varien_Front->dispatch()
#6 /home/hotness/public_html/store/index.php(40): Mage::run()
#7 {main}

How did you refresh your cache? I can’t even log into admin without an error.

 
Magento Community Magento Community
Magento Community
Magento Community
 
garyhe
Member
 
Total Posts:  33
Joined:  2008-03-31
 

Proteinshake,

I cannot yet change my cache settings (as per my last post) but I manually did it by deleting files out of var/cache

That seemed to resolve the issue, for now…

 
Magento Community Magento Community
Magento Community
Magento Community
 
garyhe
Member
 
Total Posts:  33
Joined:  2008-03-31
 

Basically, cache management messed everything up. Can we get a word on this from one of the forum admins/magento people? This is a huge problem. I am still unable to turn off caching because my use_cache.ser file is unwritable no matter what I do to the permissions.

GH

 
Magento Community Magento Community
Magento Community
Magento Community
 
proteinshake
Member
 
Total Posts:  42
Joined:  2008-05-12
 
garyhe - 01 July 2008 07:54 PM

Proteinshake,

I cannot yet change my cache settings (as per my last post) but I manually did it by deleting files out of var/cache

That seemed to resolve the issue, for now…

Ok thanks. That worked for me as well. I just went ahead and disabled cache so hopefully it won’t happen again.

 
Magento Community Magento Community
Magento Community
Magento Community
 
garyhe
Member
 
Total Posts:  33
Joined:  2008-03-31
 

haha. I CAN"T DISABLE CACHE. SOMEONE HELP.

 
Magento Community Magento Community
Magento Community
Magento Community
 
proteinshake
Member
 
Total Posts:  42
Joined:  2008-05-12
 
garyhe - 01 July 2008 08:07 PM

haha. I CAN"T DISABLE CACHE. SOMEONE HELP.

Sucks man, I’m kind of a novice, but make sure all of the cache is deleted before even trying to load the site.

Can we get some developers to address this issue please?

 
Magento Community Magento Community
Magento Community
Magento Community
 
garyhe
Member
 
Total Posts:  33
Joined:  2008-03-31
 

Thanks dawg. I figured it out. I just deleted the damn file and then tried to make Magento make a new one, which thankfully it did.

Thankfully, I have my stuff working again, but someone should address the caching issue for those out there who don’t do digging around on the back end to figure stuff out. Besides, I would love to be able to actually use the cache and speed up the loading of my site without being fearful that it will somehow crash it.

Thanks Magento Team and community, because sometimes what you need is a cardboard dog…

GH

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top