The addressed URL was modified by Qphoria ... not from Daniel ... is this the solution you pointed out as not working ?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yes by Q then just under by Dan.
Then Daniel says:Re: OpenCart 1.5.1.3 Bug Thread
Postby Qphoria » Sat Oct 08, 2011 8:17 pm
BUG: UPS and USPS won't work at the same time....
This is because of the new price sorting function that I put into both shipping options. Didn't realize it would leave them loaded. So it actually errors out because it is being redeclared if they are both enabled. This is in 1.5.1.3 only.
The quick fix:
1. EDIT: catalog/model/shipping/ups.php
2. FIND:
function comparecost ($a, $b) {
return $a['cost'] > $b['cost'];
}
uasort($quote_data, 'comparecost');
3. REPLACE WITH:
2. FIND:
function upscomparecost ($a, $b) {
return $a['cost'] > $b['cost'];
}
uasort($quote_data, 'upscomparecost');
Tried both ways and still no joy at making the checkout page workdeclaring functions in side of classes is not the way to do things!
try this:
uasort($quote_data, array($this, 'comparecost'));
Have you cleared your cache and temp files then close browser then retried the checkout process to see if there were different results before stating there's no joy ?
The stored session will stick into checkout until either the checkout is completed or until the user clears its settings even though the stored session may be stored for a temporary time on the customer end.
The stored session will stick into checkout until either the checkout is completed or until the user clears its settings even though the stored session may be stored for a temporary time on the customer end.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Unfortunately, many has reported issues on that end and hope to have a fix from the dev team soon enough. :/
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I think I figured it out.
I had this situation of not going on after 2 step or 3rd step when there was some encode problem with the language files. When it contained some accent letter, like éá, and the code of one or two pages containing the translation was not in Unicode (UTF8) but was in Western-European. Cart did not go on.
When I fixed the coding of those pages, the problem solved 100%.
Jozsef
I had this situation of not going on after 2 step or 3rd step when there was some encode problem with the language files. When it contained some accent letter, like éá, and the code of one or two pages containing the translation was not in Unicode (UTF8) but was in Western-European. Cart did not go on.
When I fixed the coding of those pages, the problem solved 100%.
Jozsef
Any fix? Is this just an isolated issue with 1.5.1.3? Bummer as without a fix it's pretty much an unusable cart for most...
Self Taught Opencart User & Developer Since 2010.
It is "fixed" (not in the currentfiles that you download from the opencart website, maybe david can get on that?) I think it's a really essential module at least for the massive US user base who relay on UPS.
I was kindly directed to a thread which is a little confusing because Qphoria and David get into discussing the fix.
I replaced the code as per instructed.
The quick fix:
1. EDIT: catalog/model/shipping/ups.php
2. FIND:
function comparecost ($a, $b) {
return $a['cost'] > $b['cost'];
}
uasort($quote_data, 'comparecost');
3. REPLACE WITH:
2. FIND:
function upscomparecost ($a, $b) {
return $a['cost'] > $b['cost'];
}
uasort($quote_data, 'upscomparecost');
I ignored the next line and further back and forth between David and Q because it got confusing and I had no clue what they were talking about. I'm not a programmer.
SO, bottom line, just replace the text. I've also added my changed UPS php file. Try it, maybe it'll work for you.
I was kindly directed to a thread which is a little confusing because Qphoria and David get into discussing the fix.
I replaced the code as per instructed.
The quick fix:
1. EDIT: catalog/model/shipping/ups.php
2. FIND:
function comparecost ($a, $b) {
return $a['cost'] > $b['cost'];
}
uasort($quote_data, 'comparecost');
3. REPLACE WITH:
2. FIND:
function upscomparecost ($a, $b) {
return $a['cost'] > $b['cost'];
}
uasort($quote_data, 'upscomparecost');
I ignored the next line and further back and forth between David and Q because it got confusing and I had no clue what they were talking about. I'm not a programmer.
SO, bottom line, just replace the text. I've also added my changed UPS php file. Try it, maybe it'll work for you.
Attachments
my changed ups module
Self Taught Opencart User & Developer Since 2010.
Then it's maybe your settings. I mean it works for me. Are you using a UPS account? try disabling the USPS module?
Self Taught Opencart User & Developer Since 2010.
No. there is no issue with using UPS on its own or USPS on its own or any other shipping. It was only the combo of UPS and USPS which rainforest has found to resolve the issue. If you are having issues with just one then it is likely something else. You should be using the checkout patch here to get a better error message:SoulV wrote:Im not using ups. Just weight based shipping. All are disabled.
its like the Ajax clogs up. too much demand?????
http://forum.opencart.com/viewtopic.php?f=133&t=45863
Also you can use firebug to track errors using this guide:
http://forum.opencart.com/viewtopic.php?f=144&t=43803
I think your on to it Q! This is the 1st glimmer of hope since Nov 25th!
The video you linked to is my error, apart from the error notice does not show.
Is it worth me adding your vQmod to combat these errors?
I used firebug and threw me this: (attached a screen shot here http://www.bleujenflorist.com/flowersho ... terror.JPG)
jquery.min.js (line 4)
GET http://www.bleujenflorist.com/flowersho ... s/shipping
403 Forbidden 93ms
jquery.min.js (line 4)
POST http://www.bleujenflorist.com/flowersho ... s/shipping
403 Forbidden 68ms
The video you linked to is my error, apart from the error notice does not show.
Is it worth me adding your vQmod to combat these errors?
I used firebug and threw me this: (attached a screen shot here http://www.bleujenflorist.com/flowersho ... terror.JPG)
jquery.min.js (line 4)
GET http://www.bleujenflorist.com/flowersho ... s/shipping
403 Forbidden 93ms
jquery.min.js (line 4)
POST http://www.bleujenflorist.com/flowersho ... s/shipping
403 Forbidden 68ms
I'm not getting 403 on those links.. Maybe something you have setup in htaccess?SoulV wrote:I think your on to it Q! This is the 1st glimmer of hope since Nov 25th!
The video you linked to is my error, apart from the error notice does not show.
Is it worth me adding your vQmod to combat these errors?
I used firebug and threw me this: (attached a screen shot here http://www.bleujenflorist.com/flowersho ... terror.JPG)
jquery.min.js (line 4)
GET http://www.bleujenflorist.com/flowersho ... s/shipping
403 Forbidden 93ms
jquery.min.js (line 4)
POST http://www.bleujenflorist.com/flowersho ... s/shipping
403 Forbidden 68ms
I know, me too. Strange eh? My .htaccess is pretty standard (shown below).
The continue button works sometimes... but other times it throws those errors???
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^bleujenflorist.com [nc]
rewriterule ^(.*)$ http://www.bleujenflorist.com/$1 [r=301,nc]
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.bleujenflorist.com/$1 [R=301,L]
redirect 301 /bude-florist-news.html http://florist-bude.blogspot.com/
The continue button works sometimes... but other times it throws those errors???
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^bleujenflorist.com [nc]
rewriterule ^(.*)$ http://www.bleujenflorist.com/$1 [r=301,nc]
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.bleujenflorist.com/$1 [R=301,L]
redirect 301 /bude-florist-news.html http://florist-bude.blogspot.com/
I didn't thoroughly read what other people have done here, but I found this thread because I too was getting stuck at step 2 and step 3.
The fix was to disable the "Free Shipping" shipping option.
Extensions > Shipping > Free Shipping = disable.
I re-enabled this module and it gets stuck again during the checkout process. Only when it's disabled will the checkout process advance. Hopefully that helps some people.
The fix was to disable the "Free Shipping" shipping option.
Extensions > Shipping > Free Shipping = disable.
I re-enabled this module and it gets stuck again during the checkout process. Only when it's disabled will the checkout process advance. Hopefully that helps some people.
My store is awesomely powered by OpenCart 1.5.5.1.
Who is online
Users browsing this forum: No registered users and 64 guests