Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 01-27-2007, 07:19 AM   #1 (permalink)
Junior Member
 
Join Date: 01-27-07
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

dhudiburg is liked by many
Question Help with PHP Script Error

I thought this might be a common problem and someone in this forum might know the fix.

Thanks in advance for taking a look:
Warning: Cannot modify header information - headers already sent by (output started at /home/marketi3/public_html/data/member/const.inc:19) in /home/marketi3/public_html/admin/login.inc on line 19
Template Error: loadfile: page is not a valid handle.
Halted.
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
dhudiburg is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-27-2007, 07:20 AM   #2 (permalink)
Junior Member
 
Join Date: 01-27-07
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

dhudiburg is liked by many
oops! I see that I should have posted this in the coding forum. Sorry.
dhudiburg is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-29-2007, 01:44 AM   #3 (permalink)
v7n Mentor
 
digiweb's Avatar
 
Join Date: 04-07-06
Location: Manchester, NH
Posts: 722
iTrader: 1 / 100%
digiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of light
Send a message via Yahoo to digiweb Send a message via Skype™ to digiweb
Quote:
Originally Posted by dhudiburg View Post
I thought this might be a common problem and someone in this forum might know the fix.

Thanks in advance for taking a look:
Warning: Cannot modify header information - headers already sent by (output started at /home/marketi3/public_html/data/member/const.inc:19) in /home/marketi3/public_html/admin/login.inc on line 19

Above means go to line 19 and stop it from writing, the headers haven't been sent yet but that piece of code is jumping the gun and outputing to the page too early.

Quote:
Quote:
Template Error: loadfile: page is not a valid handle.
Halted.
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
It can't find your template because global variables is off. If it were on you'd have a security problem but the variable naming the template would be correctly set.

Disabling the warning is darn silly. Enable globals in php.ini, if that fixes it see if your vendor has an update for loading a template when register globals is off. If so, turn off register globals and install that fix.
digiweb is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-29-2007, 03:06 AM   #4 (permalink)
Junior Member
 
Join Date: 01-27-07
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

dhudiburg is liked by many
Thanks!
dhudiburg is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
script error? sim Coding Forum 3 06-29-2005 07:51 PM
PHP search script error Limit Coding Forum 5 05-24-2005 07:05 AM
Image script error PaulHarris Coding Forum 5 07-03-2004 11:54 AM
Script Runtime Error Debug problem Salty10is Coding Forum 2 06-30-2004 11:55 PM
User Script error Pretend Coding Forum 11 01-18-2004 07:52 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 12:54 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.