close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

New Database return errors from the index.htm

Thread began 6/13/2010 12:27 am by ken317419 | Last modified 6/16/2010 9:28 am by Jason Byrnes | 1573 views | 13 replies |

ken317419

New Database return errors from the index.htm

Startup Page you provided returns the following error on almost every script listed>

This was for the script users_Registration_Simple.php

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php on line 3
No database selected

this is the page I am working from
startup.htm (I already had an index page for the site)

Sign in to reply to this post

CraigRBeta Tester

the link to the url posted does not work

The "headers already sent" error is usually caused by having white space or text before or after the opening and closing PHP tags (<?php . . . ?>).

it is widely documented on the net.

check this on your page, and on any 'required' or 'includes' pages as to the cause

Sign in to reply to this post

Jason ByrnesWebAssist

see the following page for information on the case and solution to the headers already sent error:
148/

Sign in to reply to this post

ken317419

Web address

I just check the link again startup.htm and it appears to be working.
On the default registration page (from the page you provide) when I click on user registration I get the following errors:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php on line 3

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php on line 3
No database selected

Your help would be appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

the error is reporting a problem in the Connections/localhost.php file around line 13

output started at /home/beyetran/public_html/Connections/localhost.php:13

Look in that file around line 13 for a blank space:
148/

Sign in to reply to this post

ken317419

Local Host File

Copy of localhost.

<?php
# FileName="Connection_php_mysql.htm"
# /home/mysql/beyetran_ur
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "localhost";
$database_localhost = "/home/mysql/beyetran_ur";
$username_localhost = "beyetran_admin";
$password_localhost = "uT4pxxV3";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>

This is the file. If you would like to look at the site I will gladly give you access permissions and username and password. This site is in development so nothing is secret. Thanks for your help.

Sign in to reply to this post

neilo

Hiya Ken,


Are you sure of your connection database setting in this line?

$database_localhost = "/home/mysql/beyetran_ur";

I haven't seen the mysql directory path being used before; I would have thought it would be just:

$database_localhost = "beyetran_ur";

Sign in to reply to this post

ken317419

Changed the database line and issued the registration.php . Got a form with fields plus the following error at the top of the page

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php on line 3

Sign in to reply to this post

ken317419

Registration page did allow the registration even with the errors on the top of the page. Sent the verification email with the verification link. Executed the link and it came to the log on page. the Log on page had the error messages at the top. Entered the email / password
and pressed log on and got a page with the following errors.
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php on line 3

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/users_LogIn.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/users_LogIn.php on line 33

Warning: Cannot modify header information - headers already sent by (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/users_LogIn.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/users_LogIn.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/users_LogIn.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /home/beyetran/public_html/Connections/localhost.php:13) in /home/beyetran/public_html/WA_SecurityAssist/Helper_PHP.php on line 38

Sign in to reply to this post

ken317419

Admin Search errors

After registering a user (me) I went the Admin section and logged on. Got the same two errors as before but did see the graph with a user shown. Did a search by email and got the following page See attachment with the errors shown.

Advise ... we are making progress

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