Closed Thread
Results 1 to 3 of 3

Thread: Internal Server Error

  1. #1
    gcstuff is offline x10Hosting Member gcstuff is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    20

    Internal Server Error

    I receive the error below when navigating my website. It happens either when first opened, or when going through payment steps. www.geocachingstuff.com/products





    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, no-reply@x10hosting.com 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.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

  2. #2
    stpvoice's Avatar
    stpvoice is offline Community Support Rep stpvoice has a brilliant futurestpvoice has a brilliant futurestpvoice has a brilliant future
    Join Date
    Dec 2008
    Location
    United Kingdom
    Posts
    5,939

    Re: Internal Server Error

    Hello,

    Please post the contents of the .htaccess file in the /products directory. If using cPanel's file manager you'll need to enable the viewing of dotfiles to see it. Also, verify that nothing is CHMOD 777. Generally, files should be 644 and directories 755.


  3. #3
    gcstuff is offline x10Hosting Member gcstuff is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    20

    Re: Internal Server Error

    I made a .htaccess file, and it's contents are below:

    # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
    # WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE
    # http://www.prestashop.com - http://www.prestashop.com/forums


    <IfModule mod_rewrite.c>
    # URL rewriting module activation
    RewriteEngine on

    # URL rewriting rules
    RewriteRule ^api/?(.*)$ /products/webservice/dispatcher.php?url=$1 [QSA,L]
    RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1-$2$3.jpg [L]
    RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1-$2.jpg [L]
    RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$1$2.jpg [L]
    RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$1$2$3.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$1$2$3$4.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L]
    RewriteRule ^c/([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /products/img/c/$1$2.jpg [L]
    RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /products/product.php?id_product=$1 [QSA,L]
    RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /products/category.php?id_category=$1 [QSA,L]
    RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /products/product.php?id_product=$1 [QSA,L]
    RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /products/supplier.php?id_supplier=$1 [QSA,L]
    RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /products/manufacturer.php?id_manufacturer=$1 [QSA,L]
    RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /products/cms.php?id_cms=$1 [QSA,L]
    RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /products/cms.php?id_cms_category=$1 [QSA,L]
    RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /products/img/c/$1$2.jpg [L]
    RewriteRule ^page-not-found$ /products/404.php [QSA,L]
    RewriteRule ^address$ /products/address.php [QSA,L]
    RewriteRule ^addresses$ /products/addresses.php [QSA,L]
    RewriteRule ^authentication$ /products/authentication.php [QSA,L]
    RewriteRule ^best-sales$ /products/best-sales.php [QSA,L]
    RewriteRule ^cart$ /products/cart.php [QSA,L]
    RewriteRule ^contact-us$ /products/contact-form.php [QSA,L]
    RewriteRule ^discount$ /products/discount.php [QSA,L]
    RewriteRule ^guest-tracking$ /products/guest-tracking.php [QSA,L]
    RewriteRule ^order-history$ /products/history.php [QSA,L]
    RewriteRule ^identity$ /products/identity.php [QSA,L]
    RewriteRule ^manufacturers$ /products/manufacturer.php [QSA,L]
    RewriteRule ^my-account$ /products/my-account.php [QSA,L]
    RewriteRule ^new-products$ /products/new-products.php [QSA,L]
    RewriteRule ^order$ /products/order.php [QSA,L]
    RewriteRule ^order-follow$ /products/order-follow.php [QSA,L]
    RewriteRule ^quick-order$ /products/order-opc.php [QSA,L]
    RewriteRule ^order-slip$ /products/order-slip.php [QSA,L]
    RewriteRule ^password-recovery$ /products/password.php [QSA,L]
    RewriteRule ^prices-drop$ /products/prices-drop.php [QSA,L]
    RewriteRule ^search$ /products/search.php [QSA,L]
    RewriteRule ^sitemap$ /products/sitemap.php [QSA,L]
    RewriteRule ^stores$ /products/stores.php [QSA,L]
    RewriteRule ^supplier$ /products/supplier.php [QSA,L]
    </IfModule>

    # Catch 404 errors
    ErrorDocument 404 /products/404.php

Closed Thread

Similar Threads

  1. Replies: 3
    Last Post: 02-16-2011, 09:42 AM
  2. Replies: 1
    Last Post: 08-15-2010, 08:18 PM
  3. Replies: 7
    Last Post: 07-28-2010, 01:56 AM
  4. Replies: 2
    Last Post: 01-09-2008, 12:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers