Upgrade breaks image URL getimagesize

heidi1984 / 2013-09-19 07:14:48   

I upgraded my website from .70 to 2.1 today. Previously I had 0 customization, so I figured everything should be smooth. On the new version, the Visual Index uses the function getimagesize to re-construct image urls from my past exhibits. 90% of the time it is repeating the prefix in the url, so the image doesn't exist, and it breaks the parent function later on.

See what I mean on heidipetty.com (click on "bio" for example). Errors display on top in a really obvious way.

I would just reupload the images or delete the pages, but I can't even edit any exhibit with images inside it because that page loads up as a blank page.

This is making my live website unusable, so please help!

heidi1984 / 2013-09-19 07:17:39   

p.s. I also can't unset the visual format since the editor is loading blank, even on the homepage for some reason?

heidi1984 / 2013-09-19 07:26:16   

In the meantime, how can I make my website point to the .70 version that I have backed up? (/ndxz-studio instead of /ndxzstudio)
Not sure what database change was made during the upgrade or how to undo it. Somehow my godaddy account isnt letting me personally access my database so I can't really check what is up.

arsondpi / 2013-09-19 08:26:20   

Hello heidi1984 - I can't seem to find or see any error displayed.
Your site seems to be working fine from my end.

heidi1984 / 2013-09-19 08:50:39   

UPDATE: Since the image urls kept expecting 2 prefixes, I just went into the gimgs folder and added the duplicate prefix to all the images in there. So the live site is now fixed but this will still be a problem upon upgrade for other people. I haven't tried uploading pictures using dimgs to see if the Visual Grid breaks there (probably wont) but here's the error:

heidi1984 / 2013-09-19 08:52:27   


Warning: getimagesize(/home/content/c/h/a/charmosh/html/files/gimgs/th-25_25_al-pal.jpg) [function.getimagesize]: failed to open stream: No such file or directory in/home/content/c/h/a/charmosh/html/ndxzsite/plugin/format.visual_index.php on line 570

arsondpi / 2013-09-19 09:46:47   

Have you tried changing thumbnail sizes - switching to another size and then back to the one you want may fix this. Images are build dynamically...

This thread has been closed, thank you.