CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Login error message

Print topic Send  topic

Author Message
brian
Posted: 04/01/2004, 2:46 AM

hi..
i ve got another problem on login form. (using php4.3, Aparche 2.0, MySQL 4.0 on Windows XP)
when i enter the user name and password the browser shows error message.

the error message is

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

obiously i ve checked the php.ini file and found the 'session.bug_compat_warn' and 'session.bug_compat_42'
line then changed to 'OFF'. restarted the server.
but it sill gives error message

what should i change?

sebastian

Posts: 15
Posted: 04/01/2004, 12:15 PM

Try setting the project's Superglobal Arrays property to Yes.

Sebastian
View profile  Send private message
brian
Posted: 04/06/2004, 3:25 AM

i still could not solve the problem.

is that because CC does not support PHP 4.3 of session variables?

i am thinking to re-install my PHP to lovwer version than PHP4.3.

would it be a good idea?

brian.

brian
Posted: 04/07/2004, 3:38 AM

ok.
i found out the error message is not so critical and where the error occured.

i changed my php.ini file under C:\WINDOWS directory and changed the line
"session.bug_compat_42" and "session.bug_compat_warn" to off. and restarted the server.

but when i run the test.php file to see changes i made, the php.ini file has not changed. the line "session.bug_compat_42" and "session.bug_compat_warn" were still on.

then i deleted the php.ini file and restarted the server but i can still see the test.php file. in other words, my php scripts work fine without php.ini file on C:\WINDOWS directory. i do have another same php.ini file under php directory but i dont think it really matters.

how can it be possible?

how do you guyz nomally make some changes on the php.ini file?

kind regards,

brian :-@

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.