To recap all the issues I've run into and their solutions:
all zen cart versions
secure admin: if you are running admin in secure mode two changes must be made to the files provided by apsona
apsona_config.php - change url to https://service.apsona.com
apsona_index.php - about line 42 change the url to https://ajax.googleapis.com/ajax/lib.../jquery.min.js (adding in the s for https)
1.5.3
Use the apsona_functions.php file posted twice in this thread most recently in post 601
Change the admin configure file to hard code in the admin path as it used to be done. This is not difficult simply comment out this line in yourShopAdmin/includes/configure.php:
PHP Code:
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
and replace it with this
PHP Code:
define('DIR_WS_ADMIN', '/your shop admin folder/');//steve apsona
Then replace this line
PHP Code:
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
with this line
PHP Code:
define('DIR_WS_HTTPS_ADMIN', DIR_WS_ADMIN);//steve apsona
(Commenting out means placing // with a following space before the line.)
If you have done both of these for 1.5.3 and still get an error, try using an entirely new browser to check again. If nothing works your hosting company may be the problem. I've tested this on three different servers including my own which is highly secure with many closed ports etc. Apsona does not require anything special in the way of a hosting environment but there was mention earlier in this thread of possible mysql problems with a hosting company. This should work on every server.
wtashby, I was not getting anywhere until I made those changes to the admin configure and was getting both loading with that error message and a load of a non-working apsona page where no data was displayed between the three servers. Let me know if this works for you.
Bookmarks