Loaded Commerce Community

Banner


Board index » Loaded Commerce Support » Bug Issues

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Image Uploads with "%" in name will not display
PostPosted: Wed Oct 05, 2011 10:07 pm 
Offline
CRE Newbie

Joined: Wed Oct 05, 2011 9:52 pm
Posts: 3
Not sure if this is a bug or simply a mis-interpretation in PHP but here it goes:

I have the products on my site connected to Amazon Web Services (AWS). All of my images, product descriptions, etc. are retrieved from Amazon's site. Everything works fine except for this one glitch:

My smallImage is not retrieved from Amazon Web Services, but rather is uploaded to my server manually via Store Manager. The reason why I did it this way with the smallImage is because it is used everywhere in the CRE loaded system, from the infoboxes, to the main page modules, specials section, search results, etc. so it would be too many files to modify to incorporate this image with AWS. On top of that, it would slow down my site if I had callRequests to Amazon to retrieve 50 small Images and display them on the search results page. On the product page this is fine because it is retrieving info for just 1 product.

So what's the problem?:
Any images that have a percent sign "%" in its name will not display on the site. If I manually modify the image name to remove the %, it works fine. It seems really strange. And since my Store Manager imports are updated daily, it is quite an inconvenience to rename the image files after they are uploaded, because the import file will just overwrite what I do the next day to the original Amazon links with the % signs in the name.

The site is http://www.milatechnologies.com, when you browse through the catalog/search results, you will notice the images that do not appear are the one's with the % in the name. If anyone can help me with this one it would be greatly appreciated!


Top
 Profile  
 
 Post subject: Re: Image Uploads with "%" in name will not display
PostPosted: Thu Oct 13, 2011 1:12 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
So Store Manager ... this from Magneticone? Have you explained the situation and asked if they could help? Should be able to strip out % from the names before uploading.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: Image Uploads with "%" in name will not display
PostPosted: Fri Oct 14, 2011 11:24 pm 
Offline
CRE Newbie

Joined: Wed Oct 05, 2011 9:52 pm
Posts: 3
Thanks for the reply. Yes, Store Manager from MagneticOne. I will ask them as well. Do you know if there is a php issue with having a % symbol in the image name? Just want to educate myself on this for future reference. Thanks.


Top
 Profile  
 
 Post subject: Re: Image Uploads with "%" in name will not display
PostPosted: Mon Oct 17, 2011 2:50 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
Not that I'm aware of - you should be able to save files with % in the title. The issue is how they're parsed by the code - in this case, not very well!

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: Image Uploads with "%" in name will not display
PostPosted: Fri Oct 28, 2011 1:58 pm 
Offline
CRE Newbie

Joined: Wed Oct 05, 2011 9:52 pm
Posts: 3
Thanks for the responses. I figured out what the issue was. I contacted the hosting provider, GoDaddy, and they notified me that Linux servers cannot display files that contain a "%" in the name. However, Windows servers are capable of displaying them. Problem is, CRE Loaded needs a Linux server to run.

So now that the issue is determined, what can be the solution? The only thing I had in mind was to contact MagneticOne to offer an option in StoreManager to allow modifying the image name prior to uploading, or to simply strip out any special characters; might be a future fix. I will submit the request and see what happens.


Top
 Profile  
 
 Post subject: Re: Image Uploads with "%" in name will not display
PostPosted: Sat Oct 29, 2011 2:08 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
Seems strange - I've found that you can rename a .php with a % in it and it'll work, so must be something to do with how .gif / .jpgs are handled by the server.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Board index » Loaded Commerce Support » Bug Issues

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Wed May 23, 2012 9:56 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy