Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2007
    Location
    Yorkshire
    Posts
    16
    Plugin Contributions
    0

    Default Help with installation

    Hi all

    All was going well until I received this 406 message after pressing the Save systems Settings button.

    Not Acceptable

    An appropriate representation of the requested resource /catalog/zc_install/index.php could not be found on this server.


    had a good look, but cannot see what has gone wrong????

    Cheers Mick
    Last edited by Jabbawocky; 20 Sep 2007 at 12:44 AM. Reason: more info

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Help with installation

    You might need to rename the /zc_install/.htaccess file to htaccess_OFF
    Some servers don't like the security overrides it attempts to implement just during install-time.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2007
    Location
    Yorkshire
    Posts
    16
    Plugin Contributions
    0

    Default Re: Help with installation

    Thanks for the quick reply. Tried the mod you suggested. Sorry to say, I am still getting exactly the same message.

    Cheers Mick

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Help with installation

    If you have access to your server's errorlog, you'll likely find that the 406 error is caused by a mod_security rule being violated ... namely because the installer is passing your requested domain URL via the command line as a parameter. This is often viewed as risky by many server security settings because hackers will sometimes use that approach for rogue activities.

    We're rewriting the installer to use a different method; but it's not ready for release yet.

    You could ask your hosting company to relax the mod-security rules for your account temporarily while you do the installation ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Sep 2007
    Location
    Yorkshire
    Posts
    16
    Plugin Contributions
    0

    Default Re: Help with installation

    Hi

    I have spoken with the Technical help at Webfusion, who host my site. They are not prepared to reduce the security as it is a shared server. All they could suggest was to turn off the htaccess. I told them we had already tried that. What to do next??? Throw the computer and go live on an Island??? or look for another host?? or are there any other options??? Shame as this host is very cheap for the package , well it looks so to a complete novice???

    Mick

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Help with installation

    Well ... it *is* possible to relax it for specific domains.
    And ... they *should* be able to configure it to allow *you* to override it *using* .htaccess (which is what is supplied in the Zen Cart zc_install folder already).

    I'm not sure it warrants getting a new host ... unless they're revealing a lack of knowledge/ability through this ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Sep 2007
    Posts
    1
    Plugin Contributions
    0

    Default Re: Help with installation 406 & webfustion

    ok i just registered to post this reply so I hope it helps

    error 406:
    An appropriate representation of the requested resource /zen-cart/catalog/zc_install/index.php could not be found on this server

    What you need to do is this.


    in the url you will see your websites address: http://www.mysite.co.uk/

    remove your url from the address bar I think it appears 3 times, but i cannt quite remember.

    hit enter.

    you should now be able to continue the installation.

    once installed go to includes/configure.php (the one zen complains about having write permissions on)

    on line 17 & 18 you will see

    define('HTTP_SERVER', '://');
    define('HTTPS_SERVER', '://');

    or something similar.

    just remove :// (or whatever is there) and insert your url inside single quotes.

    save the file and check your site, view the source of your site and ensure that any links and images are using your absolute path ie http://mysite.co.uk/link.html or whatever.

    if there are extra slashes adjust your url.

    hope that helps someone. oh and dont forget to change includes/configure.php back to read only permissions.


 

 

Similar Threads

  1. Help with Installation
    By Agent_KGB in forum Installing on a Windows Server
    Replies: 2
    Last Post: 24 Jan 2009, 05:41 PM
  2. help with installation
    By ex.wear in forum Installing on a Windows Server
    Replies: 1
    Last Post: 10 Mar 2008, 06:49 AM
  3. Help with installation
    By dt99rrc in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 14 Nov 2007, 04:50 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
  •  
disjunctive-egg