1 (edited by Holger 2024-03-12 14:35:57)

Topic: Problems uploading images

Ver 1.7.6

The following error message appears when uploading the images: see attachment
Can you help me?

Thanks Holger

Post's attachments

20240312-Fehler-Website.jpg 131.31 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: Problems uploading images

Sorry for the inconvenience.

This problem is caused by a deprecation in PHP 8.1: Implicit incompatible float to int conversion is deprecated.

Until Showkase is updated to address this issue, I've attached the fix to this post as a zip file. Just extract the zip file (it'll extract to a folder named 'showkase') and upload the whole 'showkase' folder to your own site, overwriting the existing source files.

The fix also addresses an issue relating to PHP 8.2: Dynamic Properties are deprecated.

You should not have any problems applying the patch but I'd recommend taking a complete backup of your site first, just in case anything goes wrong and you need to reinstate your original files at a later date.

I hope this helps.
Please let me know if I can be of any further assistance.
Thank you.

Post's attachments

showkase.zip 355.91 kb, 2 downloads since 2024-03-12 

You don't have the permssions to download the attachments of this post.

Re: Problems uploading images

Works perfect.
Thank you very much and kind regards

Re: Problems uploading images

You're welcome!
I'm glad you've got it working. Thank you for letting me know.