Deceased
- Join Date:
- Jan 2007
- Location:
- Australia
- Posts:
- 6,263
- Plugin Contributions:
- 4
Post #1841 by rodg
dw08gm:
Yes I realise this. IIRC, back then, this code ($this->SERVER = 'localhost/myshop/' ;) was inserted to enable working on my localhost setup while NOT connected to the internet. Otherwise I would continually get cURL error and server not found messages unless connected to the internet. Unless there is another way around...
I seriously have no explanation, but as stated, this change won't help in any way shape or form. Its only purpose is/was for my use, and it can only work with the appropriate code on the server being defined (in this case, localhost). Without the appropriate code it will either cause a cURL error message (which is a bit misleading, as the same error will be generated even if cURL is fully functional. Strictly speaking the error should read "Unable to retrieve valid data from the server", OR, if used from the front end of the store it'll cause the module to use the 'static rates' for quoting, because it won't be able to retrieve valid quotes from the live servers.
Cheers
Rod