Jump to content

Recommended Posts

Posted

Hello,

 

I thought I was making progress. I have my demo cart up and running. I have an idea of how to add categories and sub-categories and all that.

 

This morning I tried to just use the demo a little bit, but I got this message when I clicked on add to cart:

 

You don't have permission to access /cart/index.php on this server.

 

The permissions for this file are set at 644. I can change them to 777 and the error message goes away. I am not sure which files are safe to set to 777 and which should be left a bit more restricted, such as 644.

 

Is there a list anywhere of which files should have which settings?

 

I purchased the eBook, Zen Cart: Building an online store the Zen Way by Watson. It has helped me with a general understanding of the workings of the program. I have been able to do quite a bit of the set up by just reading and following directions.

 

Should I set index.php to 777 or do I have some other problem?

 

Thanks.

Posted

I went back and did some more testing. It seems that my cart works from the right column, but not from the left column. Here are some examples:

 

Visiting as Guest, not logged in as registered user

 

Right Column

 

Record Companies

 

HMV Group

 

Add to Cart works

 

Music Genres

 

Jazz

 

Add to Cart works

 

Left Column

 

Hardware

 

HP Printer

 

Add to Cart yields following messages:

 

Forbidden

 

You don't have permission to access /cart/index.php on this server.

 

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Next I tried:

 

DVD Movies

 

Blade Runner

 

Add to cart gives same message as above

 

After this testing, it seems that permissions may not be the issue.

 

 

Here is the address for the cart in its testing stages:

 

http://mountainmems.com/cart/index.php?main_page=index

Posted
Left Column

Hardware

HP Printer

Add to Cart yields following messages:

Forbidden

You don't have permission to access /cart/index.php on this server.

I did not have this problem. It didn't add anything to the cart because the quantity was "0". But once I entered a "1" in the quantity box I was able to add it to the cart with no problem.

Posted
I did not have this problem. It didn't add anything to the cart because the quantity was "0". But once I entered a "1" in the quantity box I was able to add it to the cart with no problem.

 

 

Bruce,

 

I get a 0 for the quantity in the right column choices. In the left column choices, the demo defaults to a 1 for quantity.

 

The right column allows me to select an item, change the 0 to a 1 and add the item to the cart.

 

The left column, whether I leave the default value of 1 for the quantity or change it to some other number such as 2 or 3, results in denied access when I click Add to Cart.

 

However, I have been working in Internet Explorer on my Mac. I should have checked some other browsers before I started. Firefox on my Mac works with no problems. Internet Explorer on my Windows machines also works with no problems. It doesn't seem to matter whether I am in the right column or left column, it works as long as I avoid Internet Explorer on the Mac.

 

Maybe someday, IE on the Mac will just be banned from all use on the Internet. This situation has happened to me before when I have been working with CSS documents. I tend to test with IE on the Mac and have problems that go away if I move to Safari or Firefox. On the Windows IE, the problems don't occur as much either.

 

If anyone reading this is working on a mac, please try the cart (address in previous post) with IE and see if you can replicate. Any ideas about what to do?

 

For now, I am just going to continue working on my cart and I will worry about making it work with Mac IE sometime in the future.

 

Thanks for jogging my memory to test in multiple browsers.

 

Alex

Posted
Maybe someday, IE on the Mac will just be banned from all use on the Internet.

Maybe someday IE will get thier act together but I won't hold my breath waiting. :whip:

 

Yes, I was using Firefox to test on Windows XP.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...