Page 1 of 1

Problems attempting to log into the admin.php page

Posted: Fri Jul 28, 2006 8:38 pm
by darkstar
Script URL: (Hosted on internal server, not on web)
Version of script: 0.93b
Version of PHP: 5.1.4
Hosting company: N/A
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: line 43, line 104, line 140

Write your message below:

Hello,

My current setup is Microsoft Windows 2000 AS and IIS 5.0 and MySQL 5.0. I was able to get all the files installed and was able to run the install.php, connect to the database and install the tables. When I go to the admin.php page and attempt to login I get the following:

- PHP Notice: Undefined index: a in c:\Inetpub\wwwroot\support\admin.php on line 43

- PHP Notice: Undefined variable: hesk_settings in c:\Inetpub\wwwroot\support\inc\header.inc.php on line 35

- PHP Notice: Undefined variable: hesklang in c:\Inetpub\wwwroot\support\inc\header.inc.php on line 36

- PHP Notice: Undefined index: notice in c:\Inetpub\wwwroot\support\admin.php on line 104

- PHP Notice: Undefined index: goto in c:\Inetpub\wwwroot\support\admin.php on line 140

I have searched through the forums and have not seen anything that helps. I have download the .zip file you had previously posted for fixes for MySQL 5.0 files. As well all permissions have been set, so I do not think that is the issue.

Update: I am able to submit a ticket, remove tickets, add users, delete users, and etc. Yet on a few of the pages I get some of the errors on the bottom of the pages.

Any help would be greatful, thanks.

Posted: Tue Aug 01, 2006 12:10 pm
by Klemen
Hi,

Set debug_mode to 0 in settings file and try again. If you installed PHP make sure it doesn't display NOTICES by default (you can configure error reporting in php.ini). If that doesn't work upload these files and place a link here:

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

Posted: Tue Aug 01, 2006 3:12 pm
by darkstar
I was able to look at a previous poster with the same issues, and have set debug to 0 and the problems went away. Very awesome piece of software and it works perfect.

Is there a future add for possibly having it so that the admin users have the ability to create the list of users, instead of having the users enter in their name and their e-mail address. Have it like a drop down menu where they can select their name and the database already has their stored email address that the admin entered in?

What are your thoughts on this?

Thanks again for the response and awesome software!

Darkstar

Posted: Tue Aug 01, 2006 8:46 pm
by Klemen
Not sure exactly what you mean? Can you give an example?

Example

Posted: Tue Aug 01, 2006 8:54 pm
by darkstar
Instead of manually having the users enter in their Name and E-mail they select their name from a drop-down menu which I assume could be tied into a MySQL database. We as admins would access the user database through the admin page, where we can add/remove/edit users.

So basically the user hits the support page, clicks on submit a new ticket, selects their name from a drop-down menu, selects their problem from the drop-down menu and types a out their problem and submits.

Do you think that is possible or even do-able?

Please let me know, thanks.

~ Darkstar ~

Posted: Wed Aug 02, 2006 5:44 pm
by Klemen
Everything is doable with enough knowledge :wink:

I see what you mean but I don't think I will add this to Hesk as it is not useful for new customers, just existing ones in your database.

Posted: Thu Aug 03, 2006 6:17 pm
by cbromley
This would be a useful feature for places that use it internally only, like myself. My Hesk isn't available to the public, just employees. So it would work ok. This could be set up rather easily, though, with a bit of HTML knowledge (and some php knowledge) by anyone wanting to take it on. I might even do something like this myself... but probably only after the next version comes out.

Posted: Thu Aug 03, 2006 7:06 pm
by Indigo64
I wish I had time to learn php like I wanted - I picked up HTML on my own when the web was emerging and it's been a boon - but this feature is also something I'd prefer to have in my hesk software.