Forums / General Questions / Cannot install shipping modules

Cannot install shipping modules

Views: 1,260

Results 1 to 19 of 19
21 Apr 2016, 10:34 PM
#1
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Cannot install shipping modules

I am in the middle of adding a shipping module and went to add modules to shipping when following the set up instructions, I found that there is no install facilities showing (see attached screen image). Can anyone advise me what is wrong?

Attachment 16246

Both 'Payment' and 'Order Total' show install options.

21 Apr 2016, 11:26 PM
#3
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: Cannot install shipping modules

Thank you for responding. The only thing I have in the cache folder is the following line:

installerConfigKeys|a:1:{s:8:"language";s:7:"english";}logfilename|s:27:"Mar-26-2016_07-37-16-CJ25gs";installerConfigInfo|a:0:{}

As I'm a complete novice, I wouldn't start being able to understand what it means. :dontgetit
There doesn't seem to be anything amiss as the site works ok. Any other ideas why install isnt available. Did / have I deleted something I shouldn't have?

22 Apr 2016, 3:53 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cannot install shipping modules

The only thing I have in the cache folder is the following line
If you are using ZenCart v1.5.4 then look in the /logs folder for mydebug files and most likely adm_debug files

Zen-Venom Get Bitten

22 Apr 2016, 6:30 PM
#5
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: Cannot install shipping modules

kobra:

If you are using ZenCart v1.5.4 then look in the /logs folder for mydebug files and most likely adm_debug files

I have had a look in the log files and found this occurring error:
[08-Apr-2016 12:36:26 Europe/London] PHP Warning: reset() expects parameter 1 to be array, null given in /home/cluster-sites/3/a/MySite/public_html/catalog/admin/includes/classes/object_info.php on line 29
[08-Apr-2016 12:36:26 Europe/London] PHP Warning: Variable passed to each() is not an array or object in /home/cluster-sites/3/a/MySite/public_html/catalog/admin/includes/classes/object_info.php on line 30

I have a copy of the file concerned. Can you check if there is an error within it please?

22 Apr 2016, 11:35 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cannot install shipping modules

What are your server details?
php version
mysql ver
etc

Zen-Venom Get Bitten

23 Apr 2016, 8:59 AM
#7
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: Cannot install shipping modules

kobra:

What are your server details?
php version
mysql ver
etc

Hi Kobra,
I may be a little thick, but I am not sure what you mean. Are you saying that these are missing from this page or are you asking me a question?

My server PHP setting to 5.5 although when you look at below it only registers 5.3.3
MySQL v = Server: mysql3.clusterdb.net via TCP/IP
Server type: MariaDB
Server version: 10.0.14-MariaDB - MariaDB Server
Protocol version: 10
User: [email protected]
Server charset: UTF-8 Unicode (utf8)

Apache/2.2.15 (Red Hat)
Database client version: libmysql - 5.1.73
PHP extension: mysqli Documentation
PHP version: 5.3.3

Is there anything else you need to know?

Also, can I replace any files that control the shipping element of the site. I may have pressed delete when the option was there on the right of the screen?

23 Apr 2016, 9:56 AM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Cannot install shipping modules

Unfortunately the error seen is more than likely not a result of the specific file identified but by information that isn't passed to that file correctly/sufficiently.

Two things I would suggest, the first is more likely the issue, but:

  1. verify that you have loaded both the includes/modules/shipping associated module as well as the languages file that accompanies it: includes/languages/shipping/

  2. install lat9's mydebug backtrace as it may provide more information in the log about this error. After installation, access the admin modules, shipping area again. Goto the logs folder and again post the contents with the admin directory again obscured.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

23 Apr 2016, 11:05 AM
#9
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Cannot install shipping modules

mc12345678:

Unfortunately the error seen is more than likely not a result of the specific file identified but by information that isn't passed to that file correctly/sufficiently.

Two things I would suggest, the first is more likely the issue, but:

  1. verify that you have loaded both the includes/modules/shipping associated module as well as the languages file that accompanies it: includes/languages/shipping/

  2. install lat9's mydebug backtrace as it may provide more information in the log about this error. After installation, access the admin modules, shipping area again. Goto the logs folder and again post the contents with the admin directory again obscured.

I agree with mc12345678, that the issue is most likely a missing language file

23 Apr 2016, 1:43 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cannot install shipping modules

Could also be incompatibility with php version as your reporting PHP version: 5.3.3

