Script URL:
Version of script:2.1
Hosting company:Hostik
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:Can't execute SQL, kb-categories
Write your message below:
After upgrading to HESK 2.1 over mySQL5.1 we were having trouble adding new Knowledgebase Categories.
Seems like we had to explicitly code a value of "0" for the number of articles in a new KB Category:
$sql = "INSERT INTO `".hesk_dbEscape($hesk_settings['db_pfix'])."kb_categories` (`name`,`parent`,`articles`,`cat_order`,`type`) VALUES ('".hesk_dbEscape($title)."','".hesk_dbEscape($parent)."','0','".hesk_dbEscape($my_order)."','".hesk_dbEscape($type)."')";
Problem adding KB Category - Can't execute SQL
Moderator: mkoch227
-
- Posts: 1
- Joined: Fri Aug 14, 2009 4:22 pm
I didn't get any such errors when testing with MySQL 5.1(.30, .33 and .36), but thanks for sharing, I will modify the file to make sure others don't have similar problems.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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