close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Error Redirect Protected Login page

Thread began 9/26/2019 4:00 pm by erinlima318673 | Last modified 10/01/2019 12:57 pm by erinlima318673 | 910 views | 17 replies

erinlima318673

Line 5 of my login page is: <?php require_once('Connections/conn_inventory.php'); ?>

Not sure how my DB connection file is causing the error. HELP!

I have reinstalled the full DataAssist V2 package, tried to recreate my protected login pages 5 times, and I am still getting the same error messages. The login page upon clicking the login button still throws the similar error messages:

Warning: Cannot modify header information - headers already sent by (output started at /home/content/29/8748029/html/Connections/conn_inventory.php:10) in /home/content/29/8748029/html/login2.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /home/content/29/8748029/html/Connections/conn_inventory.php:10) in /home/content/29/8748029/html/login2.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /home/content/29/8748029/html/Connections/conn_inventory.php:10) in /home/content/29/8748029/html/login2.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /home/content/29/8748029/html/Connections/conn_inventory.php:10) in /home/content/29/8748029/html/login2.php on line 43

Warning: Cannot modify header information - headers already sent by (output started at /home/content/29/8748029/html/Connections/conn_inventory.php:10) in /home/content/29/8748029/html/WA_SecurityAssist/Helper_PHP.php on line 37

I see that the error message is pointing to line 10 of my DB connection; line 10 is:

$conn_inventory = mysql_pconnect($hostname_conn_inventory, $username_conn_inventory, $password_conn_inventory) or trigger_error(mysql_error(),E_USER_ERROR);

These pages had been working great for about 6 years, but only just started throwing error messages when we upgraded to PHP 5.6 2 days ago.

I would greatly appreciate your expertise in getting this resolved.

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