hesk 2.0 - can't create staff member

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
alf
Posts: 8
Joined: Tue Jan 27, 2009 11:15 am

hesk 2.0 - can't create staff member

Post by alf »

Script URL: www.vo-downloads.com/supportmyscript
Version of script: Hesk 2.0
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

I am connected as Admin, I create a new user that is not administrator to be able to review PRIVATE knowledgebase articles

Even if I select multiple categories, when I submit new user creation, I receive error message :

Error
Please assign user to al least one category!
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Did you make any changes to the script? Also upload the phpinfo.php file to your server and let me know what browser you are using.
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
alf
Posts: 8
Joined: Tue Jan 27, 2009 11:15 am

Post by alf »

I changed www server from PHP 6 to PHP 5.2 and it is working now
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Thanks for the head-ups, I'll make sure I test and adjust Hesk to PHP 6 when it's out.
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
OliveMan
Posts: 5
Joined: Tue Jul 21, 2009 4:01 pm

Please assign user to al least one category

Post by OliveMan »

I receive the exact same error no matter how many times I tried to create a new user - I even created a new category and selected it as well as the default category and it still gives me the error, "Error
Please assign user to al least one category!"

This is a brand new install of 2.0 with PHP 5.3 on a private host.

Does this script not work with any php version over 5.2? I am not sure that I can roll back to an older version and would like to use 5.3 if possible.

Session Test 1 completed: Session Started Successfully
Session Test 2: "$_SESSION['test'] is set to: TRUE"

I can provide more info as needed.


Thanks,

OliveMan
Last edited by OliveMan on Tue Jul 21, 2009 4:25 pm, edited 1 time in total.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I will test it with 5.3, in the mean time try this:
viewtopic.php?t=2643
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
OliveMan
Posts: 5
Joined: Tue Jul 21, 2009 4:01 pm

Post by OliveMan »

Can you clarify what I need to do to use the original common.inc.php? I copied the one from the zip file over the one that I have - and made the change to the manage_users.php file - does that cover everything you were asking for in this step?

I tried what I understood
by following the directions posted as:
Try using the original common.inc.php file and just delete this from manage_users.php file inside admin folder:
Code:
hesk_input($_POST['categories'],$hesklang['asign_one_cat']);


I now get: "Please assign at least one feature to this user!"

Even though the default boxes are checked for:
View Tickets
Reply to Tickets
Change Ticket Category
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Never mind, I tested Hesk now with PHP 5.3 and found the problem.

Download this file and upload it to the "inc" folder instead of the original one:
http://www.phpjunkyard.com/extras/hesk_php53_common.zip
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
OliveMan
Posts: 5
Joined: Tue Jul 21, 2009 4:01 pm

Resolved - Can't Add User Category Error

Post by OliveMan »

Awesome - I changed the manage_user.php back to the original and copied over the common_inc.php file in the inc folder and everything is working now on PHP 5.3

Thanks a ton!
Post Reply