Jump to content

Adding Images - 403 FORBIDDEN error


markscarts
 Share

Recommended Posts

Viewing products, I clicked on "Manage Images" and added an extra image to the product. But when I go to the product and click the "more images" link, I get a 403 Forbidden - The document you are requesting is forbidden error.

The folder that contains the images is set to 777. I tried setting all the images to 777 as well, but still no dice.

I can link to this very image, and display it here in the post:

SHTR-9002.jpg

So why is it forbidden to the CubeCart window?

Any suggestions?

Link to comment
Share on other sites

Open \popup/prodImages.php

Add

$config = fetchDbConfig("config");



After 


include_once("../classes/db.inc.php");

$db = new db();

If you upgraded you cart make sure the template link is for extra/prodImages.php and not popup/prodImages.php

Have a look at skins/*/styleTemplates/content/viewProd.tpl

This should do the trick :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...