Page 1 of 1

Zencart checkout error 404

PostPosted: 02. March 2010 21:28
by whiterican
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:

Re: Zencart checkout error 404

PostPosted: 15. July 2010 22:42
by whiterican
I fixed this issue a long time ago...

thanks for looking

Can't remember what I did.