Results 1 to 10 of 768

Threaded View

  1. #11
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: update of apsona_functions.php to use mysqli

    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.
    Last edited by swguy; 16 Feb 2015 at 05:58 PM.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

 

 

Similar Threads

  1. v151 ShopAdmin by Apsona - Hanging when importing
    By bouncdchk in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 Jan 2014, 10:26 PM
  2. Apsona ShopAdmin
    By cagui2254 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 25 Aug 2011, 09:10 PM
  3. Current version of Alba's Mass Update Tool?
    By wolfear in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 5 Jun 2006, 02:13 AM

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