Topic: Unable to upload new images

Hi Steven
I am having the same problem, not being able to upload new images. I am using showkase 1.7.7 and PHP 8.2. I have downloaded the patch but can't get it to work. I am using Fasthosts and the folder that I have to upload my site to is called htdocs.
the original showcase folder is _showkase and when i try overwrite it it makes another folder called showkase without the underscore.
I have been trying with net2ftp to upload the patch now using FileZilla thinking that would make a difference but it hasn't.

Can i manually drop the contents of the folder into the existing or delete the old and rename the new showKase folder with an underscore.

Please help I have been coming back to this problem over the last few months when i have time and would like to update my website.
Thanks
Neil

Re: Unable to upload new images

@neil

If your Showkase directory is named '_showkase' and is located directly in your 'htdocs' directory, then please try the following:
(1) Extract the patch zip file.
(2) Rename the extracted 'showkase' folder to '_showkase'.
(3) Upload the renamed '_showkase' folder to your 'htdocs' directory, overwriting the existing files on your web server.

... delete the old and rename the new showKase folder with an underscore.

You should not do this as the patch does not contain a full Showkase installation (it only contains new and modified files) from the full Showkase v1.7.6. You need a full Showkase installation and then you can apply the patch on top of it (following the steps above).

I'd also recommend taking a full backup of your existing site before applying the patch, just in case anything goes wrong and you need to reinstate your original files at a later date. Applying the patch should be trouble-free but it would be wise to have a backup.

I hope this helps to clarify things.
Please let me know how you get on. Thank you.

Re: Unable to upload new images

Hi Steven
Thanks for the advice!
I did as advised -
(1) Extract the patch zip file.
(2) Rename the extracted 'showkase' folder to '_showkase'.
(3) Upload the renamed '_showkase' folder to your 'htdocs' directory, overwriting the existing files on your web server.
which looked like it overwrote the folder and updated the date from 2019 from when it was installed to the present date.

I tried uploading files in showkase, the file still loads to 100% with a yellow warning triangle see pic. when I go into images tab I don't have any new uploaded files.

As i have tried many ways over the past few months trying to upload the file, maybe I have done something wrong. Is it worth me deleting and reinstalling ShowKase then adding the patch as you mentioned?

Many thanks

Re: Unable to upload new images

Sory couldn't send an image but it reads -

Creation of dynamic property Themeset::
$configis depreciated in themes.php, line 60

Neil

Re: Unable to upload new images

Hi.

I'm sorry to hear you are still having trouble.
I've split your posts into a separate thread as it looks like your problem is not exactly the same as the original poster's (or, at the very least, requires more troubleshooting).

Could you please confirm which version of Showkase you applied the patch to? You say you were using v1.7.7 but the latest version is v1.7.6. (The patch should be applied to v1.7.6.)

The dynamic property error you reported was due to a deprecation introduced in PHP 8.2 (which you are currently using) but the patch should completely fix this issue.
There is no 'themes.php' within Showkase (as noted in the error message you reported) but there is a file named 'themeset.php' which does, indeed, contain a problem at line 60 which the patch addresses.
It sounds very much like the patch has not been applied correctly.
I'd recommend you try to apply the patch again (no harm in doing it more than once) and make sure that all pre-existing files are overwritten. (Check the date on the 'themeset.php' file afterwards, specifically, with regard to the error you reported.)
The patch does fix the error you reported so, after successfully applying the patch, if the error still occurs, then maybe your web server employs a method of server-side caching whereby older files are still used for a period of time instead of newly uploaded ones. It might be worth checking in with your web host to ask if they have server-side caching active on your web hosting account (and ask if they can disable it).

For reference, here is the link to the post containing the information about the patch: https://showkase.net/forum/viewtopic.php?pid=2368#p2368
... and here is the post containing more information about applying the patch: https://showkase.net/forum/viewtopic.php?pid=2376#p2376

I hope this points you in the right direction.