26

(15 replies, posted in Showkase Support)

I'm not sure why you would still be having trouble with uploading images.
The error message is almost definitely something that the patch fixes.

I updated to 1.7.6 in July 2023 but don't have the download link anymore.

I've reactivated your download link and sent you a new receipt for your purchase (which includes the link).

Here's something to try before you reinstall Showkase over your existing site.
Try installing a fresh Showkase installation (with the patch) on your site in a completely different folder (so that it does not interfere with your current site and so that you can easily delete it afterwards) to see if everything works there.

(1) Extract the regular Showkase-Pro zip file (the one I've just sent in an email) to your hard drive. It'll extract to a file named 'showkase'.
(2) Now extract the patch zip file to the same location on your hard drive. It'll also extract to a file named showkase' so allow the extraction process to overwrite existing files.
(3) Now rename the 'showkase folder' to something different (e.g. 'showkase2').
(4) Upload the entire 'showkase2' folder to your web server.
(5) In a browser, set up this new Showkase site by navigating to http://yourwebsite.com/showkase2/ and try uploading some test images.

If this works, then we'll know that the problem lies somewhere within your current site (and not with the Showkase source files).
If this does not work, then the problem could potentially be with your website's PHP installation (but the error message suggests otherwise).

This might not directly fix your problem but it should be in step in the right direction to see exactly where the problem lies.

27

(15 replies, posted in Showkase Support)

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.

28

(15 replies, posted in Showkase Support)

@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.

29

(5 replies, posted in Showkase Support)

Still, it might be good to just make a 1.7.7 release with the patch included, no?

Agreed (but I'm not the original author of Showkase and I don't make the decisions around here!).

30

(5 replies, posted in Showkase Support)

thank you for the quick response!

You're welcome!

Upgrading to 1.7.6 seems to have fixed the issue.

That's great to hear! Thank you for letting me know.

... I would need to manually place in the correct location now

There should be no need to place any files manually. The official Showkase package and the patch zip file both extract to give a folder named 'showkase'. If you use an FTP program such as Filezilla, you can just upload the 'showkase' folder from the patch zip file to the same location that you initially installed Showkase to and let it overwrite any files already in place.

How critical is the patch?

The patch is necessary for PHP 8.1 and PHP 8.2 users. If your web server runs anything between PHP 5.2 and PHP 8.0, then you should be fine without the patch.

31

(5 replies, posted in Showkase Support)

Please try upgrading your site to the latest version of Showkase v1.7.6.

There was a fix in v1.7.1:

Fixed uploader shows green success icon after an error.

Even if the upload still fails, at least we should now get a description of the error which should hopefully point us in the right direction.

The upload module itself was updated in v1.7.4:

Updated to latest versions of PHPMailer, Smarty, CKEditor, jQuery UI, Plupload and jsTree

Also, after you have installed v1.7.6, please apply the patch I created as I fixed a couple of upload module problems (caused by PHP 8.1 and PHP 8.2 deprecations) and updated the upload module once again.

You can find instructions to upgrade Showkase here.
I've reactivated your download link and you should receive an email containing the link so that you can download the latest version of Showkase v1.7.6.

The patch I created can be found in this forum post.
More information about applying the patch can be found here.

Hopefully, updating your site to Showkase v1.7.6 + patch will resolve your problem without any further action.
However, if you continue to experience difficulties, please let me know and I'll try to help further.
Thank you.

Note:
Please be sure to make a complete backup of your existing site before upgrading. You should not experience any problems during the upgrade process but it would be wise to have a backup in case anything goes wrong and you need to reinstate your original files at a later date.

32

(3 replies, posted in Showkase Support)

I'm glad you've got it working. Thank you for letting me know.

33

(3 replies, posted in Showkase Support)

The upload module within Showkase is for images only.

You'd need to upload your text document outside Showkase using FTP (or your web hosting account's online file manager) and then provide a link to the file in your page's body content, e.g:

Click <a href="http://www.example.com/files/text_file.docx" download>here</a> to download the document.

When entering HTML code into the Showkase editor, make sure that the editor is in 'Source' mode.

34

(2 replies, posted in Showkase Support)

Thank you for bringing this to my attention.

