phptest-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phptest-users] help not working


From: dj resonance
Subject: Re: [Phptest-users] help not working
Date: Thu, 11 Jul 2002 13:21:41 -0700 (PDT)

That's weird, I'm not sure why the $op variable
wouldn't be getting passed.  What web server are you
using?  Try putting this line before the switch
statment in login.php:

die(print_r($HTTP_POST_VARS));

Try to login again and note if you see anything on the
screen.  If you see something like this

Array ( [username] => admin [password] => 123456 [op]
=> login [submit] => Login ) 1

then something is wrong with your register_globals
setup or you might have something else overriding it
(I'm not sure if php's safe mode lets register_globals
be turned on or not).  If you don't see anything when
you try to load the page, that might be an indication
of a webserver problem, try to see if you can use any
other php scripts that post data from forms.

Let me know what happens.
Brandon

not, something's wrong 
--- Brian Benson <address@hidden> wrote:
> hey Brandon,
> that doesnt seem to be working for me, im not seing
> any change.
> -brian
> 
> At Thursday, 11 July 2002, you wrote:
> 
> >Hi Brian, 
> >
> >I'm guessing you have register_globals turned off. 
> >Check your php.ini file and turn them on.  They're
> >disabled by default with php >= 4.2.0
> >
> >Brandon
> >
> >--- Brian Benson <address@hidden> wrote:
> >> Thanx, That worked great to get rid of all the
> >> errors however now 
> >> im having a new problem. i get "no action
> specified"
> >> when i try to 
> >> login with the default admin account
> >> -brian
> >> 
> >> At Wednesday, 10 July 2002, dj resonance
> >> <address@hidden> wrote:
> >> 
> >> >Hi Brian, 
> >> >
> >> >I was dumb and accidently left database
> debugging
> >> on
> >> >when I released phpTest 0.6.0.  To fix it, just
> >> change
> >> >the "$this->debug = TRUE" in cdatabase.inc.php
> to
> >> >FALSE.  That should fix the problem.
> >> >
> >> >Thanks,
> >> >Brandon
> >> >
> >> >--- Brian Benson <address@hidden> wrote:
> >> >> ***as soon as i try yo go to my site i get:
> >> >> Warning: fopen("db_queries.txt", "a") -
> >> Permission
> >> >> denied in /mvhsweb/test/include/cdatabase.
> >> >> inc.php on line 49
> >> >> 
> >> >> Warning: fwrite(): supplied argument is not a
> >> valid
> >> >> File-Handle resource 
> >> >> in /mvhsweb/test/include/cdatabase.inc.php on
> >> line
> >> >> 123
> >> >> 
> >> >> Warning: Cannot send session cookie - headers
> >> >> already sent by (output 
> >> >> started at
> >> >> /mvhsweb/test/include/cdatabase.inc.php:49) in
> >> >> /mvhsweb/test/include/h.
> >> >> inc.php on line 43
> >> >> 
> >> >> Warning: Cannot send session cache limiter -
> >> headers
> >> >> already sent 
> >> >> (output started at
> >> >> /mvhsweb/test/include/cdatabase.inc.php:49) in
> 
> >> >> /mvhsweb/test/include/h.inc.php on line 43
> >> >> phpTest
> >> >> 
> >> >> 
> >> >> ***and this is what i get after trying to
> login
> >> >> 
> >> >> Warning: fopen("db_queries.txt", "a") -
> >> Permission
> >> >> denied in /mvhsweb/test/include/cdatabase.
> >> >> inc.php on line 49
> >> >> 
> >> >> Warning: fwrite(): supplied argument is not a
> >> valid
> >> >> File-Handle resource 
> >> >> in /mvhsweb/test/include/cdatabase.inc.php on
> >> line
> >> >> 123
> >> >> 
> >> >> Warning: Cannot send session cache limiter -
> >> headers
> >> >> already sent 
> >> >> (output started at
> >> >> /mvhsweb/test/include/cdatabase.inc.php:49) in
> 
> >> >> /mvhsweb/test/include/h.inc.php on line 43
> >> >> No action specified
> >> >> 
> >> >> -any help would be apreciated, i compiled
> >> everything
> >> >> by source and 
> >> >> im using:
> >> >> mysql-3.23.51
> >> >> apache_1.3.26
> >> >> php-4.2-1
> >> >> 
> >> >> -thank you
> >> >> -brian
> >> >> 
> >> >> 
> >> >> 
> >> >> 
> >> >> 
> >> >> 
> >> >> 
> >> >>
> _______________________________________________
> >> >> Phptest-users mailing list
> >> >> address@hidden
> >> >>
> >>
>
>>http://mail.freesoftware.fsf.org/mailman/listinfo/phptest-users
> >> >
> >>
> >__________________________________________________
> >> >Do You Yahoo!?
> >> >Sign up for SBC Yahoo! Dial - First Month Free
> >> >http://sbc.yahoo.com
> >> >
> >> >_______________________________________________
> >> >Phptest-users mailing list
> >> >address@hidden
> >>
>
>>http://mail.freesoftware.fsf.org/mailman/listinfo/phptest-users
> >> >
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Phptest-users mailing list
> >> address@hidden
> >>
>
>http://mail.freesoftware.fsf.org/mailman/listinfo/phptest-users
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Sign up for SBC Yahoo! Dial - First Month Free
> >http://sbc.yahoo.com
> >
> >_______________________________________________
> >Phptest-users mailing list
> >address@hidden
>
>http://mail.freesoftware.fsf.org/mailman/listinfo/phptest-users
> >
> 
> 
> 
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]