chuglobal Posted June 8, 2009 Share Posted June 8, 2009 I purchased an OS Commerce template from Template Monster and using Go Daddy for hosting. I have gone through each of the links in the admin section; I noticed there were missing images in the admin section (Pictures 1 & 2) and also in the process of setting up a new item, the image would not show up even though the admin page confirms that the image was uploaded. I didn't think too much of it until I tried for the first time to replace images using the exact original name, dimensions and type. I refreshed the screen and now there are black lines, distorted images and missing images (Picture 3)! I thought that the new images might be corrupt so I even deleted all the files on the FTP server and reloaded the original template files. However I'm still getting the same problem w/ a fresh reload and no modification. Is it the template, configure.php, FTP server, etc? What am I missing? Help would definitely be appreciated. Thanks. Link to comment Share on other sites More sharing options...
RBaxter Posted June 9, 2009 Share Posted June 9, 2009 Hi, If you try to access the URL of the image where you've FTPed them using your internet browser, does the image show? If it does, you might want to check configure.php and ensure that DIR_WS_IMAGES is pointing to where you've uploaded the images. Also, if you do a clean install of OScommerce, do the normal images display? If the problem only occurs once you've applied the template, there may be an issue with that install (check that all the image links are pointing tothe correct file extension, i.e. check that the template has replaced all your files with .pngs and your code is looking for .gifs). If the problem exists with a clean install and without having installed the template, I'd imagine there must an issue with the hosting \ server set up. Possibly check the permissions (with chmod or your ftp program) that you have the files set to; sometimes setting things to 777 can causes problems. Now, that was quite a splurge of info. Sorry if none of it helps, but there are the first things that came to mind when I saw your post! -R Link to comment Share on other sites More sharing options...
chuglobal Posted June 9, 2009 Author Share Posted June 9, 2009 RBaxter, I appreciate the reply. I actually had an interesting conversation w/ Go Daddy this morning. I originally called to ask about something totally unrelated however later into the conversation I decided to bring up this image display problem. Go Daddy TS noticed that when we typed in the www.domainname/images/X.gif the image was actually distorted/missing however confirmed that the images were uploaded correctly. We chatted trying to figure out the potential sources of the problem such as the template, FTP client, server, etc. While on hold I thought about something interesting; I remember reading somewhere in the original help files that PHP files must be uploaded in ASCII format; I wondered if this might be a variable. I decided to use both WS_FTP and the Go Daddy FTP Client changing the format from ACSII to Binary and it seemed to work! I reuploaded all the images and all the images seem fine now. :) Do PHP files need to be uploaded as ASCII while Images need to be uploaded as Binary for OSCommerce? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.