Unfortunately, the latest (and last) open-source version of CKEditor 4 (CKEditor 4.22.1, the version used within my unofficial update patch for Showkase v1.7.6) is no longer receiving updates and the long-term support versions of CKEditor 4 (which should be more secure) require a license for commercial use (which we don't currently have).
It looks like CKEditor 5 would also requires a commercial license for use within Showkase (being free only for open-source projects).

If you are willing to accept the security risks, then you can at least suppress the warning by adding:

config.versionCheck = false;

... to Showkase's showkase\admin\settings\ckeditorconfig.js file.

I don't know exactly what the security risks are (I have not yet been able to find details on CKEditor's website) or, indeed, which versions of CKEditor they affect.
It might actually be beneficial to revert to CKEditor 4.16 (from the Showkase v1.7.6 zip package). If you'd like to do this, just overwrite the showkase\admin\ckeditor folder on your web server with the showkase\admin\ckeditor folder from the Showkase v1.7.6 zip package. I genuinely don't know if this will help (with the security itself or the warning message) but it might be something you'd like to try.
As always, when making changes manually to files on your web server, I'd recommend making a full backup of your site first, just as a precaution.

It looks like we might need to stick with CKEditor 4.16 (from the official Showkase v1.7.6 zip package) or CKEditor 4.22.1 (from my patch) for the time being until the developers can formulate a more long-term solution.

Maybe there's a fork of the open-source CKEditor 4.22.1 somewhere on GitHub that might be a suitable replacement? I'll take a look.
I'll post back here if I have any further news on the subject.

35

(3 replies, posted in Showkase Support)

@Kim

Please apply the patch I created in this post: https://showkase.net/forum/viewtopic.php?pid=2368#p2368

Further details on how to apply the patch can be found here: https://showkase.net/forum/viewtopic.php?pid=2376#p2376

This should resolve your issue and ensure that your Showkase installation is fully compatible with PHP 8.2.

36

(1 replies, posted in Showkase Support)

I'm sorry to hear that you're having problems.

You'll need to contact your web host (the company that provides you with the web space that you uploaded your Showkase site to). They should be able to tell you what has happened to your site.
We do not provide any web hosting at all and have no way of knowing where you uploaded your Showkase site to (or, indeed, what has happened to it).

Two things that sometimes help with ERR_NAME_NOT_RESOLVED are clearing your browser's cache and flushing your DNS but as yourself and a few friends all experience the same thing, it sounds like these suggestions would not help in your case.

The first thing to do is to contact your web host and, if you have a custom domain name, check in with your domain registrar, too, in case your domain name has expired.

I hope this points you in the right direction.

37

(8 replies, posted in Showkase Support)

You're welcome! Thanks for the update.

Not sure why I was having the problem with Chrome...

Sounds like a caching problem. (It works in Chrome for me.)
Have you tried completely clearing your Chrome browser's cache before accessing your Showkase admin again?
It should work in Chrome just as well as it does in Firefox (and any other modern browser).

38

(8 replies, posted in Showkase Support)

That's odd.
I've just double-checked (with a fresh Showkase v1.7.6 installation and the patch files from my box.com link) and I uploaded a .webp image to the Showkase Library as a test without any issues. (The image uploaded via the upload module without any problems or error messages and, afterwards, it appeared on the Images tab as expected.)
It looks like the files are fine.

The three most likely things I can think of that might be causing your problem (and, therefore, things you could investigate) are:
(1) The patch files have been uploaded to the wrong location on your server.
(2) When uploading the patch files to your web server, your FTP program has not been set to overwrite existing files.
(3) Your web hosting account has server-side caching enabled and your web server is still using older, cached files rather than the new patch files you've recently uploaded. It might take some time for the new files to become active on your web server.

Check that you're uploading the patch files to the correct location on your web server. If, for example, you installed Showkase to your root directory, then you would have uploaded the contents of the 'showkase' folder (from the Showkase zip file) to your root directory. If this was the case, then you would upload the contents of the 'showkase' folder (from the patch zip file) to your root directory.

Also, make sure that your FTP program is set to overwrite existing files (so that the patch files replace their original versions).
If you integrated the patch into a Showkase folder on your computer before uploading, make sure that your copy action replaced (and did not skip) existing files.

Finally, make sure that your web hosting account does not have server-side caching enabled. (Check in with your web host. They should be able to help you with this.)

I'll keep my fingers crossed that one of these suggestions helps you out.
Please let me know how you get on. Thanks.

39

(8 replies, posted in Showkase Support)

The patch zip file is not a complete Showkase installation. It contains only:
(1) certain files from the full Showkase v1.7.6 zip file which have been updated (to fix issues) and...
(2) some new files (to update third-party libraries).
As such, the patch zip file cannot be used to install and run Showkase on its own.

When you extract the full Showkase v1.7.6 zip file, you'll find a folder named 'showkase' which contains all the Showkase files.
When you extract the patch zip file, you'll also find a folder named 'showkase' which contains only the updated and new files.

If you are starting from scratch, you could extract the full Showkase v1.7.6 zip file to your computer and then extract the patch zip file on top of it, to the same location (overwriting pre-existing files) before uploading the resulting 'showkase' folder to your web server.
Alternatively, if you already have a Showkase v1.7.6 installation on your web server and you want to apply the patch to it, you could upload the extracted patch files to your Showkase directory (again, overwriting pre-existing files).
Just be sure to extract the patch files to the correct directory and make a full backup of your existing site first (just in case).

I hope this helps.

40

(3 replies, posted in Showkase Support)

That's great! Thank you for letting me know.

With the patch in place, there are no known issues with any version of PHP but if you run into any new problems, please let me know. Thanks!

41

(3 replies, posted in Showkase Support)

There are a couple of bugs when running Showkase v1.7.6 under PHP 8.1 and PHP 8.2 (one unique to PHP 8.1 and another unique to PHP 8.2).

