Guest Posted October 7, 2005 Share Posted October 7, 2005 This is a fresh install. I went to upload a new item picture for the test item. and recieved the following error. "Error: already exists please rename the file you are attempting to upload or browse for this file instead." I have yet to upload any pictures, I have tried several differant images to upload. Any Ideas? Marc Thankies Ahead of Time Quote Link to comment Share on other sites More sharing options...
goober999 Posted October 7, 2005 Share Posted October 7, 2005 Are you running cubecart on windows server? Quote Link to comment Share on other sites More sharing options...
Guest Posted October 8, 2005 Share Posted October 8, 2005 This is a result of a previous file upload with the same name. Either rename the file, or delete the old one via your FTP client. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 8, 2005 Share Posted October 8, 2005 This is on a Redhat Fedora Server- I havent uploaded any files yet. I have tried several pictures with differant names and still get the same error. Any other ideas? marc Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted October 8, 2005 Share Posted October 8, 2005 Check your images/upload folder see if there is any images that have been uploaded. You may be getting the error but the images are being uploaded. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 8, 2005 Share Posted October 8, 2005 nope .. thats not the case either. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 8, 2005 Share Posted October 8, 2005 thats weird! your best bet i guess would be a fresh new installation of cubecart. unless someone can point out whats wrong with yours. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 8, 2005 Share Posted October 8, 2005 OK .. I have re-installed 3 times now, and I get the same problem. I explored a work around, and this is what I have come up with so far. I uploaded a image to the upload directory via FTP. It shows up as a thumbnail when I view Products. It does not show me the thumbnail on the Store Home Page. When I click on item it shows me the full photo. Now I am really confused. Any other suggestions? WorkAround Possibility? (How do I manually add the thumbnails? I see the thumbs directory, but when I put a copy of my photo there it still doesnt display on Store Home Page.) marc Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted October 8, 2005 Share Posted October 8, 2005 try uploading an image by ftp and see if you can view it anyway. if not then it may be a problem with the file/folder permissions. what is the current permissions for the store folder and your images folder? Also your on fedora - yes. It could be... when your uploading through the web that the image is being set as the user nobody or apache. If your webhost is running the server with very tight permissions then it may not show due to the file requires your username. You could ask your webhost to check. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 8, 2005 Share Posted October 8, 2005 The thumbnail is created as part of the upload process. I'm working at doing batch thumbnail creation as part of my CSV Import module. I'll have a better idea of what to tell you to do in another couple days. In the meantime, you can always create your own thumbs and FTP them to the server. There are several free or shareware thumb creators out there -- several have been mentioned in various threads here. Search is your friend. :( Quote Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2005 Share Posted October 10, 2005 Yes I can upload it via FTP, yes it shows in the item view. Permissions are set to 777 for both upload and image directory I am my own webhost. I wouldnt mind just uploading via FTP or NFS, but it does not display the thumbnails. I have uploaded the same picture as a thumbnail to the thumbs directory, but that doesnt work. Is there a preamble in the filename? ie thumb_item1.jpg? i can always do a batch script in gimp for my thumbs. marc Quote Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2005 Share Posted October 10, 2005 You've probably tried this already but this is what I have to do to upload photo's: 1. Try uploading images in normal manner, I then receive the error you get. 2. Try again to upload the image but this time while browsing to the file I right click on the images file name in the browse window and remame it before I select it for upload. 3. Hey Presto! the image uploads and the thumbnail is created. Don't ask me why this is as I'm a non-techie!! have only got to reskining level with cubecart, you can view my atempt at http://www.forever-products.co.uk Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted October 10, 2005 Share Posted October 10, 2005 Is your thumbs directory also 0777? It does sound like there is a permissions problem somewhere. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2005 Share Posted October 10, 2005 whoops .. typo beforehand i have 777 for both the upload directory and the thumb directory yes, im sure its not a permission problem does anyone know what the criteria is to recieve the first posted error message? what conditions have to be met to recieve that particular one? marc Quote Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2005 Share Posted October 10, 2005 ok .. i asked earlier about thumb files. i did a search but couldnt find the answer to it, so i thought i would include it here for anyone else with the same issues. if you want to upload the thumbnails manually via FTP of NFS. just resize them (i used 125x125 pixel size) and upload them to the thumbs directory. the thumbnail must be named with the prefix thumb_ sometimes it still doesnt show and i have to re-associate it with the item and re-up it a few times. i dont know why that is yet. if i learn more ill post the results. marc- My Store Quote Link to comment Share on other sites More sharing options...
Guest construct6computers Posted December 21, 2005 Share Posted December 21, 2005 I have this SAME exact problem, NEW INSTALL (like 5 times) of Version 3 Windows XP Server 2003 Can anyone help? i want to be able to upload images via the add product from admin and NOT ftp... thanks! Quote Link to comment Share on other sites More sharing options...
Guest construct6computers Posted December 21, 2005 Share Posted December 21, 2005 also, when manualing adding a jpg to the upload folder and then selecting browse existing images, when i select the image it shows a broke image link in the preview pane, and also when i go back to the add product page it shows a broken link, what do i have set wrong?? Quote Link to comment Share on other sites More sharing options...
Guest aikdo Posted December 22, 2005 Share Posted December 22, 2005 With the widows server problem thats server based i belive... In regard to what cases it to come up with that error im sure it is only a simple query of wether the image exsists... as PHP has that comand built in... Thumbnails are created each time you update the product and not when you upload only i found this out as i was upload diffrent thumbnails but every time i updated that product i was losing my custom thumbnails... Quote Link to comment Share on other sites More sharing options...
Guest mrtwice99 Posted January 25, 2006 Share Posted January 25, 2006 What PHP version are you using? I had this problem and it is because I was using PHP 5 and had the php.ini setting: register_long_arrays set to off. Does that help any? Quote Link to comment Share on other sites More sharing options...
Guest JABevan Posted January 25, 2006 Share Posted January 25, 2006 I'm just tagging along on this posting. I'm running FC4 PHP5 and am running into the exact same issues, including config, permissions, etc. BTW, my register_long_arrays is set to Off. JAB* Quote Link to comment Share on other sites More sharing options...
Guest JABevan Posted January 26, 2006 Share Posted January 26, 2006 I uploaded a test image to the images/uploads directory. It seemed to show up ok so I tried applying it to a product, seemed to show up ok there too, so I clicked Edit Product and got the following error: Fatal error: Call to undefined function ImageCreateFromJPEG() in /home/domain/public_html/classes/gd.inc.php on line 47 I tried doing a search on this but only came across a Windows Installation issue... I'm running FC4. Has anyone seen this? Any ideas why I (/we) can't upload images, and why I would be getting this error? Hope someone can lend a hand... Thanks, JAB* Quote Link to comment Share on other sites More sharing options...
Guest marstoni Posted March 20, 2006 Share Posted March 20, 2006 Wow, it seems many people are having this problem. I'm currently creating a e-commerce site for a client and just ran into this problem. Permissions are set fine and I've re-installed many times over. This really is an issue that should be fixed, is there any updates on the cause of this issue? Quote Link to comment Share on other sites More sharing options...
Guest [email protected] Posted April 24, 2006 Share Posted April 24, 2006 BUMP -> Has a resolution been found to this I am having serious problems with this. Quote Link to comment Share on other sites More sharing options...
Guest Hangly Posted May 9, 2006 Share Posted May 9, 2006 Pfft. You guys suck at support. Quote Link to comment Share on other sites More sharing options...
Guest mrtwice99 Posted May 15, 2006 Share Posted May 15, 2006 The problem is that you are using PHP 5 and register_long_arrays is set to "OFF." It needs to be set to ON. If you are running Apache, you can put this in a .htaccess file in the root directory of your store: php_flag register_long_arrays on Otherwise, if you are using IIS or some other server, you will need to set it in php.ini: register_long_arrays = Off 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.