New Zenner
- Join Date:
- Feb 2010
- Posts:
- 38
- Plugin Contributions:
- 0
configure.php misconfigured, the site works partially
Hello,
I’ve a problem which I can’t find a solution for. I my earlier thread I had some issues with a time out session during checkout. I solved this partially, but the result is that i have a configure.php which is in my opinion not configured the right way. When I configure the configure.php like it should, my site fails during checkout with the whooops session timed out error.
The situation:
- ZC installed in: public_html/store
- Configured through the admin panel from my hoster to start the site in store. So the webshop starts in the folder “store”. So when you visit the site through https://www.mysite.com, it starts in the folder “store”.
My configure.php is configured like this, which is wrong in my opinion.
define('HTTP_SERVER', 'http://www.mysite.com');
define('HTTPS_SERVER', 'https://mysite-com.hostingcompany.com');
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/');
-
I think de DIR_WS_CATALOG should be a “/” (without the store folder),
define('DIR_WS_CATALOG', '/');
because the site already starts in this folder. But when I configure it I get a “whoops session timed out” during the checkout. The site works just fine (without ssl) with 'DIR_WS_CATALOG', '/store/ -
When I enable my ssl with the dir_ws_catalog configured with the “store” folder I get a blank screen after the payment is done and the customer returns to the shop again. I know what the problems is, because the address bar shows:
https://mysite-com.hostingcompany.com/store/phppathtothephpfile
When I remove the store (https://mysite-com.hostingcompany.com/phppathtothephpfile
)from the path the customer returns to the zc screen that the order has succesfully been placed and paid.
I think when problem 1 is solved, problem 2 will automaticly been solved too.
The installed plugins:
- zen-lightbox 1.6.4
- pdf invoice 1.5
- extra field custome sign on
- contact info sidebox
- admin login as customer
- add more pages sidebox
•What version of Zen Cart are you using?
1.5.1
•Has your site been upgraded? When? From what version(s)?
No, new installation
•If you've upgraded, HOW did you upgrade? (official upgrade procedure or an automated script from your hosting company?)
•What plugins/addons have you installed? When?
see above
•HOW did you install Zen Cart? (upload via FTP and run zc_install, or a one-click install from your hosting company? (one-click installs might mean you don't have enough information about your site/server to make customizations easily))
manual installation
•What version of PHP and MySQL is your server using? (See Admin->Tools->Server Info)
php 5.3.3.7 mysql 5.1.66
•WHEN did the problem "start"? How does that compare with other events of your hosting company, changes you've made to your site files/addons, or your admin settings, etc?
Never been different
•If this is your first store, have you tested all aspects of transactions before going live?
•In what ways is your site customized or different from a brand new uncustomized install?
different template
•If you're encountering display/layout problems, post your site URL* so it can be seen in action.
•If you're encountering problems that could be related to your server or hosting company, include the name of your hosting company (not their URL).
•HAVE YOU LOOKED IN THE FAQ AREA for answers to your question? (ie: a search for your error message or what you want to edit/change, etc)
Yes, similar threads but unfortenately without a solution
•Have you searched the FORUM for your error message or for answers to the question you're asking?
Yes, none found
Regards,
Michael