Hello everyone,
Need some help. I installed phpMyAdmin on this new server and cannot
get it to work. I've installed this tool many times, so i'm pretty
comfortable with the installation process. However, I've never ran into
the errors I am getting today.
The server is Apache+PHP 4.0.6
Error 1) When I first installed phpMyAdmin, I got the following error:
"... magic_quotes_gpc is not enabled. phpMyAdmin needs this to
work..."
Action:
I had my ISP turned on Magic Quotes in my PHP.ini file.
Now, phpinfo() shows the following settings:
magic_quotes_gpc On
magic_quotes_runtime On
magic_quotes_sybase On
error 2)
The above seetings solve the 'error' issues. However, phpMyAdmin now
shows a blank page when I try to access it.
What can cause this ?
Does it have anything to do with magic_quotes being turned on?
...that's what it requested in the first place.
Am I missing something?
Please help.
-John
__________John Monfort_________________
_+-----------------------------------+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___________________________________+-
On Fri, 3 Aug 2001, Jack Sasportas wrote:
> Yes, I see what you mean...
> In showing why the last section didn't work, I messed up the actual
> overall
> logic of the code.
> I should have noticed that...nice catch....
>
> so for clarification where it says (MARK) should be
> echo "Thanks for your submission.";
> }
>
> Thanks...
>
> Jack Sasportas wrote:
>
> > Yes, I see what you mean...
> > In showing why the last section didn't work, I messed up the actual overall
> > logic of the code.
> > I should have noticed that...nice catch....
> >
> > so for clarification where it says (MARK) should be
> > echo "Thanks for your submission.";
> > }
> >
> > Thanks...
> >
> > Richard Baskett wrote:
> >
> > > Just curious but that last else you told him to put in... what is that
> > > referring to? There is already an else statement, you can't have another.
> > > Unless you're putting the else statement after the if (!$State) which you
> > > would need to subtract the "}" before the else, but this would give you
> > > undesired results since this is just an else for the !$State statement.
> > >
> > > I could be missing what you were getting at.. it's definitely possible :)
> > >
> > > Rick
> > >
> > > > First you should manage your code nicer so that it is easier to read
> > > > and troubleshoot. Go through this to find my notes...
> > > >
> > > > if (!$HTTP_POST_VARS) { exit();}
> > > > elseif ($HTTP_POST_VARS) {
> > > > if (!$Age) { echo "Please enter your age.<br>\n";
> > > > } if
> > > >
> > > > Why would you use elseif above ? you are asking the full question in
> > > > the first line
> > > > if (!$HTTP_POST_VARS) { exit();}
> > > >
> > > > if it's NOT then why say elseif, it's else, it's either one or the
> > > > other...that's one thing.
> > > >
> > > > so lets change it to this:
> > > > if (!$HTTP_POST_VARS) {
> > > > exit();
> > > > } else {
> > > > if (!$Age) {
> > > > echo "Please enter your age.<br>\n";
> > > > }
> > > >
> > > > if (!$Email) {
> > > > echo "Please enter your email.<br>\n";
> > > > }
> > > >
> > > > if (!$State) {
> > > > echo "Please enter your Location.<br>\n";
> > > > }
> > > >
> > > > (MARK)
> > > > } else ( RIGHT HERE YOU DID NOT OPEN THE REST OF THE ELSE )
> > > > echo "Thanks for your submission.";
> > > >
> > > > ( RIGHT HERE YOU DID NOT CLSE THEN END OF THE CONDITION )
> > > >
> > > >
> > > > so the last lines replacing after (MARK) should look like this
> > > >
> > > > } else {
> > > > echo "Thanks for your submission.";
> > > > }
> > > >
> > > >
> > > > As you can see keeping the code in this format makes it a lot easier to
> > > > see what is being exectued within the condition, allows you to see the
> > > > open & closes of the brackets, and should have easily let you see you
> > > > were missing something.
> > > >
> > > >
> > > > Hope that explains it....
> > > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> > --
> > ___________________________________________________________
> > Jack Sasportas
> > Innovative Internet Solutions
> > Phone 305.665.2500
> > Fax 305.665.2551
> > www.innovativeinternet.com
> > www.web56.net
>
> --
> ___________________________________________________________
> Jack Sasportas
> Innovative Internet Solutions
> Phone 305.665.2500
> Fax 305.665.2551
> www.innovativeinternet.com
> www.web56.net
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]