mumulacke Posted October 4, 2013 Posted October 4, 2013 hello i am new on oscommerce and php and i am trying to make an e shop http://garaju-l.ro with oscommerce but after i instaled osc none of the pictures are displayed. can some please help me with this issue. thanks in advance
♥14steve14 Posted October 4, 2013 Posted October 4, 2013 Are all the images in the relevant folders on your server. REMEMBER BACKUP, BACKUP AND BACKUP
mumulacke Posted October 4, 2013 Author Posted October 4, 2013 yes they are...this thing happened right after the instalation of osc....i've also tried deleting osc and putiing it back,but nothing
MrPhil Posted October 4, 2013 Posted October 4, 2013 Are these only your product image files you're talking about? Did the store work with the sample merchandise pictures? Do the various osC icons, buttons, etc. show up OK? If this is a new site and nothing shows up, check if you have "hotlink protection" enabled for images. If you do, your site (domain name) must be "whitelisted" in your .htaccess file. If the icons and buttons and sample store merchandise pictures show up, that suggests a problem with how you're uploading your product image files. Make sure that you're putting them in the right place (the same place the sample images were in) and are uploading in binary mode, and ownership and permissions are correct.
mumulacke Posted October 6, 2013 Author Posted October 6, 2013 the images on the site are de sample one i didn't put new images on yet.and olso the osc icons,buttons do not show up.can you please tell me were i can find "hotlink protection" or how can i disable hotlink protection. thanks very much
MrPhil Posted October 6, 2013 Posted October 6, 2013 Your hosting control panel may have a button or entry for hotlink protection, that you can turn "off". When you use such a button, it should normally put some lines in the .htaccess file to implement the hotlink protection, along with a line or two to "whitelist" your own site. If you have an add-on domain or a subdomain, you will usually have to manually add it to the whitelist. Here is a typical hotlink protection entry: RewriteEngine on Options +FollowSymlinks # hotlink protection and allowed list # don't forget to add https: for any with SSL ## uncomment following line to PERMIT direct browser access of image files #RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain\.TLD(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?some-other-domain-to-permit\.TLD(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://mysubdomain\.mydomain\.TLD(/)?.*$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
mumulacke Posted October 7, 2013 Author Posted October 7, 2013 thanks again for your answers. i've called my provider because i don't have acces to any button or entry
Recommended Posts
Archived
This topic is now archived and is closed to further replies.