close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart 5 confirm page incomplete

Thread began 8/27/2010 6:04 pm by georgevargasa302189 | Last modified 8/30/2010 4:06 pm by Jason Byrnes | 812 views | 5 replies |

georgevargasa302189

ecart 5 confirm page incomplete

I upgraded to ecart 5 and recreated my site in php to get around a problem I was having with a confirm.asp page in ecart 4.

Now I get a confirm page but it does not contain the checkout buttons at the bottom of the page. Instead there is a time stamp message.

<input type="hidden" name="x_fp_timestamp" id="x_fp_timestamp" value="

I am including a screen shot, and the actual confirm.php file

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

Jason ByrnesWebAssist

most likely a php error is occurring.

add the following to line 1 of the conform page to see the error:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

georgevargasa302189

Here is the resulting message

Fatal error: Call to undefined function mhash() in C:\Inetpub\wwwroot\UltraAirVent\WA_eCart\checkoutScripts\WA_simlib.php on line 30

Sign in to reply to this post

Jason ByrnesWebAssist

sounds like you php does not have the mhash library enabled.

try changing the WA_eCart/checkoutScripts/WA_simlib.php file to use the hash function instead.

change:
return (bin2hex (mhash(MHASH_MD5, $data, $key)));


to:
return (bin2hex (hash(MHASH_MD5, $data, $key)));

Sign in to reply to this post

georgevargasa302189

Thank you that worked.

Do you recommend upgrading to a newer version of PHP or would that possibly make it incompatible with my version of MySQL.

I have my local server working on IIS instead of MAXAMP.
I did this because I still need to use IIS for development.
I found a great article on how to do this called Installing PHP 5.2.3, MySql 5.0, IIS 6.0 on Windows XP install_php_mysql_iis.html

This works perfectly but I am worried about changing things since it works.

Sign in to reply to this post

Jason ByrnesWebAssist

no, you dont need to upgrade, changing that one line should be all you need to do.

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