05
Jan
2009

Magento 1.2 with DL Content

A little late on the news with this one, but I just noticed that Magento 1.2 had been released and finally we now have downloadable products!

http://www.magentocommerce.com/blog/comments/magento-version-120-is-now-available/

I did however have some issues which required resolving in order to use the new downloadable products and various options in the system config settings when upgrading from 1.1.8.

If you get an error looking like the following then just complete the instructions below:

Warning: include(Mage/Adminhtml/Model/System/Config/Backend/Catalog/Search/Type.php) [function.include]: failed to open stream: No such file or directory in /htdocs/app/code/core/Mage/Core/functions.php on line 73

For some reason the upgrade in Magento Connect doesn’t create some directories and the new files required hence the ” failed to open stream: No such file or directory” message, because it simply can’t find what it’s looking for.

Simply download the full package from Magento for 1.2 then upload some folders, I found by uploading the following two (the ones missing in the above message) resulted in more errors:

app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Catalog/

app/code/core/Mage/Adminhtml/Model/System/Config/Source/Catalog/

So…….. To save me more headaches I just grabbed all the folders in the root for Magento and uploaded them, when my FTP asked me to confirm overwriting I choose “No To all”, it then proceeded to upload the files that the upgrade for some reason missed. (Just make sure you don’t overwrite your settings and such, choosing no to overwriting will ensure you only upload files not currently on your server).

You might need to set the permissions recursively again! (In the CLI: chmod -R 777 htdocs (Or wherever the your root magento install is))

{3 Responses to “Magento 1.2 with DL Content”}

  1. I hit more head aches later with this and ended up just re-uploading and overwriting all the folders and files except for those in the root, i.e. .htaccess, index.php, etc.

    I guess more files had been changed and Magento Connect for some reason just didn’t do an update of just about anything.

    Anyway…. This seems to have fixed it but I’ve not fully tested the system so there could be other issues arising from this new version :-(

    I guess I’ll have to put that project on the side burner for a couple of weeks whilst I complete other things.

  2. I share the pain just updated and got the same error lucky this is just a test site so just messing about so prob just start again.

    Ben Goulding-Huckle
  3. Well it wasn’t a live site as such, more like a work in progress for a project I was doing with a view to turning it live.

    I’ve not had any more issues since I just uploaded and overwrote all the folders and files with the new ones for 1.2, but if you do then just make sure you don’t overwrite the settings files. (I’ve not had the time to fully test it all though yet)

    It would seem the Magento Connect update doesn’t create the new stuff or overwrite any of the old files.

    I’m relatively new to the Magento Project however they should have somewhere a changelog, all it would require is for someone to look there and compile a list of changed and new files and then upload them but by the time you’d done that, you might as well have just overwritten your whole install as I did in the end (except settings files).

Leave a Reply