Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2014
    Location
    The Netherlands
    Posts
    58
    Plugin Contributions
    0

    link problem Server error 500 when trying to move store to localhost

    Hi guys,

    I was wondering whether someone could help me out with the following problem.

    A few weeks ago I installed Zen Cart v151 without too many difficulties on my server (my hosting provider is One.com) and so far everything seems to be in working order. But before I can go live, I need to set up a development version of my site for refactoring and testing purposes. As such, I've attempted to copy my Zen Cart installation from my One.com host to XAMPP (localhost). Unfortunately though, I can't get the localhost (XAMPP) version to work.

    I've used the following tutorial to move/copy my Zen Cart installation: http://www.zen-cart.com/content.php?...fferent-server I've followed the tutorial step-by-step, but once all of my old files have been uploaded over the new files on localhost (with the exception of /includes/configure.php and name_of_my_renamed_admin/includes/configure.php) I get an internal server error 500, when I try to visit the site on localhost. I've read this article http://www.zen-cart.com/content.php?...l-server-error and I've searched the forum, but I'm afraid I'm in over my head.

    I've copied the relevant part of my error log below, hoping someone might be able to point me in the right direction. I think the path to localhost might be wrong, but the configuration files seem to be in order. So if anyone could help me out, I'd be much obliged!

    [Mon Feb 03 11:41:48.728293 2014] [ssl:warn] [pid 7200:tid 396] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Feb 03 11:41:48.792377 2014] [core:warn] [pid 7200:tid 396] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Mon Feb 03 11:41:48.967634 2014] [ssl:warn] [pid 7200:tid 396] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Feb 03 11:41:49.635745 2014] [mpm_winnt:notice] [pid 7200:tid 396] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 configured -- resuming normal operations
    [Mon Feb 03 11:41:49.635745 2014] [mpm_winnt:notice] [pid 7200:tid 396] AH00456: Server built: Feb 23 2013 13:07:34
    [Mon Feb 03 11:41:49.635745 2014] [core:notice] [pid 7200:tid 396] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
    [Mon Feb 03 11:41:49.636746 2014] [mpm_winnt:notice] [pid 7200:tid 396] AH00418: Parent: Created child process 5844
    [Mon Feb 03 11:41:50.065066 2014] [ssl:warn] [pid 5844:tid 392] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Feb 03 11:41:50.278957 2014] [ssl:warn] [pid 5844:tid 392] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Feb 03 11:41:50.309978 2014] [mpm_winnt:notice] [pid 5844:tid 392] AH00354: Child: Starting 150 worker threads.
    [Mon Feb 03 12:45:05.753485 2014] [access_compat:error] [pid 5844:tid 1812] [client ::1:51998] AH01797: client denied by server configuration: C:/xampp/htdocs/webshop/includes/filenames.php
    [Mon Feb 03 12:45:28.888413 2014] [access_compat:error] [pid 5844:tid 1808] [client ::1:52006] AH01797: client denied by server configuration: C:/xampp/htdocs/webshop/includes/filenames.php
    [Mon Feb 03 15:20:32.368956 2014] [authn_file:error] [pid 5844:tid 1796] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58703] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:20:34.583350 2014] [authn_file:error] [pid 5844:tid 1796] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58704] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:20:37.067935 2014] [authn_file:error] [pid 5844:tid 1792] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58705] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:20:47.436041 2014] [authn_file:error] [pid 5844:tid 1808] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58708] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:20:57.659824 2014] [authn_file:error] [pid 5844:tid 1792] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58717] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:22:20.293837 2014] [authn_file:error] [pid 5844:tid 1792] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58727] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:22:31.506226 2014] [authn_file:error] [pid 5844:tid 1792] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58728] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:23:51.128669 2014] [authn_file:error] [pid 5844:tid 1792] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58761] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:24:19.993661 2014] [authn_file:error] [pid 5844:tid 1804] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58769] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:26:18.695371 2014] [ssl:warn] [pid 2720:tid 380] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Feb 03 15:26:18.767770 2014] [core:warn] [pid 2720:tid 380] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Mon Feb 03 15:26:18.981145 2014] [ssl:warn] [pid 2720:tid 380] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Feb 03 15:26:19.016632 2014] [mpm_winnt:notice] [pid 2720:tid 380] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 configured -- resuming normal operations
    [Mon Feb 03 15:26:19.016632 2014] [mpm_winnt:notice] [pid 2720:tid 380] AH00456: Server built: Feb 23 2013 13:07:34
    [Mon Feb 03 15:26:19.016632 2014] [core:notice] [pid 2720:tid 380] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
    [Mon Feb 03 15:26:19.017632 2014] [mpm_winnt:notice] [pid 2720:tid 380] AH00418: Parent: Created child process 4484
    [Mon Feb 03 15:26:19.434736 2014] [ssl:warn] [pid 4484:tid 388] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Feb 03 15:26:19.641843 2014] [ssl:warn] [pid 4484:tid 388] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    [Mon Feb 03 15:26:19.673866 2014] [mpm_winnt:notice] [pid 4484:tid 388] AH00354: Child: Starting 150 worker threads.
    [Mon Feb 03 15:26:32.720175 2014] [authn_file:error] [pid 4484:tid 1856] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58803] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    [Mon Feb 03 15:26:35.383379 2014] [authn_file:error] [pid 4484:tid 1852] (OS 3)Het systeem kan het opgegeven pad niet vinden. : [client ::1:58804] AH01620: Could not open password file: C:/customers/9/5/6/bonesfashion.nl/httpd.www/.htpasswd
    Last edited by McLovin; 3 Feb 2014 at 07:43 PM. Reason: If there are any questions, let me know!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Server error 500 when trying to move store to localhost

    1. Your :443 references suggest that you're trying to run SSL on your localhost setup. But if you haven't bought an SSL certificate for your localhost (and it's very rare that you would ever do that), then you'll need to set ENABLE_SSL and ENABLE_SSL_ADMIN to 'false' in your configure.php files.

    2. The mentions of .htpasswd suggest that you've added password-protection to some folders using .htaccess rules. You probably copied that down from your server, but since your localhost doesn't know the passwords you're getting errors. On localhost you'll probably want to simply remove the password-protection statements that you've put in your .htaccess files, since you probably don't need that password on your localhost, right?
    .

    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
    Feb 2014
    Location
    The Netherlands
    Posts
    58
    Plugin Contributions
    0

    Default Re: Server error 500 when trying to move store to localhost

    Thank a million! It was the second issue. I had indeed accidentally copied my .htaccess rules to my localhost! I removed those files, and everything works fine!

    [RESOLVED]

 

 

Similar Threads

  1. Replies: 8
    Last Post: 17 Mar 2015, 07:32 PM
  2. Replies: 5
    Last Post: 10 Jul 2013, 09:01 AM
  3. Replies: 3
    Last Post: 8 Oct 2012, 05:35 AM
  4. getting a 500 server error trying to get to admin
    By inklingsolutions in forum General Questions
    Replies: 2
    Last Post: 3 Oct 2012, 12:59 PM
  5. 500 Internal Server Error when trying to log into admin
    By kbalona in forum General Questions
    Replies: 3
    Last Post: 3 May 2007, 11:29 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR