Cannot login as Administrator

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
TonyM
Posts: 2
Joined: Sat Jun 18, 2005 10:32 am

Cannot login as Administrator

Post by TonyM »

Script URL: http://www.avantech.co.uk/support/admin.php
Version of script: 0.92
Version of PHP: 4.1.2
Hosting company: QITC
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:

Write your message below:

The install went perfectly and I create tickets, I receive email etc. But I cannot login as Administrator, when I enter the password and click the button the screen doesn't change. If I don't enter a password I get the error screen. Stuck in a loop! Any help would be appreciated.

Tony
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hello,

I'm not exactly sure what the problem is as no error messages appear. However, you do have an old version of PHP installed on your server (back from year 2002). Hesk formally requires a version 4.3.x

Before anything else I suggest you contact your hosting company and ask them to install the latest version of PHP (4.3.11 at the moment) which can be downloaded from
http://www.php.net/downloads.php

This is a much more powerful, secure and up to date version than the current version you are running.

They should do it for free (I wonder why they haven't updated it since 2002), if not I suggest you find some other hosting company. If YOU manage the server you will need to install it yourself.

Upgrading PHP to a recent version usually solves such problems so I would suggest this before trying anything else.

If that doesn't work check inside your error logs (if you have access to them) and see if there is any further information there. Also upload this file and put the link, perhaps I can spot any anomalies :wink:
http://www.phpjunkyard.com/extras/phpinfo.zip

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

... also upload this file, might give us a clue where it all brakes:
http://www.phpjunkyard.com/extras/hesk_ ... _debug.zip

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
TonyM
Posts: 2
Joined: Sat Jun 18, 2005 10:32 am

Post by TonyM »

Thanks but I'll use something else
Alex

Post by Alex »

I had the same admin login problem. I didnt want to CHMOD 777 everything, but I had a feeling that would fix it, so I did and it works now. It's on an intranet so 777 aint that bad, I'll slowly take the permissions back to something safer and try to pinpoint where the problem is.
Cuantico

Post by Cuantico »

Same problem here:

in the debug mode, this is what i got:


Fatal error: Call to undefined function: session_regenerate_id() in /var/www/intranet/soporte/admin.php on line 70
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You are probably running a too old version of PHP. Upload this file to check:

http://www.phpjunkyard.com/extras/phpinfo.zip

And see what PHP version says. You should have at least 4.3 to run Hesk. If you don't ask your host to install the newest PHP version as having old versions is not secure.

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
willig
Posts: 2
Joined: Fri Feb 17, 2006 12:46 am

cannot log in to admin-mode in ordinary mode

Post by willig »

Installed HEsk for thrid time. Newbie in php.


URL: www.willig.no/hesk
Version of script: hesk0931
Version of PHP: 4.3.2
Host: not sure
Have you searched for your problem: yes


When I try to login to admin.php I am getting:
Your session has expired, please login using the form below. (this happens when I write the right password). Otherwise do I get wrong password.

I have searched through the message board and found a debug.

When I try http://www.willig.no/hesk/admin_debug.php

I am getting

1. Session started successfully
2. Database connection started successfully

Then I am trying again to logon as willig with my password.
On screen I am getting message

1. Session started successfully
2. Database connection started successfully
3. Username and password received
4. Database info received
5. Password OK
6. Categories OK, now redirecting (not in debug version)...
Location: admin_main.php

When I remove debug in http://www.willig.no/hesk/admin_debug.php and replace it with main so that I am getting http://www.willig.no/hesk/admin_main.php I am getting right in!!!

How come???


My provider did a check in a logfile and wrote to me:

<<Jeg ser følgende feil i error_log på ditt domene:

[Fri Feb 17 00:47:31 2006] [error] [client 80.213.162.56] File does not exist: /home/httpd/vhosts/willig.no/httpdocs/favicon.ico
PHP Warning: main(hesk_settings.inc.php): failed to open stream: No such file or directory in /home/httpd/vhosts/willig.no/httpdocs/hesk/admin.php on line 35
PHP Fatal error: main(): Failed opening required 'hesk_settings.inc.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/willig.no/httpdocs/hesk/admin.php on line 35
>>


I hope you can figure out why i am not able to adminlogin directly. HESK is just the helpdesk software I have dreamt of.

Michael Willig
Norway
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Try the stuff mentioned here
viewtopic.php?t=624&start=30
and here
viewtopic.php?t=624&start=45
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
willig
Posts: 2
Joined: Fri Feb 17, 2006 12:46 am

Post by willig »

Klemen Stirn has found a alternate versjon of admin.php which is working for me.

He has really worked hard to make things working.

I don't know why the ordinary versjon of admin.php is not working for me. But the alternate does.

Thanks Klemen for all help you gave me.

Michael is :D
Post Reply