UPS Shipping Module

Errors encountered intalling Zipurman UPS shipping module - UPS Shipping Module

Errors encountered intalling Zipurman UPS shipping module

by glenlivet » Wed Sep 22, 2021 7:02 pm

When attempting to install the Zipurman UPS module I got the following error codes.

/webroot/t/h/myuser/myurl.com/www/store/admin/modules.php
on line
320

Notice
: Trying to access array offset on value of type null in
/webroot/t/h/myuser/myurl.com/www/store/admin/modules.php
on line
321

Notice
: Trying to access array offset on value of type null in
/webroot/t/h/myuser/myurl.com/www/store/admin/modules.php
on line
320

Notice
: Trying to access array offset on value of type null in
/webroot/t/h/myuser/myurl.com/www/store/admin/modules.php
on line
321

Username and url on the above have been changed to protect the innocent.
As I'm not a php supercoder I'm a bit reluctant to go about changing things willynilly.
It's been one of those days so any suggestions as to where I botched this up greatly appreciated.
Thanks to all responders in advance...
glenlivet
Posts: 8
Joined: Mon Sep 20, 2021 1:10 am
Contact:

Re: Errors encountered intalling Zipurman UPS shipping modul

by zipurman » Wed Sep 22, 2021 8:15 pm

What version of PHP are you using? What version of Phoenix are you using? If you disable the UPS module, does the error go away?
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 473
Joined: Tue Oct 13, 2020 5:20 pm
Contact:

Re: Errors encountered intalling Zipurman UPS shipping modul

by glenlivet » Fri Sep 24, 2021 1:54 pm

I am running Phoenixcart 1.0.8.4, the UPS app is 1.3.0. I was unable to find much info on installing third party apps as the documentation on phoenixcart in general seems pretty sparse, so when I installed it I followed the directory tree on the unzipped app and ftp'd the files into the same directories. I hope that was the process.
glenlivet
Posts: 8
Joined: Mon Sep 20, 2021 1:10 am
Contact:

Re: Errors encountered intalling Zipurman UPS shipping modul

by glenlivet » Fri Sep 24, 2021 1:57 pm

Forgot to mention in the last post that the error happened when I was installing the app. Past that the cart runs fine.
glenlivet
Posts: 8
Joined: Mon Sep 20, 2021 1:10 am
Contact:

Re: Errors encountered intalling Zipurman UPS shipping modul

by zipurman » Fri Sep 24, 2021 3:27 pm

I will have a look at the initial install asap.

Installing modules "should" be done as you explained. Be careful as some downloads may contain other junk ... some devs may have multiple versions in the same file etc ;)

You may also find these useful:
https://youtube.com/zipurman/
https://phoenixcart.org/phoenixcartwiki/
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 473
Joined: Tue Oct 13, 2020 5:20 pm
Contact:

Re: Errors encountered intalling Zipurman UPS shipping modul

by glenlivet » Fri Sep 24, 2021 7:00 pm

Thanks...
I downloaded the UPS module from the forum/addons page.
Phoenixcart was installed via softalicious in cpanel.
I tried doing a fresh download and installing it with the same results.
I'm running Suse Enterprise Linux so I'm not "too" concerned about "junk".
I'm assuming that the zipups folder also goes into /includes/modules/shipping folder as well?
glenlivet
Posts: 8
Joined: Mon Sep 20, 2021 1:10 am
Contact:

Re: Errors encountered intalling Zipurman UPS shipping modul

by zipurman » Sat Sep 25, 2021 3:55 am

Yes the files should all be copied relative to the root of the catalog. So the includes/modules/shipping/zipups folder would go in that path.

Junk may cause problems ... my packages are always gathered so you can just copy/paste into the root of the catalog with renaming admin folder if required.

I am very familiar with Suse ... ran it for years. I use CentOS these days on my servers ... but CentOS is on its way out ... so I'll likely move all of our servers to Rocky when the time comes.
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 473
Joined: Tue Oct 13, 2020 5:20 pm
Contact:

Re: Errors encountered intalling Zipurman UPS shipping modul

by zipurman » Sat Sep 25, 2021 4:06 am

I did some testing on 1.0.8.4 and could not make it error. I even entered in bad data into some of the fields ... no error. I have servers running php 7.3 and 7.4 ... not sure what you are using? At what stage does the error trigger (modules add, module edit, module save, etc)? Can you send me what you are entering in each field ... other than the authentication fields? Try upgrading to 1.0.8.5 and see if that helps? An easy way to upgrade is using my upgrader ... you can get that from the addons library too ;)
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 473
Joined: Tue Oct 13, 2020 5:20 pm
Contact:

Re: Errors encountered intalling Zipurman UPS shipping modul

by glenlivet » Sat Sep 25, 2021 2:12 pm

I got the error when I installed the module so I never went any farther assuming the module would not run. I just tried to edit it and got the following error:

Module Directory: /webroot/t/h/pathto/mydomain.com/www/store/includes/modules/shipping/
Fatal error: Uncaught Error: Class 'Config' not found in /webroot/t/h/pathto/mydomain.com/www/store/admin/modules.php(282) : eval()'d code:1 Stack trace: #0 /webroot/t/h/pathto/thereminbuilder.com/www/store/admin/modules.php(282): eval() #1 {main} thrown in /webroot/t/h/pathto/mydomain.com/www/store/admin/modules.php(282) : eval()'d code on line 1
glenlivet
Posts: 8
Joined: Mon Sep 20, 2021 1:10 am
Contact:

Re: Errors encountered intalling Zipurman UPS shipping modul

by zipurman » Sat Sep 25, 2021 4:02 pm

Knowing your version of php would be helpful.
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 473
Joined: Tue Oct 13, 2020 5:20 pm
Contact: