Zen Cart Logo
Forums / Upgrading to 1.5.x / Thub and ZenCart, not connecting!!!

Thub and ZenCart, not connecting!!!

Views: 823

Results 1 to 5 of 5
4 May 2015, 7:00 PM
#1
jgraphics avatar

jgraphics

New Zenner

Join Date:
Oct 2006
Posts:
75
Plugin Contributions:
0

Thub and ZenCart, not connecting!!!

Hello,
We upgraded our ZenCart to 1.5.4 and have tried to get Thub to connect with no luck.
Thub looks for a file called thubservice.php in the admin folder of ZenCart.
After I enter my admin credentials and admin folder path into Thub and hit the "Test store connection" button in Thub... it comes back with "failed".
Anyone have any ideas? I'm guessing the stricter security on the ZenCart 1.5.4 is blocking Thub but I'm not sure.
Any help is appreciated.
Thanks,
John

4 May 2015, 9:38 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,792
Plugin Contributions:
14

Re: Thub and ZenCart, not connecting!!!

Have you followed these instructions?
http://tinyurl.com/ozagccz

22 May 2015, 9:40 AM
#3
shartlesville avatar

shartlesville

New Zenner

Join Date:
Jul 2009
Location:
Roswell, NM, USA
Posts:
103
Plugin Contributions:
0

Re: Thub and ZenCart, not connecting!!!

I am also trying to connect T-Hub to v1.54 without success.

Yes, I followed the instructions to upload the three files into the admin area.
Yes I copied the correct url to the location of the thubservice.php file.
Yes, I input the username and password.

It keeps popping up with the message "connection to zencart store failed"

My zen-cart is a fresh install; uploaded via FTP, installed via zc_install, admin renamed, install files deleted, no upgrades, no add-ons, no changes other than adding a template (no core changes in the template).

Zen Cart 1.5.4
Database Patch Level: 1.5.4
v1.5.4 [2015-05-17 05:59:16] (New Installation)
v1.5.4 [2015-05-17 05:59:16] (New Installation)

Server OS: Linux 3.10.69-xeon-hst-xeon-hst
Database: MySQL 5.5.38
Server Date: 05/22/2015 09:31:30
Database Date: 05/22/2015 09:31:30
PHP Version: 5.3.29 (Zend: 2.3.0)
PHP Memory Limit: 64M
PHP Safe Mode: Off
PHP File Uploads: On
Max Size: 10M
POST Max Size: 8M
Database Data Size: 390 kB
Database Index Size: 536 kB

25 May 2015, 9:22 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Thub and ZenCart, not connecting!!!

Usually the best place to ask for help with a 3rd party company's connector is that company themselves. ie: THUB should be fixing their connector to make it compatible.

For v1.5.4 specifically, you'll need to edit the thubservice.php file and add this on line 62:```
if (!class_exists('zcPassword') && file_exists(REL_PATH.DIR_WS_CLASSES)) {
require (REL_PATH.DIR_WS_CLASSES . 'class.zcPassword.php');
$zcPassword = new zcPassword;
}

26 May 2015, 6:54 AM
#5
shartlesville avatar

shartlesville

New Zenner

Join Date:
Jul 2009
Location:
Roswell, NM, USA
Posts:
103
Plugin Contributions:
0

Re: Thub and ZenCart, not connecting!!!

DrByte:

Usually the best place to ask for help with a 3rd party company's connector is that company themselves. ie: THUB should be fixing their connector to make it compatible.

For v1.5.4 specifically, you'll need to edit the thubservice.php file and add this on line 62:```
if (!class_exists('zcPassword') && file_exists(REL_PATH.DIR_WS_CLASSES)) {
require (REL_PATH.DIR_WS_CLASSES . 'class.zcPassword.php');
$zcPassword = new zcPassword;
}


DrByte you are my hero! That fixed it. I am in contact with T-Hub and they have been researching the problem but hadn't gotten back to me yet. Thank you, thank you, thank you! :hug: