close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

session_start() error

Thread began 6/08/2009 3:04 pm by lee266802 | Last modified 6/10/2009 6:07 am by Ray Borduin | 3901 views | 7 replies |

lee266802

session_start() error

I am having a problem with a page when it loads I get the following warning message:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/firthweb/public_html/add_inv_create_items.php:1) in /home/firthweb/public_html/WA_SecurityAssist/Helper_PHP.php on line 5

Line 5 of Helper_PHP.php is:

session_start();

Sign in to reply to this post

Ray BorduinWebAssist

You probably have to move the include file: add_inv_create_items.php

below the Helper_PHP include file for it to work properly.

Sign in to reply to this post
Did this help? Tips are appreciated...

lee266802

add_inv_create_items.php is the name of the file, not an include. Here is a list of the includes in the order they appear at the top of add_inv_create_items.php.

<?php require_once('Connections/firthweb_data.php'); ?>
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php require_once("WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php require_once('function_numbers.php'); ?>

Sign in to reply to this post

Ray BorduinWebAssist

What is on the first line of add_inv_create_items.php?

Is there a blank line or empty space between the includes?

The error implies there is a blank line or space on line 1 of that file.

Sign in to reply to this post
Did this help? Tips are appreciated...

lee266802

Originally Said By: Ray Borduin
  What is on the first line of add_inv_create_items.php?  



The first four lines are as follows:

<?php require_once('Connections/firthweb_data.php'); ?>
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php require_once("WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php require_once('function_numbers.php'); ?>

Originally Said By: Ray Borduin
  Is there a blank line or empty space between the includes?  



No spaces.

Originally Said By: Ray Borduin
  The error implies there is a blank line or space on line 1 of that file.  



It's funny that I don't get this error message on my testing server, only on the production server.

Sign in to reply to this post

Ray BorduinWebAssist

output started at /home/firthweb/public_html/add_inv_create_items.php:1

This means that there is a blank line somewhere or something else being written to the page. A character, even a blank space is usually the "output" it is referring to.

Are there any blank lines in the connection include? If you move that include below, does it still throw an error? You may be able to simply rearrange them? ! I'm really not sure since it doesn't appear you have the common problem that causes this particular issue.

Sign in to reply to this post
Did this help? Tips are appreciated...

lee266802

I have tried rearranging the includes, but it still throws the same error.
If I remove the Security Assist SB, then it doesn't throw an error.
The strange thing is that the same Security Assist SB is on the two preceeding pages and no error is encouintered with those. I copied and pasted the code from one of these pages directly into this page in the same order and it threw the error again. There must be a conflict with some other code somehow, but it doesn't work.

Sign in to reply to this post

Ray BorduinWebAssist

Please post a support incident. Somebody will need to look into this with you. This is not a common problem, so I don't really know the cause.

Sign in to reply to this post
Did this help? Tips are appreciated...

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