Zencart checkout error 404

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Zencart checkout error 404

Postby whiterican » 02. March 2010 21:28

In trying to use paypal and checkout with xampp and zencart I get a 404 error saying page not found. I know this would be a configuration issue but I have been struggling with this for about a month now. And cannot get it right.

I guess my question is how would you set up ssl support in virtual hosts for zencart stores. so that it will redirect to the appropriate page?


checkout button leads to example.ath.cx/xampp
Instead of appropriate sign on page

Paypal button get the 404 error


virtual hosts set up
Code: Select all

NameVirtualHost example.ath.cx

<VirtualHost example.ath.cx>
   DocumentRoot "C:/example_site_name"
   ServerName example.ath.cx
   ErrorLog "logs/example_site_name.localhost-error.log"
   Customlog "logs/example_site_name.localhost-error.log" combined
   Alias /zencart "C:/example_site_name/admin" 
   
  <Directory "C:/example.ath.cx">
    Options Indexes FollowSymLinks +ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>

 <Directory "C:/example_site_name/admin">
    Options Indexes FollowSymLinks +ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>



zencart admin/includes set up

Code: Select all
define('HTTP_SERVER', 'http://example.ath.cx');
  define('HTTPS_SERVER', 'https://example.ath.cx');
  define('HTTP_CATALOG_SERVER', 'http://example.ath.cx');
  define('HTTPS_CATALOG_SERVER', 'https://example.ath.cx');

  // Use secure webserver for catalog module and/or admin areas?
  define('ENABLE_SSL_CATALOG', 'true');
  define('ENABLE_SSL_ADMIN', 'false');


zencart includes set up

Code: Select all
// Define the webserver and path parameters
  // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
  // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
  define('HTTP_SERVER', 'http://example.ath.cx');
  define('HTTPS_SERVER', 'https://example.ath.cx');

  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL', 'true');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');


Please Help me with this... :oops:
whiterican
 
Posts: 32
Joined: 13. December 2009 02:19

Re: Zencart checkout error 404

Postby whiterican » 15. July 2010 22:42

I fixed this issue a long time ago...

thanks for looking

Can't remember what I did.
whiterican
 
Posts: 32
Joined: 13. December 2009 02:19


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 67 guests