If using PHP 8.1 or PHP 8.2, please apply the patch I provided in this forum post. This should provide full compatibility with PHP 8.1 and PHP 8.2 (and I've tested it with PHP 8.3, too).

42

(8 replies, posted in Showkase Support)

You've not missed an update. The latest (current) version is still v1.7.6.

Unfortunately, I do not know if or when Showkase may next be updated and it does look increasingly likely that an official update is not forthcoming. Sorry I cannot be more specific just now but I don't make the decisions around here and I don't have any news at the moment.

Having said that, even though I'm not the author of Showkase and cannot release new official versions, I am still a member of the official support team and I'll continue to do my best to see that Showkase stays alive and kicking.

This might be a good opportunity to post a round-up patch containing all of the fixes and updates that I've posted in the forum over the past few months.

Please note that this is an unofficial patch and that you should use it at your own risk. I have tested it myself on a web server running PHP 8.4.2 but it has not undergone extensive testing by anyone other than myself.
Please be sure to make a full backup of your existing site before applying the patch.
The patch files are in a folder named 'showkase' (like the official Showkase zip file) so you can just upload the 'showkase' folder to your web server, overwriting your existing files.

Here is the changelog for the patch:

  • Changed default body text on About and Basic pages for consistency across all page types

  • Fixed iframe video embed error

  • Fixed JSON error

  • Fixed PHP 8.1 incompatibility - implicit incompatible float to int conversion is deprecated

  • Fixed PHP 8.2 incompatibility - dynamic properties are deprecated

  • Fixed PHP 8.4 incompatibility - implicitly nullable parameter declarations deprecated

  • Introduced webp support

  • Removed CKEditor version check

  • Updated links in showkase.robots.txt file

  • Upgraded CKEditor to v4.22.1

  • Upgraded jsTree to v3.3.17

  • Upgraded PHPMailer to v6.10.0 for Contact page

  • Upgraded Plupload to v2.3.9

  • Upgraded Smarty PHP Template Engine to v4.5.5

  • Used current scheme instead of hardcoded 'http://' for Open Graph tags and on-screen messages

NB:
(1) This patch should be applied to Showkase v1.7.6 (Pro or Standard) only. It should not be used for any other version.
(2) This patch now requires that a minimum version of PHP 7.1 should be used. (The previous minimum version required was PHP 5.2.)

Patch file download link: https://app.box.com/s/lel919xayj6hnhrf8ju0apsfeowoocal

How to apply the patch:

The patch zip file is not a complete Showkase installation. It contains only:
(1) certain files from the full Showkase v1.7.6 zip file which have been updated (to fix issues) and...
(2) some new files (to update third-party libraries).
As such, the patch zip file cannot be used to install and run Showkase on its own.

When you extract the full Showkase v1.7.6 zip file, you'll find a folder named 'showkase' which contains all the Showkase files.
When you extract the patch zip file, you'll also find a folder named 'showkase' which contains only the updated and new files.

If you are starting from scratch, you could extract the full Showkase v1.7.6 zip file to your computer and then extract the patch zip file on top of it, to the same location (overwriting pre-existing files) before uploading the resulting 'showkase' folder to your web server.
Alternatively, if you already have a Showkase v1.7.6 installation on your web server and you want to apply the patch to it, you could upload the extracted patch files to your Showkase directory (again, overwriting pre-existing files).
Just be sure to extract the patch files to the correct directory and make a full backup of your existing site first (just in case).

As always, just give me a shout if you need a hand with anything. I'll be here to help!

[Edit: Patch updated for PHP 8.4 compatibility and to fix JSON error on 17 January 2025.]
[Edit: Patch updated to fix iframe video embed error on 28 February 2025.]
[Edit: Patch updated to use current scheme instead of hardcoded 'http://' for Open Graph tags and on-screen messages on 23 March 2025.]
[Edit: Patch updated to upgrade PHPMailer to v6.10.0 on 11 August 2025.]

43

(1 replies, posted in Showkase Support)

Sure! If you can describe your problem here, I'll do my best to help you out.
Otherwise, you can email me direct at steven@juicebox.net.

(I've split your post from the thread you posted in. It's always best to have each user's problem in its own unique thread.)

44

(2 replies, posted in Showkase Support)

Please see this forum thread.

I posted a patch (in this forum post) which addresses issues relating to PHP 8.1 and PHP 8.2 (including the one you experienced).
The patch will allow run Showkase v1.7.6 to run on PHP 8.1, PHP 8.2 (and I've also tested it on PHP 8.3).

Apologies for the inconvenience. I hope the patch helps.

45

(4 replies, posted in Showkase Support)

Unfortunately, this is no way to change the background color of an individual page from within the admin.
You'd need to do this with some custom CSS in the custom.css file.
You can, however, target individual pages (or page types) using this method.
Check out your page's <body> tag in your web browser's Developer Tools -> Page Source for classes that might help in targeting your page.
You might find something like this:

<body class="light type-basic page-12 group-0  body-arial headings-arial ">

You could target this page using the 'page-12' class (each page has a unique page number), e.g:

.page-12 {
    background-color: #000000;
}

... or you could target all basic pages as follows:

.type-basic {
    background-color: #000000;
}

I hope this points you in the right direction.
However, if you continue to experience difficulties, please post the URL of the web page and let me know what color you'd like it's background to be and I'll see if I can help further.
Thank you..

46

(4 replies, posted in Showkase Support)

I notice that you are using a custom.css file (_themes/kosel/css/custom.css) which sets background-color: #E9E3D3; for #wrapper.
This will override the color set in the Showkase admin so you might need to remove this custom CSS for admin-set colors to work.

47

(4 replies, posted in Showkase Support)

If you use a 'custom' Color Scheme, then the background color of a Basic page (all pages, in fact) should be controlled by the 'Background color' in the Custom Palette.
I've just checked this for a Basic page in a test Showkase v1.7.6 site (using the Kosel theme) and it works as expected for me.

If the background color of your Basic page does not seem to follow the 'Background color' in the Custom Palette, then try clearing your browser's cache before reloading your web page to see if this makes a difference. Otherwise, try loading your web page in a different browser (one which you have not used to view your site before) to make sure that browser caching is not the cause of your problem.

It might also be worth checking in with your web host to make sure that there is no server-side caching active on your hosting account.

Hopefully this will help.
Please let me know how you get on. Thank you.

48

(93 replies, posted in Showkase Support)

For anyone looking for WEBP support, please check out this forum thread.

49

(1 replies, posted in Showkase Support)

FIXED IT NEVER MIND

OK. I'm glad you've managed to sort things out. Thank you for letting me know.
Just let me know if you run into any further problems and I'll do my best to help you out.

50

(6 replies, posted in Showkase Support)

@Anglican

It's possible but I really don't know. I'm not the author of Showkase and I don't make such decisions.

However, the patch really just duplicates the way Showkase handles GIF images, but for WEBP images. All the complicated stuff (the actual image processing) is done by native PHP functionality so the extra code required in Showkase to get it working is minimal and I don't see there being any adverse effects.

I hope it will be picked up by the Showkase developers but, if not, at least the patch is here for those that want to use it.