Topic: creating new gallery – upload error (does not show in 'sort')

If I review the images show "too large to resize in available PHP memory", yet these (1366 x 768 @ 72dpi) are under those I already have live (2277 x 1280 @120dpi). Is this error on my side?

uncompressed image exceeds -9.5367431640625E-7 MB, yet in PSD shows as 3MB > ?

Re: creating new gallery – upload error (does not show in 'sort')

If the error message is correct, then you might need to increase your PHP memory_limit.

Please check to see what the PHP memory_limit on your web server is currently set to and try increasing it. (Your web host should be able to help you out with this.)
You can check your PHP settings using phpinfo() documented here: https://www.php.net/manual/en/function.phpinfo.php

The default value for memory_limit in the current version of PHP is 128M (as noted here: https://www.php.net/manual/en/ini.core. … ce-limits) so if yours is lower than this, I would recommend increasing it to 128M to see if this helps.

Also, please check post_max_size and upload_max_filesize and try increasing their values, too.

The following quote is from the description of post_max_size in the PHP documentation here: https://www.php.net/manual/en/ini.core. … t-max-size

post_max_size int
    Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize
.

Please check with your web host to find out how to change PHP settings on your web server.
You might be able to do this with a php.ini file or via your web hosting account's online control panel.

I hope this points you in the right direction.
However, if you continue to experience difficulties, please post back to let me know your Showkase version number and your PHP version number.
Also, if possible, please provide the source image that is causing the problem so that I can try to replicate the problem myself (in case the image is somehow corrupt). If you don't want to upload the image publicly, you can contact me at steven@juicebox.net.
Thank you.

Re: creating new gallery – upload error (does not show in 'sort')

Updated to PHP 8.1, now cannot see the "/admin" interface.  I get a "HTTP ERROR 500"

Re: creating new gallery – upload error (does not show in 'sort')

Unfortunately, an error 500 is a rather generic server error which doesn't really help to pinpoint the cause of the problem.

I think the best course of action at the moment would be to install and run the Showkase Server Compatibility Test.

Even if you ran the test prior to initially installing Showkase, please run it again just now in case your web host has made any changes to your hosting account recently which might somehow be contributing to the problem.
If any of the tests fail, there are troubleshooting tips on the test's support page (link above).

Please let me know how you get on.

Re: creating new gallery – upload error (does not show in 'sort')

Test was ok,


Test    Result    OK?
Php version    8.1.25    ✔
Safe mode    off    ✔
GD graphics library version    2.3.0    ✔
XML DOM functions    available    ✔

Re: creating new gallery – upload error (does not show in 'sort')

Still getting a 500 error at /admin, but if I load /_Showkase, get the  'Welcome to your New Showkase Web Site
This is a temporary home page. To manage your site sign-in to Showkase Admin." and admin will not load?

Re: creating new gallery – upload error (does not show in 'sort')

Can you check your server error logs (or check in with your web host) to try to find out more about the error 500?

Also, it might help if I could see the site in question so please post the URL to your site (or email it to me at steven@juicebox.net). Thank you.

In the meantime, as you are experiencing two different errors (the admin error and the image upload error), it might help to refresh your Showkase site.
Try reinstalling Showkase. Essentially follow the upgrade instructions (https://www.showkase.net/support/upgrade/) but with the same version of Showkase that your site currently uses. If any source files have somehow become corrupt or missing, then this process will reinstate them with fresh copies.
This should not cause any further issues (and hopefully it's sort things out) but I'd recommend taking a full backup of your site as it is just now (just as a precaution) in case anything untoward happens and you need to reinstate any files manually afterwards.

Actually, what version of Showkase are you using?
If you are not already using the latest version of Showkase (v1.7.6), I'd recommend upgrading. Versions prior to v1.7.6 are not compatible with PHP 8. (See the Version History for details).

Re: creating new gallery – upload error (does not show in 'sort')

Updated the folders (filezilla replace of _admin and _themes) but no access to /admin for seeing showkase interface (http://pixelexperience.com/admin/) shows nothing on safari and errror 500 in chrome.

Server test shows fine.http://pixelexperience.com/admin/sktest/index.php inclding file supprt tests. HELP>

Basic tests
Test    Result    OK?
Php version    8.1.26    ✔
Safe mode    off    ✔
GD graphics library version    2.3.0    ✔
XML DOM functions    available    ✔
Success: your server meets the basic requirements to run ShowKase. You should now run the file handling tests to ensure that your server has the correct permissions for ShowKase to work with files and folders.

Re: creating new gallery – upload error (does not show in 'sort')

Your Showkase login screen (http://pixelexperience.com/admin/) shows up for me just now (tested in Chrome, Edge and Firefox).

Updated the folders (filezilla replace of _admin and _themes)...

Maybe there was a delay (perhaps some server-side caching) before the new files were being served to browsers.

I hope everything is working OK. It certainly looks OK at the moment.