Zen Cart Logo
Forums / Addon Shipping Modules / ozpost shipping module

ozpost shipping module

Views: 403,061

Results 1,701 to 1,720 of 2,251
17 Jun 2012, 6:49 AM
#1701
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

ozpost shipping module

robbie269:

Just went into OzPost and it did the automatic update. Now in admin the screen is blank when going into my products. In the cache myDEBUG says: "[17-Jun-2012 15:24:24] PHP Warning: require(includes/modules/product/collect_info.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/ani48156/public_html/store/horstall/product.php on line 138

These errrors were caused because the of security restrictions placed on your server. In most cases (so far) this hasn't caused any 'fatal' errors (like yours) because the same restrictions would normally cause the backups to also fail, meaning that nothing would actually be changed at all. You'd simply not get the benefit of the minor changes made to these particular files.

robbie269:

Did the OzPost update and now I get the blank page like the live site.

Yes, the main ozpost.php file did get updated. It is only the tweaks to these supplimental files that would have failed.

I see that you have found the fix. It is/was just a matter of re-naming the backup/restore files back to thier original names.

I will shortly (hopefully by the end of the day) be pushing out another update that resolves this problem, and will allow these files to be properly updated.

Cheers
Rod

17 Jun 2012, 11:15 PM
#1702
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

It upgraded again this morning. I now have no shipping options. Is it the upgrade or a server problem?

17 Jun 2012, 11:18 PM
#1703
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

Getting this error in the Cache: "[18-Jun-2012 09:16:31] PHP Fatal error: 1146:Table 'ani48156_store.ozpost_cache' doesn't exist :: delete FROM ozpost_cache WHERE cache_entry_created < DATE_SUB(NOW(), INTERVAL 8 HOUR) in /home/ani48156/public_html/store/includes/classes/db/mysql/query_factory.php on line 101"

18 Jun 2012, 12:24 AM
#1704
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

Gone back to version ozpost V3.1.2 and it all works again. I will stay on this version and stick with manual updates until I know the new one works for me.

Robyn

18 Jun 2012, 4:44 AM
#1705
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

robbie269:

Getting this error in the Cache: "[18-Jun-2012 09:16:31] PHP Fatal error: 1146:Table 'ani48156_store.ozpost_cache' doesn't exist :: delete FROM ozpost_cache WHERE cache_entry_created < DATE_SUB(NOW(), INTERVAL 8 HOUR) in /home/ani48156/public_html/store/includes/classes/db/mysql/query_factory.php on line 101"

Easy fix. Just perform an uninstall / install sequence from the control panel.

I've not had a chance to look into exactly why it needs this additional step, but the 'ozpost_cache' table doesn't apper to be getting created during the initial update, it gets created fine during the re-install sequence though.

Cheers
Rod

18 Jun 2012, 5:00 AM
#1706
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

Thanks Rob that fixed it. I still have the problem with the product.php_restore file etc when I updated. Why will mine not update properly?

18 Jun 2012, 5:15 AM
#1707
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

robbie269:

I still have the problem with the product.php_restore file etc when I updated. Why will mine not update properly?

Could you please be a little more specific. There are several stages of processing involved with the updates.

Stage#1. Reading the original files, updating them and saving the modified file(s) to /zencart/cache/ozpost/folder/filename
Stage#2. Renaming the original file to <filename)_restore
Stage#3. Copying the modified files from /zencart/cache/ozpost/ to the original files location.
Stage#4. If no errors detected then delete the work files from /zencart/cache/ozpost/

Each stage has an error check and the error messages displayed/reported will provide a clue as to where the problem is.

Cheers
Rod

18 Jun 2012, 5:29 AM
#1708
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

I think I get to stage#2 but where is /zencart/cache/ozpost/? Is that meant to be under my cache folder?

18 Jun 2012, 5:37 AM
#1709
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

robbie269:

I think I get to stage#2

The error messages will let you/me know for sure.

robbie269:

but where is /zencart/cache/ozpost/? Is that meant to be under my cache folder?

Yes, the 'ozpost' folder get created in your /cache/ folder during the installation/upgrade. It gets deleted after a successful install/upgrade.

If errors occur this folder and its contents remain intact (and can be used for further troubleshooting, or possibly even a manual copy to their intended destinations).

Any further info that you can provide will be greaty appreciated.

Cheers
Rod

18 Jun 2012, 5:50 AM
#1710
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

RodG:

Yes, the 'ozpost' folder get created in your /cache/ folder during the installation/upgrade. It gets deleted after a successful install/upgrade.

If errors occur this folder and its contents remain intact (and can be used for further troubleshooting, or possibly even a manual copy to their intended destinations).

Well there is no ozpost folder under my cache folder. So maybe I get to Stage#2 but miss Stage#1.:dontgetit

18 Jun 2012, 6:25 AM
#1711
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

robbie269:

Well there is no ozpost folder under my cache folder. So maybe I get to Stage#2 but miss Stage#1.:dontgetit

OR, it could mean the the upgade was succesful, in which case we're barking up the wrong tree.

The install/upgrade and the re-install process will both provide information on completion. This will either be error message(s) or a successful completion message.

It is important for me to know which of these you are getting. Or perhaps you are getting neither, which means the problem is more serious than I am imagining.

Cheers
Rod

18 Jun 2012, 6:52 AM
#1712
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

