Redhead_Elf Posted October 28, 2009 Posted October 28, 2009 Hello Everyone, I need help! I am so frustrated :( I found myself changing over a 100 file-names just so the admin will show the images once I click update. All my photos work fine and uploaded well, UNLESS the file name exceeds certain amount of letters. I'm not sure exactly of the limit, about higher than 20? :blink: I looked for over two hours online and could not find anything! :( I am working on a new oscommerce site and the new version I downloaded of 2.2 doesn't have this problem. I am now using an older version. Please, where can I look for this "limited amount"/"maxlength"??? I'm a huge newbie in PHP. I'd highly appreciate ANY sort of help, any general guideline :blush: THANKS!!!
♥kymation Posted October 28, 2009 Posted October 28, 2009 The limit is in your database. Change the length of the products_image field in the products table to whatever you need. 64 is recommended, but you can make it longer if you need to. I also recommend that you update your older osCommerce to 2.2RC2a. There are a lot of security fixes in those updates. Regards Jim See my profile for a list of my addons and ways to get support.
Redhead_Elf Posted November 4, 2009 Author Posted November 4, 2009 The limit is in your database. Change the length of the products_image field in the products table to whatever you need. 64 is recommended, but you can make it longer if you need to. I also recommend that you update your older osCommerce to 2.2RC2a. There are a lot of security fixes in those updates. Regards Jim Thank you so much for your reply Jim. I highly appreciate it. :) I ended up changing most of the file names using Adobe Bridge. It ended up being smarter and more efficient regardless. Either way it's good to know there is such an option and I'm sure others will benefit from this post too! Cheers. :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.