21
Dec
2010

Updated From MyLinks To imLinks And Now Broken Screenshot Images? ImpressCMS – A Quick Fix

I just did an update from Mylinks which is a very out of date old XOOPS module and it went relatively smoothly which I was surprised, well except one very minor thing :-)

If you are not sure how to go from Mylinks to imLinks, its pretty easy.

First grab yourself a copy if WF-Links 1.06 from http://members.chello.nl/rengelsman/mcdstore.html and upgrade to that, there is an update script with instructions in the read me. Once done then download the latest version of imLinks, you can get this from the ImpressCMS addons website. Again there is instructions on how to upgrade from WF-Links from the read me.

Now, I don’t know why but after updating the module as instructed to do through the read me and auto updater I find that in the database there are a ton of empty screen shot fields which generates a dead image on the front end for your viewing public. This is because the script detects a blank space and tries to parse it as a link to a screen shot image. To fix this just log into phpMyAdmin and run the following MySQL code

UPDATE `DATABASE_NAME`.`PREFIX_imlinks_links` SET `screenshot` = '' WHERE `PREFIX_imlinks_links`.`screenshot` = ' ';

Don’t forget to change the DATABASE_NAME to that of your own and the table PREFIX to the one you use in your database. Once done and run you will find no Screen shot column has this space and thus the problem is solved. Simples!

As I said, I don’t know why it happened for me, perhaps something in the good ole days, maybe the upgrade itself which I doubt but still possible but if it happens for anyone else, then here is your fix! :-)

Thank to McDonald for making the awesome imLinks what it is today!

Leave a Reply