Page 1 of 1
hesk 2.0 - can't create staff member
Posted: Thu Jan 29, 2009 2:03 pm
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!
Posted: Thu Jan 29, 2009 6:32 pm
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.
Posted: Fri Jan 30, 2009 7:46 am
by alf
I changed www server from PHP 6 to PHP 5.2 and it is working now
Posted: Fri Jan 30, 2009 7:49 am
by Klemen
Thanks for the head-ups, I'll make sure I test and adjust Hesk to PHP 6 when it's out.
Please assign user to al least one category
Posted: Tue Jul 21, 2009 4:12 pm
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
Posted: Tue Jul 21, 2009 4:22 pm
by Klemen
I will test it with 5.3, in the mean time try this:
viewtopic.php?t=2643
Posted: Tue Jul 21, 2009 4:48 pm
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
Posted: Tue Jul 21, 2009 5:01 pm
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
Resolved - Can't Add User Category Error
Posted: Tue Jul 21, 2009 5:22 pm
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!