Re: New Royal Mail Modules
Hello all!
I have a big problem! I installed the royal mail shipping module and all seemed to be ok until I tried installing the optional extras. I keep getting this message on my admin site on the shipping/module section...
Warning: include(e:/domains/u/uniquedesigns.me.uk/user/htdocs/includes/languages/english/modules/shipping/shipping_estimator.php) [function.include]: failed to open stream: No such file or directory in E:\domains\u\uniquedesigns.me.uk\user\htdocs\admin\modules.php on line 173
Warning: include() [function.include]: Failed opening 'e:/domains/u/uniquedesigns.me.uk/user/htdocs/includes/languages/english/modules/shipping/shipping_estimator.php' for inclusion (include_path='.;C:\php5\pear') in E:\domains\u\uniquedesigns.me.uk\user\htdocs\admin\modules.php on line 173
Fatal error: Call to a member function count_contents() on a non-object in E:\domains\u\uniquedesigns.me.uk\user\htdocs\includes\modules\shipping\shipping_ estimator.php on line 28
I have looked for any errors on these files and have changed the optional extras back to how they were before but its not resolved the problem now 3 hours later I'm fed up! Any help much appreciated!
Re: New Royal Mail Modules
do you have a file here ?
includes/languages/english/modules/shipping/shipping_estimator.php
because that seems to be the source of the problems. Is it readable by the web server ? it is "odd" that this error appears in the admin side of the site too, unfortunately I have no experience in these modules on a windows platform (I wrote them) so may not be able to help.
Also what I find a little strange is that there should never be a file in that location in the first place. The files below are the only estimator files that should be present on a default ZC 1.3.8
./includes/languages/english/popup_shipping_estimator.php
./includes/modules/pages/popup_shipping_estimator/header_php.php
./includes/modules/pages/popup_shipping_estimator/jscript_addr_pulldowns.php
./includes/modules/shipping_estimator.php
./includes/templates/template_default/buttons/english/button_shipping_estimator.gif
./includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php
./includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
did you place anything in admin/includes/modules or somewhere over the admin side by mistake ?
Philip.
Re: New Royal Mail Modules
Hi Philip, no I don't have the shipping_estimator file there should I?
I loked but I can't see that I have changed anyhting in the admin/modules section.
I also check all the other files that you gave me and I don't have these installed
./includes/modules/pages/popup_shipping_estimator/header_php.php
./includes/modules/pages/popup_shipping_estimator/jscript_addr_pulldowns.php
in the above I just have /popup_shipping_estimator
i can't find the below file either...
./includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php
Re: New Royal Mail Modules
I have added the shipping_estimator file in includes/languages/english/modules/shipping/shipping_estimator.php and the first 2 warning message have gone, now Im only getting-
Fatal error: Call to a member function count_contents() on a non-object in E:\domains\u\uniquedesigns.me.uk\user\htdocs\includes\languages\english\modules\ shipping\shipping_estimator.php on line 28
Re: New Royal Mail Modules
Update-I found this file...
./includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php
sorry I'm new to all this shipping before I just had free shipping and I'm tempted to go back to that but befoe I can change anything I need to sort this problem out!
Re: New Royal Mail Modules
Okay I suspect that you initially put a file in the wrong place since this error is showing up in admin. None of the royal mail modules call the shipping estimator inside admin it is only a shopping cart function, so what I think has happened (and this is only a guess) is that somewhere you've got a shipping estimator file in one of the admin folders and admin is trying to load it as a shipping module. Whatever is happening, it doesn't affect the modules on the shopping side so the price calculations should still be correct. I'm going to try and recreate the problem on a test server.
Philip.
Re: New Royal Mail Modules
Yes you have a file in the wrong place. You have shipping_estimator.php in
e:/domains/u/uniquedesigns.me.uk/user/htdocs/includes/modules/shipping/
shipping_estimator should be one folder upwards.
Philip.
Re: New Royal Mail Modules
Thats it!!!!
Oh thank you thank you thank you!! I think that's aged me by 5 years! lol:D
Re: New Royal Mail Modules
Good now you should probably move the admin folder as recommended by the security guidelines here :
http://www.uniquedesigns.me.uk/docs/...endations.html
since you've posted your site to the world on this forum !
1 Attachment(s)
Re: New Royal Mail Modules
Hi Philip
I ahve set your shipping system up on this site http://www.tackstore.co.uk/shop/.
I just renamed a few shipping options via the language files.
The only thing is, which i don't have on another site which uses the same system, I seem to be having the Kgs displayed, e.g. 3.000 kg(s), as per attachment.
I can't see whay this is happening as there is no setting for 3 kg, the product isn't 3 kg, etc.
Can you think what the issue might be?
Matt