|
#1
|
|||
|
|||
|
What is wrong with my admin page?
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 Code:
44 if($_GET['X'] == "login") 55 if($_GET['X'] == "logout") |
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
|||
|
|||
|
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? |
|
#4
|
|||
|
|||
|
Have you tried replacing the admin/index.php file with a fresh one?
|
|
#5
|
|||
|
|||
|
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 Code:
289 <?php echo $loginmessage; ?> |
|
#6
|
|||
|
|||
|
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] |
|
#7
|
|||
|
|||
|
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? |
|
#8
|
|||
|
|||
|
cant run on local ho
i cant run on local host i get forbiden error
|
|
#9
|
|||
|
|||
|
how to run on local host? on my computer i install severall php scripts wiitout any problem but on ths gets error
|
|
#10
|
|||
|
|||
|
which error do you get?
which MYSQL- and PHP- and GD-lib-Version? without these informations help is nearly impossible :x |
| Post Reply |
| Thread Tools | |
|
|