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

Redirect failure on insert

Thread began 12/10/2012 7:58 pm by nickj | Last modified 12/11/2012 11:55 am by Jason Byrnes | 315 views | 2 replies |

nickj

Redirect failure on insert

Error from the top of the page:Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/breastsu/public_html/registrant/index2013.php:1) in /home/breastsu/public_html/_php/_startup.php on line 36

Notice: Use of undefined constant session_start - assumed 'session_start' in /home/breastsu/public_html/registrant/index2013.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /home/breastsu/public_html/registrant/index2013.php:1) in /home/breastsu/public_html/registrant/index2013.php on line 188

Why no redirect?

Thanks

Nick

Attached Files
index2013.php.zip
Sign in to reply to this post

Ian S

Hi Nick,

You have white space (output) between PHP tags on line 1 before <?php, line four after ?> and also at Line 97.

First thing to do is try removing them and see if it fixes the issue.

Cheers
Ian

Sign in to reply to this post

Jason ByrnesWebAssist

Like Ian has pointed out, the white space at the beginning of line 1 and end of line 4 needs to be corrected.


also at line 8, you have incorrect syntax for the session_start() function. line 8:

php:
session_start;



should be:

php:
session_start();




to prevent posible header already started error's, I prefer to suppress errors on the session start call by using this code:

php:
@session_start();
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...