close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart 5 shipping error message, need urgent help

Thread began 4/02/2010 2:33 pm by lilisosad391796 | Last modified 4/06/2010 8:40 pm by Jimmy Wu | 999 views | 6 replies |

lilisosad391796

ecart 5 shipping error message, need urgent help

I am trying to test the checkout pages and it takes me to the error message page which says:

"S is not a valid unit of measurement for weight for this shipment"

I can't get past this error message, therefore I can't test the rest of the checkout pages...help!!!!!

Sign in to reply to this post

Jimmy Wu

Take a look at your confirm.php page and do a search for: WeightUnits

It appears that the value is set to "S", when it should be "LBS"

Sign in to reply to this post

lilisosad391796

error message time zone

Hi, I changed the "S' value in Weight Units and it shows the checkout confirmation page, EXCEPT now I get an error message regarding the time zone:

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /Library/WebServer/Documents/azulsite09/confirm.php on line 277

The checkout button is not showing either and instead it shows this message:

<input type="hidden" name="x_fp_timestamp" id="x_fp_timestamp" value="
Fatal error: Call to undefined function mhash() in /Library/WebServer/Documents/azulsite09/WA_eCart/checkoutScripts/WA_simlib.php on line 30


Now here is the code for line 277:

$WA_fieldValuesStr = WA_eCDB_ConvertNumber("".$AzulConservationStore->GrandTotal() ."") . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_firstname'])?$_SESSION['eCartCheckoutForm_shipping_firstname']:$_SESSION['eCartCheckoutForm_firstname']) ." ".(isset($_SESSION['eCartCheckoutForm_shipping_lastname'])?$_SESSION['eCartCheckoutForm_shipping_lastname']:$_SESSION['eCartCheckoutForm_lastname']) ."" . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_street1'])?$_SESSION['eCartCheckoutForm_shipping_street1']:$_SESSION['eCartCheckoutForm_street1']) ."" . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_street2'])?$_SESSION['eCartCheckoutForm_shipping_street2']:$_SESSION['eCartCheckoutForm_street2']) ."" . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_city'])?$_SESSION['eCartCheckoutForm_shipping_city']:$_SESSION['eCartCheckoutForm_city']) ."" . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_state_province'])?$_SESSION['eCartCheckoutForm_shipping_state_province']:$_SESSION['eCartCheckoutForm_state_province']) ."" . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_postcode'])?$_SESSION['eCartCheckoutForm_shipping_postcode']:$_SESSION['eCartCheckoutForm_postcode']) ."" . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_country'])?$_SESSION['eCartCheckoutForm_shipping_country']:$_SESSION['eCartCheckoutForm_country']) ."" . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_phone'])?$_SESSION['eCartCheckoutForm_shipping_phone']:$_SESSION['eCartCheckoutForm_phone']) ."" . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_fax'])?$_SESSION['eCartCheckoutForm_shipping_fax']:$_SESSION['eCartCheckoutForm_fax']) ."" . "|" . WA_eCDB_ConvertNumber("".$AzulConservationStore->GetShipping() ."") . "|" . WA_eCDB_ConvertNumber("".$AzulConservationStore->GetTax() ."") . "|" . "".(isset($_SESSION['eCartCheckoutForm_shipping_email'])?$_SESSION['eCartCheckoutForm_shipping_email']:$_SESSION['eCartCheckoutForm_email']) ."" . "|" . "".(date('Y-m-d h:i:s')) ."";


Thanks for your help!

Sign in to reply to this post

lilisosad391796

keep getting error messages from ecart checkout pages

please advice. I cant get past this error.

Sign in to reply to this post

Jimmy Wu

Please be patient, our support doesn't run over the weekends.

For the first warning, you just have to make a call to set the time zone explicitly before line 277:
function.date-default-timezone-set.php

For the second error, make sure that all your files have been uploaded to the server when you are testing.

Sign in to reply to this post

lilisosad391796

exporting the database

now the upload part. how do i export the database so i can continue testing? I already tried using phpmyadmin and directly from sql administrator. thanks.

Sign in to reply to this post

Jimmy Wu

Not quite sure what you're asking. There are plenty of tutorials on how to export a database using phpmyadmin like this one:
mysql-database-backup-restore-phpmyadmin.php

Sign in to reply to this post

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...