Broken With Concrete5 v 5.4.2

Permalink Browser Info Environment
Wonderful add-on, love the simplicity of it.

Unfortunately it seems to have broken under the latest version of C5. Worked under a previous version of Concrete5 on the same server.

Block outputs the following, along with broken thumbnail images.

Warning: Division by zero in /home2/wired/public_html/concrete/helpers/image.php on line 72
Warning: Division by zero in /home2/wired/public_html/concrete/helpers/image.php on line 73
Warning: Division by zero in /home2/wired/public_html/concrete/helpers/image.php on line 81
Warning: Division by zero in /home2/wired/public_html/concrete/helpers/image.php on line 72
Warning: Division by zero in /home2/wired/public_html/concrete/helpers/image.php on line 73
Warning: Division by zero in /home2/wired/public_html/concrete/helpers/image.php on line 81

Type: Discussion
Status: New
hmcafee
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Thank you very much for informing me of this bug. I've just updated the addon in the marketplace to fix the problem.

Please let me know if you run into any other issues.

-Jordan
cmscss replied on at Permalink Reply
cmscss
Hmm, me too - Exact same errors on the same PHP lines. Unfortunately, I need to go live on a site and have to add this gallery.

Is there anything I can do to hack this together?

Searching for the error also turned this up on a live site:http://www.mtbaker.us/1011/gallery/photo-gallery/...
jordanlev replied on at Permalink Reply
jordanlev
As indicated in my response above, this issue should have been corrected in the most recent version of the addon. Have you upgraded to version 1.14 yet? If so and this is still presenting problems, can you please send me a link and an admin login to your site ( PM me or email me directly at concrete@jordanlev.com ) so I can take a look?

Thanks.

-Jordan
cmscss replied on at Permalink Reply
cmscss
Sorry mate, didn't notice the date of the post or the update note.

Will check that out - awesome service as always.

Cheers

Ben
cmscss replied on at Permalink Reply
cmscss
Feel free to hassle me cause I feel like an idiot, but I don't think I've ever updated a plugin before and think I've made a hash of it...

When I went to "Add functionality" I couldn't see any updates or an update button, so I:
- Added version 1.4 to my cart and downloaded it from the c5 site
- Renamed the old version inside /packages/
- Uploaded the new version to /packages/
- Refreshed the "Add Functionality" screen where I received various php errors
- So I moved the old plugin folder out of /packages/
- No more PHP errors but the plugin still had the old version number
- So I clicked "edit" and found a "refresh" button but this caused an error:
- "No block found with the handle sortable_fancybox_gallery found"
- When I returned to the "Add Functionality" screen the version had updated to 1.4
- But when I add the gallery block, I receive the original errors

I'm guessing it isn't updated.

Really sorry about this, I'm kinda confused - how do you update the plugin?

Cheers

Ben
cmscss replied on at Permalink Reply
cmscss
All sorted now - removed and deleted the plugin, reinstalled it then recreated all the galleries.

Cheers
jordanlev replied on at Permalink Reply
jordanlev
Glad to hear it -- sorry I couldn't respond sooner.
Let me know if it gives you any more problems.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.