Zen Cart v1.5.4 is designed for PHP 5.5 and PHP 5.6 (and is compatible with PHP 5.3.7* and PHP 5.4 if posted bugfixes are researched and applied)
https://www.zen-cart.com/content.php?48-what-are-the-server-requirements-to-run-zen-cart

Zen-Venom Get Bitten

24 Apr 2016, 12:38 AM
#11
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: Cannot install shipping modules

kobra:

Could also be incompatibility with php version as your reporting PHP version: 5.3.3

https://www.zen-cart.com/content.php?48-what-are-the-server-requirements-to-run-zen-cart

Update on PHP version:
When checking Server Information in Admin, the following is reported: PHP Version: 5.6.20 (Zend: 2.6.0) PHP Memory Limit: 128M

hope this helps.
Also,
I have copied the files includes/modules/shipping and includes/languages/english/modules/shipping from the original zen_install and still I have no install options to the right of all the shipping options.

24 Apr 2016, 1:09 AM
#12
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Cannot install shipping modules

Man from Mars:

Update on PHP version:
When checking Server Information in Admin, the following is reported: PHP Version: 5.6.20 (Zend: 2.6.0) PHP Memory Limit: 128M

hope this helps.
Also,
I have copied the files includes/modules/shipping and includes/languages/english/modules/shipping from the original zen_install and still I have no install options to the right of all the shipping options.

Could you please list all the files that you have in each of those two directories?

Also did your error message change or the list of available shipping options change?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

24 Apr 2016, 1:28 AM
#13
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: Cannot install shipping modules

Design75:

I agree with mc12345678, that the issue is most likely a missing language file

I have installed lat9's mydebug and have the following message:
File Contents( /home/cluster-sites/3/a/mysite/public_html/directory/logs/myDEBUG-adm-1461276972-807945.log)
[21-Apr-2016 23:16:12 Europe/London] PHP Warning: require(/home/cluster-sites/3/a/mysite/public_html/directory/includes/modules/shipping/BigRoyalMail/main.php): failed to open stream: No such file or directory in /home/cluster-sites/3/a/mysite/public_html/directory/includes/modules/shipping/rmamlargeletter.php on line 25
[21-Apr-2016 23:16:12 Europe/London] PHP Fatal error: require(): Failed opening required '/home/cluster-sites/3/a/mysite/public_html/directory/includes/modules/shipping/BigRoyalMail/main.php' (include_path='.:/usr/share/pear56:/usr/share/php') in /home/cluster-sites/3/a/mysite/public_html/directory/includes/modules/shipping/rmamlargeletter.php on line 25

NOTE: Big Royal Mail was installed after install option was noticed missing

24 Apr 2016, 12:18 PM
#14
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: Cannot install shipping modules

mc12345678:

Could you please list all the files that you have in each of those two directories?

Also did your error message change or the list of available shipping options change?

  1. No, I don't think either changed, I just lost the install option.

  2. Firstly, includes/modules/shipping

24 Apr 2016, 12:19 PM
#15
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: Cannot install shipping modules

  1. languages/..........
24 Apr 2016, 11:16 PM
#16
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cannot install shipping modules

From your posted debug there seems to be missing a folder and file in includes/modules/shipping

includes/modules/shipping/BigRoyalMail/main.php

Zen-Venom Get Bitten

25 Apr 2016, 12:32 AM
#17
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Cannot install shipping modules

Also, while a screen of green folder's is kind of pretty, it makes it difficult to tell little things like is there an extra period typed in somewhere, is there an errant character of some sort at least when trying to match up filenames from the modules directory to the language's directory. But at least there is some information to be gained by the posting, the absence of the big royal mail folder. :)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

25 Apr 2016, 8:12 AM
#18
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: Cannot install shipping modules

mc12345678:

Also, while a screen of green folder's is kind of pretty, it makes it difficult to tell little things like is there an extra period typed in somewhere, is there an errant character of some sort at least when trying to match up filenames from the modules directory to the language's directory. But at least there is some information to be gained by the posting, the absence of the big royal mail folder. :)

BRILLIANT!!!!!:wow:
Thankyou mc12345678. I uploaded missing (folder) that contains file main.php and I now have ALL my missing install options on the right hand side of shipping modules.

Thanks for all the hard work on my site. I consider myself a fool for not checking properly.

Thank you.

Sorry about the pretty file list.

25 Apr 2016, 10:22 AM
#19
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Cannot install shipping modules

Well, we have all done something that seemed like that, sometimes it does just take some outside support to get through it. Glad that everyone's input helped in some way. It's that community support that makes this software so great. Good luck on the rest of your site.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...