close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Fatal Error

Thread began 4/07/2011 8:04 am by scaphis417771 | Last modified 4/07/2011 12:58 pm by Jason Byrnes | 4024 views | 10 replies |

scaphis417771

Fatal Error

This was all working on my testing server yesterday. Today I tried to add incremental shipping to ecart. It did not work so I removed it.

Now I'm am getting this error on my testing server:

Notice: Undefined property: eCart1_Definition::$WeightUnits in C:\xampp\htdocs\johnnylok-xampp\confirm.php on line 421

Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\johnnylok-xampp\WA_eCart\WA_eCart_UPS_PHP.php on line 72

Can you help?

Also, I am using USP and no matter how many items I put in the cart, the shipping amount stays the same. Assuming I can get the error above fixed, how do I tell UPS to calculate shipping according to weight?

Thank you - this is my last step from a long road to completion.

Sign in to reply to this post

scaphis417771

Fatal Error and UPS Shipping

I have my testing server working correctly again.

Now I am down to the final problem.

What do I add to make UPS shipping increase according to weight?

I really appreciate it.

Sign in to reply to this post

Jason ByrnesWebAssist

in the ups shipping server behavior, on the final page, set the packaging option to One Package fro the entire order

and set the package weight to:
<?php echo WA_eCart_FormatNumber($<YourCartName>->TotalColumn('TotalWeight'), true, 1); ?>


where <YourCartName> is the name of your eCart object.

Sign in to reply to this post

scaphis417771

Shipping

I looked at this information and it matches what it indicated above.

Sign in to reply to this post

Jason ByrnesWebAssist

Please copy the code from the package weight setting and post it hear along with a screen shoot showing the package information settings of the UPS server behavior.

Sign in to reply to this post

scaphis417771

Shipping

Here is the code and the screen shot

<?php echo WA_eCart_FormatNumber($eCart1->TotalColumn('TotalWeight'), true, 1); ?>

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

to troubleshoot, add the following code to the confirm page just before the </body> tag:

php:
<pre>
<?php
@session_start();
echo 
"Full Request: ".(isset($_SESSION["eCart1_FullRequest"])?htmlentities($_SESSION["eCart1_UPS_FullRequest"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["eCart1_UPS_FullResponse"])?htmlentities($_SESSION["eCart1_UPS_FullResponse"]):"n/a")."<br /></p>";
?>
</pre>



and post a link where i can see this

Sign in to reply to this post

scaphis417771

Shipping

When I add this code and put the file on the server it defaults right back to cart is empty.
What am I doing incorrectly?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

my apologies, the code should be:

php:
<pre>

<?php
@session_start();
echo 
"Full Request: ".(isset($_SESSION["eCart1_FullRequest"])?htmlentities($_SESSION["eCart1_UPS_FullRequest"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["eCart1_UPS_FullResponse"])?htmlentities($_SESSION["eCart1_UPS_FullResponse"]):"n/a")."<br /></p>";
?>
</pre>
Sign in to reply to this post

scaphis417771

Shipping

It is still going to cart is empty.

Also, now I'm getting this failure message - man - this is the last thing I have to figure out.

3LBS is not a valid unit of measurement for weight for this shipment

I sure hope you can help.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...