No I definetly get the successful completion messages:
Warning Ozpost module upgrade available V3.3.1
Success $Id: ozpost.php,v3.3.1 17th June 2012
Success Bugfix : Fixed problem of sending FastWay requests even when disabled.
Success Updated : installation code. (no longer uses fopen).
Success Updated : installation code. (Now makes a _restore file before making any changes)
Success Updated : Click N send file handling (no longer uses fopen, which was oten dissabled on the server)
Success Improved: caching mechanism (faster response times)
Success Added : tests to not modify premodified files
Success Added : tests for most likely weight factor to be used based on existing store products
Success Added : code to modify the english languages files to reflect chosen weight format
Success The ozpost shipping module has been updated. Please check your settings.
Success Your previously installed module has been saved as ozpost330
Success The ozpost database has been updated. Please CHECK YOUR SETTINGS.

18 Jun 2012, 7:10 AM
#1713
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

robbie269:

No I definetly get the successful completion messages:

Ok, now lets go back to square#1. Exactly what do you mean by "I still have the problem with the product.php_restore file etc".

I really have no idea what "THE problem" is?

Taking the '/english/product.php' file for example, after a successful install/upgrade you will/should have two near identical files in the /english/ folder.
The updated /english/product.php file and the original zencart file, which is now called /product.php_restore.

Are one or the other of these files missing? (which one?)

If both exist, do they both contain data, or is one of them just an empty file?

Cheers
Rod.

18 Jun 2012, 7:55 AM
#1714
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

After the update there is only the product.php_restore file. No product.php. The same for all 3 files.

18 Jun 2012, 8:32 AM
#1715
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

robbie269:

After the update there is only the product.php_restore file. No product.php. The same for all 3 files.

I've just uploaded a new version to the ozpost update servers (V3.3.2). This may not fix your problem, but it should provide a bit more information as to what is going astray (I hope).

Please let me know your results.

Cheers
Rod

18 Jun 2012, 9:10 AM
#1716
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

Did the update 3.3.2.
Products in admin blank
No quotes on website.
Removed and re-installed ozpost in admin as you told me previously.
Now have quotes on website and product details in admin.:smile:
Got the following error when I re-installed:
Warning Notice: The original file (/home/ani48156/public_html/store/---/includes/languages/english/product.php) file has already been modified and will not be updated. Please restore this file with the original zencart file to allow a clean install of this module
Warning Notice: The original file (/home/ani48156/public_html/store/---/includes/modules/update_product.php) file has already been modified and will not be updated. Please restore this file with the original zencart file to allow a clean install of this module
Warning Notice: The original file (/home/ani48156/public_html/store/---/includes/modules/product/collect_info.php) file has already been modified and will not be updated. Please restore this file with the original zencart file to allow a clean install of this module
Warning Ozpost Shipping module Installation/Upgrade successful.

Hope this helps.

18 Jun 2012, 9:47 AM
#1717
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

robbie269:

Did the update 3.3.2.
Products in admin blank
No quotes on website.
Removed and re-installed ozpost in admin as you told me previously.
Now have quotes on website and product details in admin.:smile:
Great to know it's working. Not so great that it still needs another 'kick' to get it started.

robbie269:

Got the following error when I re-installed:
Warning Ozpost Shipping module Installation/Upgrade successful.

Oooer, a warning of success. LOL.

robbie269:

Hope this helps.

All information helps. It tells me what the problem was, but it doesn't quite explain why it got fixed. ... Or maybe it does.

This particular error message is from an 'error' that I expected during an upgrade (it wouldn't occur on a new installation), and simply put, isn't an error at all. The module is supposed to create a copy of the file anyway (without modifiying it), so that it for the rest of the code it gets treated the same way as the other ozpost files. I'm guessing that if I hide these error messages again the problem will return.

Assuming you now have the files that you are supposed to have (a modified copy and a _restore copy of each of these) this particular warning/error can be safely ignored.

Cheers
Rod

18 Jun 2012, 9:07 PM
#1718
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: ozpost shipping module

RodG:

Assuming you now have the files that you are supposed to have (a modified copy and a _restore copy of each of these) this particular warning/error can be safely ignored.
Just to confirm, yes I do have a modified copy and a _restore copy of each file.

19 Jun 2012, 4:53 PM
#1719
lucidlee avatar

lucidlee

Zen Follower

Join Date:
Aug 2005
Location:
Bondi, Australia
Posts:
101
Plugin Contributions:
0

Re: ozpost shipping module

Rod
I've just received a note from a would be customer claiming that my site isn't offering any shipping options. On trying it with my own test account I'm now getting this message at stage 1 of the checkout:

Not Available At This Time

Sorry, we are not shipping to your region at this time.
I'm at a loss to know where this change in behaviour has come from as I spend very little time maintaining the site these days.

When I visited the admin side Ozpost updated itself to v3.3.2 but this issue persists. Can you advise if this notice is part of Ozpost or should I be looking elsewhere to resolve it?

20 Jun 2012, 4:31 AM
#1720
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

lucidlee:

I'm now getting this message at stage 1 of the checkout:
"Sorry, we are not shipping to your region at this time"
<snip>
When I visited the admin side Ozpost updated itself to v3.3.2 but this issue persists. Can you advise if this notice is part of Ozpost or should I be looking elsewhere to resolve it?

It's NOT part of Ozpost, so you probably need to be looking elsewhere.

It doesn't hurt to remove/install the ozpost module to ensure the database and files are in sync though. Your settings will remain intact.

Cheers
Rod