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

Problem with Cart

Thread began 7/02/2010 3:43 pm by J7HNW | Last modified 7/07/2010 3:02 pm by Eric Mittman | 2369 views | 21 replies |

J7HNW

Problem with Cart

I have just run through the checkout Wizard and completed all forms. I set it to use Sagepay Server

All appears to have worked until you enter address etc and press the button. The confirmation page comes up and then you press another button.

I am then getting this error

Warning: Missing argument 6 for waue_definition() in C:\inetpub\vhosts\hair-for-men.com\httpdocs\WA_Universal_Email\mail_PHP.php on line 69

Fatal error: Call to undefined function: microtime_float() in C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php on line 176

I do not understand this as the site is in c:\xampp \htdocs\hairformen and not in inetpub.

Is this the problem ? The WIzard showed the path to Xampp !!!! Very confused - my first e cart 5 project !

Please advise. I attach both files Zipped files - copied from the XAmpp\htdocs\hairformen folder. Very urgent please - must have running by Sunday.

Attached Files
Desktop.zip
Sign in to reply to this post

Eric Mittman

How have you setup your local site and testing server setting in DW? Unless you have this same location mapped to a virtual directory in your IIS I'm not sure why you would get this error. It looks like a server configuration issue.

Sign in to reply to this post

J7HNW

Server

My Testing Server is set up as :
c:\xampp\htdocs\hairformen\httpdocs\
URL Prefix: httpdocs

My Local server is set up as:
Local root folder: C:\xampp\htdocs\hairformen\httpdocs\
Default images folder: C:\xampp\htdocs\hairformen\httpdocs\graphics\

Links relative to document - ticked

HTTP address: 188.65.32.201/httpdocs/


I am running this live now anyway - so it is not the testing server but the real site which is throwing up this error. The Site is fine - all dynamic pages and cart are working fine. I have just simply gone through the checkout wizard - which again showed the paths correctly and this is what I get.

URGENT ADVICE required please from anybody

Sign in to reply to this post

tom250037Beta Tester

It looks like you have code in here for universal email version 3, and version 4 in the same page. I dont know if that can cause an issue.
on confirm.php lines 127 through 140 send out an email whose content is in WA_Universal_Email/WAUE_confirm_1.php using Universal email 3.0

on confirm.php lines 141 through 228 it sends out another email whose content is in webassist/email/waue_confirm_1.php using Universal email 4.0

Its in this block that the fatal error microtime_float() is occurring. microtime_float() is a function defined in webassist/email/mailformatting_php.php.

Are you sure you uploaded all your include files, especially the /webassist/ folder?

Thanks
Tom

Sign in to reply to this post

J7HNW

Still a problem

Hi Tom and thank you so much for your help

I have removed the older UEM3 code and the microtime_float has disappeared - well done .

However i am now getting the following code all of which still refers to inetpub\vhosts despite the fact that the site is all set up in Xampp ( See attached screenshot directly from the Server admin panel )

Any ideas please ?

Thank you

John

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php:130) in C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php on line 182

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php:130) in C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php on line 182

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php:130) in C:\inetpub\vhosts\hair-for-men.com\httpdocs\webassist\email\mail_php.php on line 285

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php:130) in C:\inetpub\vhosts\hair-for-men.com\httpdocs\webassist\email\mail_php.php on line 285

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php:130) in C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php on line 212

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php:130) in C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php on line 212

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php:130) in C:\inetpub\vhosts\hair-for-men.com\httpdocs\confirm.php on line 259

Sign in to reply to this post

tom250037Beta Tester

that path C:\inetpub\vhosts\hair-for-men.com\httpdocs\ is the full path on your remote server (must be a windows server).

I would look near line 130 on confirm.php. I would guess that you left a blank line between a closing php tag and the next opening php tag like this
?>

<?

remove any blank lines this that are outside of the php tags. That is what is triggering your error.

Thanks
Tom

Sign in to reply to this post

J7HNW

Thank you Tom - you are a atar !

This post has been deleted.

J7HNW

Thank you Tom - you did it again !!

Tom

Thank you so much - you pinpointed the 2nd problem - which was a blank space on line 129.

All now working

I cannot thank you enough for your expertise.

Best regards

John

Sign in to reply to this post

J7HNW

Is this correct

Sorry - Tom has kindly helped me out and no I am showing no errors on the confirm.php page. However when I press after adding my Shipping info and then press the SUBMIT ORDER button on the "confirm.php" page - I am getting this error instead of being sent to Sagepay

Transaction Not Completed
We're sorry
Your transaction could not be completed.

Please can you help. I am really sorry to have to keep asking questions - but this is my first ever PHP MySQL site. I have no idea what is wrong or where to start looking.

Interestingly though I have received the E Mail receipt for the test order. WHy is it not sending the customer toSagepay please ?

Thank you

John

Sign in to reply to this post

tom250037Beta Tester

You are very welcome. Glad I could be of assistance.

Tom

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