PDA

View Full Version : What is wrong with my admin page?


Stateless
02-03-2005, 08:06 PM
I get these errors at the adminpage

Notice: Undefined index: x in *******\admin\index.php on line 44

Notice: Undefined index: x in *******\admin\index.php on line 55

Line 44 and 55 looks like this



44 if($_GET['X'] == "login")
55 if($_GET['X'] == "logout")


I followed every step when I installed Pixelpost on my webserver.

andy
02-03-2005, 08:50 PM
I'm not sure if this makes a difference, but the 'x' in the code should be lower case. You're code snippet show upper case. Try that out.

Stateless
02-04-2005, 08:32 AM
It wasnt that problem either.
When i fill in the form with user and password and then press ok i just end up in a errorpage.
Can it be something with getting info from the database?

Jayphen
02-04-2005, 09:07 AM
Have you tried replacing the admin/index.php file with a fresh one?

Stateless
02-04-2005, 11:09 AM
Yes I tried that to.

Get this notice also.

Notice: Undefined variable: loginmessage in *****\admin\index.php on line 289


line 289 looks like this

289 <?php echo $loginmessage; ?>

I set all the reading and writing permissions at my database too. :cry:

Connie
02-04-2005, 03:53 PM
Well, the script index.php in the admin directory checks whether the input is x and not X

so I wonder where from you got this index.php?
You really did not edit it yourself?
Did you use a modified index.php?
Which version do you use?
Where did you download it?

How did you upload the script to your server? Everything in ASCII-mode?

I think letters just don't change by themselves :roll: [/i]

Stateless
02-04-2005, 08:10 PM
I use Pixelpost 1.3 and I never edited the index.php-file.
Downloaded it from the Pixelpost-page.

The only file i´ve changed is the pixelpost.php with my databasesettings.

I uploaded the scripts with Core FTP.

Can it be that the script dont communicate with the database?

Anonymous
02-06-2005, 02:32 PM
i cant run on local host i get forbiden error

Anonymous
02-06-2005, 02:40 PM
how to run on local host? on my computer i install severall php scripts wiitout any problem but on ths gets error

Connie
02-06-2005, 03:18 PM
which error do you get?
which MYSQL- and PHP- and GD-lib-Version?

without these informations help is nearly impossible :x

Anonymous
02-06-2005, 03:29 PM
i run it on easyphp that is a usefull pack of apach-sql and php latest version i want to run on local but there is no hope here is the eroor:


You don't have permission to access /pixelpost/admin/<br /><b>Notice</b>: Undefined variable: PHP_SELF in <b>e:/easyphp1-7/www/pixelpost/admin/index.php</b> on line <b>282</b><br /> on this server.

jtoews
04-18-2005, 07:57 PM
i am having similar problems. did you ever resolve this issue?

raminia
04-18-2005, 08:28 PM
read this http://pixelpost.org/forum/viewtopic.php?t=926