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

ISSSUE WITH ECART AND BLANK PAGE

Thread began 11/13/2014 11:51 am by Solis Web Design And Hosting | Last modified 11/14/2014 10:50 am by Jason Byrnes | 1384 views | 9 replies |

Solis Web Design And Hosting

ISSSUE WITH ECART AND BLANK PAGE

We are facing an issue that after we checkout and select the merchant paypal direct as payment and enter the information the cart processes our credit card but it shows a blank page right after we enter the credit card info and we submit even though the credit card gets charged

Sign in to reply to this post

Jason ByrnesWebAssist

a blank page means that a php error is occurring but error reporting is turned off.

to turn error reporting on, add the following code at line 1:

<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>



once we know what the error is, we will be able to troubleshoot the cause.

Sign in to reply to this post

Solis Web Design And Hosting

here is the error i got

Warning: PP_DirectPayment_Post(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/hsphere/local/home/allstartrainers/allstartrainers.com/WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php on line 118 Notice: Undefined variable: billingAgreements in /home/hsphere/local/home/allstartrainers/allstartrainers.com/WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php on line 118 Warning: PP_DirectPayment_Post(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/hsphere/local/home/allstartrainers/allstartrainers.com/WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php on line 281 Notice: Undefined variable: billingAgreements in /home/hsphere/local/home/allstartrainers/allstartrainers.com/WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php on line 281 Warning: main(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/hsphere/local/home/allstartrainers/allstartrainers.com/confirm.php on line 305 Fatal error: Call to undefined function WA_eCDB_ConvertNumber() in /home/hsphere/local/home/allstartrainers/allstartrainers.com/confirm.php on line 305

Sign in to reply to this post

Jason ByrnesWebAssist

This is a php server issue.

The host should be able to update the php.ini file for you to set the default timezone to prevent that error from occurring. It happens if the default time zone is not set in the php.ini.

alternately, you can add the following code to the page to set the time zone:

<?php 
date_default_timezone_set('America/New_York');
?>



The list of valid timezones is here...

http://www.php.net/manual/en/timezones.php


it is best to have the host fix it in the php.ini file though so you don't keep running into it in other places.

Sign in to reply to this post

Solis Web Design And Hosting

added code to see if that's the issue and it still gave this error

Notice: Undefined variable: billingAgreements in /home/hsphere/local/home/allstartrainers/allstartrainers.com/WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php on line 121 Notice: Undefined variable: billingAgreements in /home/hsphere/local/home/allstartrainers/allstartrainers.com/WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php on line 284 Fatal error: Call to undefined function WA_eCDB_ConvertNumber() in /home/hsphere/local/home/allstartrainers/allstartrainers.com/confirm.php on line 312

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Solis Web Design And Hosting

Information is in private message

Sign in to reply to this post

Jason ByrnesWebAssist

I Updated the WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php and confirm.php pages, the errors should be fixed.

Sign in to reply to this post

Solis Web Design And Hosting

still getting error..

Notice: Undefined variable: billingAgreements in /home/hsphere/local/home/allstartrainers/allstartrainers.com/WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php on line 121 Warning: require(wa_receipt_12.php): failed to open stream: No such file or directory in /home/hsphere/local/home/allstartrainers/allstartrainers.com/webassist/email/mailformatting_php.php on line 151 Warning: require(wa_receipt_12.php): failed to open stream: No such file or directory in /home/hsphere/local/home/allstartrainers/allstartrainers.com/webassist/email/mailformatting_php.php on line 151 Fatal error: require(): Failed opening required 'wa_receipt_12.php' (include_path='.:/hsphere/shared/php53/lib/php') in /home/hsphere/local/home/allstartrainers/allstartrainers.com/webassist/email/mailformatting_php.php on line 151

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, i updated the WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php file again, should be fixed now.

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