Can't access the Admin Panel

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
dmn1969
Posts: 6
Joined: Mon Jul 18, 2011 8:09 pm

Can't access the Admin Panel

Post by dmn1969 »

Script URL: http://dec.edu/hesk/admin
Version of script:
Hosting company: Network Solutinos
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Admin Panel

Write your message below:

I can access the ticket interface but I can access the admin interface. I thought I had the permissions set correctly? If you go to http://dec.edu/hesk the ticket interface comes up but if I go to http://dec.edu/hesk/admin I get a "page not found error"? Any help would be apprciated.

Thank you.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can't access the Admin Panel

Post by Klemen »

If you login to the FTP do you see an "admin" folder inside your "hesk" folder?

Did you change permissions for this folder? If yes, set them back to default (the same as the "img" folder for example has).
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
dmn1969
Posts: 6
Joined: Mon Jul 18, 2011 8:09 pm

Re: Can't access the Admin Panel

Post by dmn1969 »

Here is where it is from the unzipping of the hesk 2.2 folder:

/hesk/attachments/admin

Should it be moved from attachments?

Thanks!
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can't access the Admin Panel

Post by Klemen »

Where did you download Hesk from? In the original version, "admin" is a separate folder and not located within "attachments".
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
dmn1969
Posts: 6
Joined: Mon Jul 18, 2011 8:09 pm

Re: Can't access the Admin Panel

Post by dmn1969 »

I downloaded it from this link:

http://www.hesk.com/download.php

Is there a different link?

Thanks,
dmn1969
Posts: 6
Joined: Mon Jul 18, 2011 8:09 pm

Re: Can't access the Admin Panel

Post by dmn1969 »

I think I have the correct files. I was able to get prompted for the Admin panel. I put in the username and password Administrator and Admin and I get the following error:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /data/1/1/89/132/1415458/user/1519934/htdocs/hesk/admin/admin_main.php on line 76

Parse error: syntax error, unexpected '<' in /data/1/1/89/132/1415458/user/1519934/htdocs/hesk/admin/admin_main.php on line 77
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can't access the Admin Panel

Post by Klemen »

That is the official download, yes, but the admin folder is a separate one and not inside attachments. You must have moved it by mistake?

Anyway, to get Hesk running you need to complete installation first, follow instuctions in the readme.html file. The install dir will handle database setup and needs to be deleted once it is setup:
http://dec.edu/hesk/install/

The warning you saw shouldn't be there because the code is 100% valid (works on thousands of servers). Maybe you are running some caching software on the server that incorrectly cached parsed PHP code?

What server are you running this on? What version of PHP? Tip: if you don't have phpinfo() function disabled try uploading http://www.phpjunkyard.com/extras/phpinfo.zip to your server and post a link here.
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
dmn1969
Posts: 6
Joined: Mon Jul 18, 2011 8:09 pm

Re: Can't access the Admin Panel

Post by dmn1969 »

This is weird. I noticed that when I upload the files to my hosted server via ftp the full files are not transferring. The file sizes are not complete and when I compare them to the source they are smaller on the target??? Especailly files admin_main.php and forter.inc.php the files do not completely load??? So I think that there is my problem because of an incomplete file. Now we have os ticket on our system now which is similar and I uploaded the files with no problem and it runs has our ticket system. So I do believe that I have permissions correct. I contacted our hosted solution to see if there is an issue with the ftp site. Any suggestions would be appreciated it. I would really like to use your product. Just looking at the demo you have more bells and whistles then OS ticket. Thanks again.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can't access the Admin Panel

Post by Klemen »

Not sure why files would get truncated on your server - you do upload them in ascii mode, right? Your host should be able to give you insight into that, yes.

FYI: I will be out of the country Friday-Friday so you will probably need to wait until 29th for a new reply from me.
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
dmn1969
Posts: 6
Joined: Mon Jul 18, 2011 8:09 pm

Re: Can't access the Admin Panel

Post by dmn1969 »

I talked to Network solutions. They had me reset the permissions my my ftp username. I went back and I still run into the same problem. Files admin_main.php and forter.inc.php still have problems uploading completely. I'm just going to have to look for another solution. I can't understand the problem. Uploading FTP files is not rocket science!

Thanks,
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can't access the Admin Panel

Post by Klemen »

The admin_main and footer files have some encoded code inside that handles licensing. Maybe Network Solutoions forgot to mention (or the technician doesn't know) they automatically truncate and evaled gzipped code?

Send me a mail using http://www.hesk.com/contact.php and I can send you unencoded files for you to test and confirm this.
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
carlhenry
Posts: 1
Joined: Wed Sep 14, 2011 10:52 am

Re: Can't access the Admin Panel

Post by carlhenry »

Hello,

I found a solution for this problem;
  • * I created a folder "encoded_files";
    * I put a copy of admin_main.php & footer.inc.php inside this folder;
    * I then 'zipped' it up (created encoded_files.zip)
    * I then accessed my Hosting account and uploaded the file encoded_files.zip
    * Still in the hosting account I un-zipped the file encoded_files.zip
    * Then I renamed the two files admin_main.php & footer.inc.php to admin_main_bak_110914.php & footer.inc_bak_110914.php
    * I then copied the admin_main.php from the "encoded_files" folder to /admin/ and the footer.inc.php to /inc/
This seems to be working for me after several tests.

I hope this helps someone!

Cheers,
Carl
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can't access the Admin Panel

Post by Klemen »

Thanks for posting your work-around. It proves GoDaddy scans and alters uploaded files, even if level 1 support staff isn't aware of that.

I would keep an eye out though, it's possible they scan all files on a regular basis and I wouldn't be surprised if your helpdesk stopped working with the same old error in the next few days.
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
Post Reply