close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PowerStore 4.5 Checkout Error

Thread began 1/17/2012 1:36 pm by Erikk D. Lee | Last modified 2/06/2012 11:24 am by Jason Byrnes | 3395 views | 18 replies |

Erikk D. Lee

PowerStore 4.5 Checkout Error

This is the error message we get when we try to run a transaction. It errors out in Google Chrome but just sits there spinning in IE9.


This webpage has a redirect loop

The webpage at checkout_failure.php has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

Here are some suggestions:
• Reload this webpage later.
• Learn more about this problem.

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

Sign in to reply to this post

Jason ByrnesWebAssist

try changing line 2-5 of the checkout_failure.php page:

php:
if (!empty($_SERVER['HTTPS'])) {

  header("location: http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']);
  die();
}



to:

php:
/*if (!empty($_SERVER['HTTPS'])) {

  header("location: http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']);
  die();
}*/
Sign in to reply to this post

Erikk D. Lee

Next error

Made the change to checkout failure script and now I receive an error on the confirm.php page. IE9 only tells me that either the website is under maintenance or it has a programming error.

Thoughts?

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code at line 1 of the confirm page to turn error reporting on and try in a different browser than IE 9, it may give more info:

php:
<?php

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

Erikk D. Lee

Here's the new error details

$blockMainMenu = true; $blockSideMenu = true; require_once('webassist/themes/theme_open.php'); $WAIncludeContent = new WA_Include(__FILE__); ?> 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 '-5.0/no DST' instead in E:\Inetpub\wwwroot\nextacoustics.com\html\confirm.php on line 11 Fatal error: Class 'WA_Include' not found in E:\Inetpub\wwwroot\nextacoustics.com\html\confirm.php on line 11

Sign in to reply to this post

Jason ByrnesWebAssist

it looks like you have misplaced an opening or closing php tag when adding the error reporting code which is causing other errors.

the main error is:
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 '-5.0/no DST'

this is happening because the date.timezone is not set in the php.ini file on the server, this needs to be set.
it should look something like:

date.timezone = America/New_York


you may have to contact your host to have them correct the date timezone setting.

Sign in to reply to this post

Erikk D. Lee

Still error troubles

I cut and pasted the error script into line 1 of the confirm.php and in testing I'm getting the following error:

$blockMainMenu = true; $blockSideMenu = true; require_once('webassist/themes/theme_open.php'); $WAIncludeContent = new WA_Include(__FILE__); ?> Fatal error: Class 'WA_Include' not found in E:\Inetpub\wwwroot\nextacoustics.com\html\confirm.php on line 11

I did have our server site work on the time/date issue and they say the server successfully accepted the new php.ini changes so hopefully that's not an issue anymore.

Any thoughts on the error above?

Sign in to reply to this post

Jason ByrnesWebAssist

there is a misplaced opening or closing php tag. that is not an error, it is php code.

send a copy of the page so I can see the code to determine the cause.

Sign in to reply to this post

Erikk D. Lee

Actually

I pulled the error reporting code from confirm.php and I'm actually getting through to the checkout_failure page saying transaction cannot be completed now. So I added the error reporting code to the checkout_failure page at line 1 and here is the error:

/*if (!empty($_SERVER['HTTPS'])) { header("location: http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']); die(); }*/ require_once('webassist/themes/theme_open.php'); $WAIncludeContent = new WA_Include(__FILE__); ?>
Transaction Not Completed

We're sorry

Your transaction could not be completed. Either your credit card information or billing address has problems and cannot be processed

Notice: Undefined variable: WAGLOBAL_Debug_Mode in E:\Inetpub\wwwroot\nextacoustics.com\html\checkout_failure.php on line 44
Please return to checkout and try again, or contact us.

Notice: Undefined variable: _SESSION in E:\Inetpub\wwwroot\nextacoustics.com\html\checkout_failure.php on line 63 Notice: Undefined variable: WAIncludeContent in E:\Inetpub\wwwroot\nextacoustics.com\html\webassist\themes\theme_close.php on line 3 Fatal error: Call to a member function Initialize() on a non-object in E:\Inetpub\wwwroot\nextacoustics.com\html\webassist\themes\theme_close.php on line 3

Does that tell you anything worthwhile?

Sign in to reply to this post

Jason ByrnesWebAssist

again, that's not really an error, it's hp code. it means there is a missing php tag somewhere.


send a copy of the page and I can tell you where the tag is missing from.

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