LeonGhost Posted November 23, 2016 Share Posted November 23, 2016 Hi There So I have been using Cube Cart for my online store and I am getting this error every time I upload a image to my Products. I have a lot of product on my site but no image to the products. I need to fix this very soon, My site is going live soon. Server Responded with 500 Code Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 23, 2016 Share Posted November 23, 2016 @LeonGhost Welcome to the forums! Just to clarify, have you ever had a CC install where the product images uploaded properly? What CC version are you on? What is the file permission for the images folder? How did you install CC - did you upload the zipped file, extract it from your cPanel Filemanager and then run setup? Or did you use some cPanel service to install? Or did you extract the files on your hard drive and then upload the files to your directory? Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 23, 2016 Share Posted November 23, 2016 We have discovered a scenario when the CubeCart package is unzipped, that at least one application that does the unzipping (WinZip) does not actually extract a folder if the folder is empty. There are two folders in the CubeCart package that are empty: /images/source/ and /images/cache/. When FTP'ing the expanded package to your site, these two folders will not be part of the FTP upload, and later, CubeCart will mis-behave. Please verify the existence of these folders and that they have the same CHMOD permissions as does the /images/logos/ folder. Quote Link to comment Share on other sites More sharing options...
34Ford Posted May 20, 2018 Share Posted May 20, 2018 So now I am getting this error for the first time no matter what size the picture is. Is it my host? Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 20, 2018 Share Posted May 20, 2018 We would ask that you have a conversation with your host to determine if they did anything recently to the server hosting your site. Quote Link to comment Share on other sites More sharing options...
34Ford Posted May 20, 2018 Share Posted May 20, 2018 Will do. Thanks Quote Link to comment Share on other sites More sharing options...
34Ford Posted May 20, 2018 Share Posted May 20, 2018 While I wait on them, it is not possible to upload the pics via FTP? I tried, but the store didn't like that at all. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 20, 2018 Share Posted May 20, 2018 (edited) Yes, it is possible. Then, in admin, Images (File Manager), click the Update File List tab. Early versions of CC6 managed to confuse the images associated with the products. I haven't tried doing this with current versions of CC6. Edited May 20, 2018 by bsmither Quote Link to comment Share on other sites More sharing options...
34Ford Posted May 20, 2018 Share Posted May 20, 2018 (edited) Ok, I uploaded a 28k pic to the images/source folder and when I update the file list, the page refreshes to a blank white page, and I cannot view the image page untill I delete the file. All of my images folders are set to 755. I got a reply from my host wanting to know how I am uploading. Needless to say if I tell them I cannot do it thru ftp and I cannot do it thru Cubecart then they may not be able to help either. The store is keeping up with all the filenames somewhere, any change to the images/source filenames makes the images page blank. Edited May 20, 2018 by 34Ford Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 20, 2018 Share Posted May 20, 2018 Let's see what the error_log may have. Quote Link to comment Share on other sites More sharing options...
34Ford Posted May 20, 2018 Share Posted May 20, 2018 [20-May-2018 15:25:36 America/New_York] PHP Fatal error: Class 'GD' not found in /home/smokeymo/public_html/store/classes/filemanager.class.php on line 878 Quote Link to comment Share on other sites More sharing options...
34Ford Posted May 20, 2018 Share Posted May 20, 2018 For the love of pete. I finally found the problem.. I must have deleted the gd.class.php file while working on the Recaptcha. Aaaarggg! Thanks for trying to help me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.