Guest Posted June 4, 2007 Posted June 4, 2007 Hey, I am trying to finish putting together a cart for a client, and for some reason I get the following error whenever I try to view http://www.myfunsiteoffun.com/catalog/incl...ddress_book.gif Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I am setting this store up in a new environment to me (I have a shared host that I often use, but this is a different shared hosting company). The only changes I have made are cosmetic to the index language and updated the header with a different look. I have also changed the style sheet but nothing that should have made any server configuration changes. Of course I am not very proficient in PHP, so it very well could be my mistake. Thanks in advance for any help you can offer! Peter
Guest Posted June 5, 2007 Posted June 5, 2007 So basically, all of my buttons are not showing up because it says that I don't have authorization to adcess them. I have seen them before, so i assume it has something to do with the changes that I have made. If you need more information from, I will try and get you anything I can. Thanks in advance!
Guest Posted June 5, 2007 Posted June 5, 2007 I had the same problem with my store when I set it up. It's a problem with the .htaccess files. On some servers it seems to conflict or something. I believe all I did to sort it was comment over everything in the .hacces file located here: catalog/includes/.htaccess so it looks like this: # $Id: .htaccess,v 1.4 2001/04/22 20:30:03 dwatkins Exp $ # # This is used with Apache WebServers # The following blocks direct HTTP requests in this directory recursively # # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration # # Example: # #<Directory "/usr/local/apache/htdocs"> # AllowOverride Limit # # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file) # # This does not affect PHP include/require functions # # Example: http://server/catalog/includes/application_top.php will not work #<Files *.php> #Order Deny,Allow #Deny from all #</Files> The last part just seems to throw up problems. I don't know why it should, because it's for .php but it does.
Guest Posted June 5, 2007 Posted June 5, 2007 hmm.. just realised why.. Those buttons are created using php, and the htaccess file is blocking php access to the includes directory so the php creating the images can't get to them..
Guest Posted June 6, 2007 Posted June 6, 2007 hmm.. just realised why..Those buttons are created using php, and the htaccess file is blocking php access to the includes directory so the php creating the images can't get to them.. Hey, thanks so much! This totally answered my question! I removed the .htaccess docuemnt entirely from my includes section and now the images are there. I am always afraid that I didn't give enough inforamtion in my posts, so thanks again! Peter
Recommended Posts
Archived
This topic is now archived and is closed to further replies.