I recently upgraded to Magento ver. 1.9.3.0 from 1.9.2.3 everything seemed to go ok. Except after I clicked on the Refresh button, I got an Internal Server Error. So I fixed permissions via SSH to -
find . -type f \-exec chmod 644 {} \;
find . -type d \-exec chmod 755 {} \;
find ./media -type d \-exec chmod 775 {} \;
find ./var -type d \-exec chmod 775 {} \;
find ./media -type f \-exec chmod 664 {} \;
find ./var -type f \-exec chmod 664 {} \;
chmod 640 ./app/etc/*.xml
chmod 550 mage
The web site came back and both the front and back end seemed to be working fine. But I then noticed that search on the front end wasn't working. It says - "Your search returns no results" no matter what I search for. And in the admin side if I click -> Catalog -> Manage Products -> If I click on a product I get a page with an error that says -
Fatal error: Undefined class constant 'XML_NODE_PRODUCT_MAX_DIMENSION' in
/home/myserver/public_html/app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml
on line 111
So I saw the file mentioned was gallery.phtml so I uploaded the older file from my backup and the older file allows the page to display correctly but when I click on Images on the left the page shows but without the images. The images show on the front end fine. I even tried to re-upload the images but that didn't help either. I downloaded the 1.9.3 package and put in a good current file and I got the same original problem I had after the upgrade.
So I have 2 issues that I know of -
- I can't search on the front end. Update - Advanced Search works normal. Update - I found I had an extension installed called - Catalog Search Refinement I uninstalled it and the search is working!
- The image won't display with the old
gallery.phtmlinstalled and with the currentgallery.phtmlinstalled I get the error above. Update - I was looking at the filegallery.phtmland saw the call forMage_Catalog_Helper_Image::XML_NODE_PRODUCT_MAX_DIMENSIONI found a file named -Image.phpinapp/code/local/Mage/Catalog/HelperI think this file was being referenced instead of the one inapp/code/Mage/Catalog/HelperSo I copied the file over and now the page works and displays the images. I went a step further and renamed the file to .bak so that the correct file would be called and the page is working and the front end seems to be ok. I don't know why the file was copied over to the local folder. I paid to have my website upgraded with a new theme the last time and suspect they couldn't get something to work so they copied the modified file over to the local folder.