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

NO REDIRECT - urgent help needed

Thread began 10/24/2012 10:50 am by alib75702 | Last modified 10/25/2012 10:53 am by Jason Byrnes | 716 views | 5 replies |

alib75702

NO REDIRECT - urgent help needed

I have put a straightforward add to cart button on a page - but the page will not redirect. Please can you take a look and see why this isn't working for me. The page can be found at:

help4health_products.php

Sign in to reply to this post

Jason ByrnesWebAssist

could be a php error occurring causing the redirect to fail.

add the following code at line to turn on error reporting for troubleshooting purposes:

php:
<?php

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



let me know when that code has been added and i'll take a look.

also, if you could send a copy of the /help4health_products.php page in a zip archive so i can examine the code, that would be helpful.

Sign in to reply to this post

alib75702

Error messaging on

I have turned error messaging on but nothing showing ... also I am attaching a zip of the file. I have struggled with this on another bit of the site and got round it with a bit of handcoding but I would like to get it to work how it should. Thanks for your prompt help on this.

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

Jason ByrnesWebAssist

I see a couple places where there are spaces outside of the php tags, spaces outside of the PH tags will cause the redirects to break.

the first place is a space before the first php tag at line 1. the code at line one starts with a blank space:
" <?php"

that blank space should not be there:
"<?php"


the second instance is a blank line at line 12.

lines 9 - 13 are:

php:
<?php

$eCart1
->GetContent();
?>

<?php require_once('Connections/help4health.php'); ?>



the blank line at line 12 should be removed:

php:
<?php

$eCart1
->GetContent();
?>
<?php 
require_once('Connections/help4health.php'); ?>
Sign in to reply to this post

alib75702

soaces

Hi - have removed the spaces and I am afraid it makes no difference! I would think if the spaces would make the redirect fail it would also make the addition to the basket fail too wouldn't it?

Sign in to reply to this post

Jason ByrnesWebAssist

no, the spaces would not effect adding the item to the basket, it would only efect the redirect.

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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