Page 2 of 2
Posted: Fri Jun 25, 2010 10:13 am
by m4dbra1n
Thanks a lot Klemen and sorry for all this
But I'm not able to make it work again like in the old 2.1...
You will find an update here when I'll finish to set up the online version on my site.
Thanks again

Posted: Fri Jun 25, 2010 8:33 pm
by m4dbra1n
Good evening Klemen,
I've finally uploaded the HESK on my site, with the same files I'm using locally, only some things are missing due to the fact I cannot copy the hesk_settings.php file.
So, if you wanna give it a try, this are what are looking for:
URL:
http://just2learn.altervista.org/hesk/
USERNAME: klemen
PASSWORD: stirn
Default language is Italian, so you can see the strange problem happening in the admin settings page, but you can switch it to english.
I've just tried and switching to English seems to solve the problem...
Maybe I've just made some mistakes in the Italian text.php file? Some sintax errors? I've controlled it more and more times, but I didn't recognized anything.
While waiting for your response, best regards and thanks for the help

Posted: Sat Jun 26, 2010 11:42 am
by Klemen
Try using this file (I modified it to automatically add slashes to the Javascript code text):
http://www.phpjunkyard.com/extras/admin_settings.zip
Posted: Sun Jun 27, 2010 10:32 am
by m4dbra1n
Thanks Klemen, I'll try it ASAP to see it solves my problem.
Thanks for your help

problem language
Posted: Sun Jun 27, 2010 12:08 pm
by basile
The problem is in the language file text.php.
I found several errors in the section:
/ * ADDED IN VERSION 0.94 Heske * /
/ * Added or modified in version 2.1 * /
I fixed the errors and now everything seems to work well.
Text.php the file can be downloaded here:
http://www.superscuola.com/helpdesk/lan ... t/text.zip
Posted: Mon Jun 28, 2010 9:33 am
by m4dbra1n
@ BASILE
Grazie basile, ma il tuo file text.php è vuoto.
Comunque grazie delle info, ricontrollerò il mio

Posted: Mon Jun 28, 2010 2:51 pm
by Klemen
I assume everything works fine now?
Posted: Mon Jun 28, 2010 3:04 pm
by m4dbra1n
Hi Klemen,
first of all, thanks for your file, it works
I don't understand what you did, but it works fine.
There's another issue I'm facing: ticket search by user name with ' character.
When I try to search for some clients with the ' character (eg. D'), the search field displays D\' after I hit the Search button; plus after some more hits, the slash number increase (D\\\\\') and it doesn't find anything: why?
Posted: Tue Jun 29, 2010 8:00 pm
by Klemen
I'll have a look at it, probably an issue with PHP's "magic quotes" (which will, thankfully, be removed in PHP 6

).
Posted: Sat Jul 03, 2010 6:59 pm
by Klemen
In admin/find_ticket.php change
Code: Select all
$q = isset($_GET['q']) ? hesk_input($_GET['q']) : '';
to
Code: Select all
$q = isset($_GET['q']) ? stripslashes(hesk_input($_GET['q'])) : '';
This should fix the problem.
Posted: Thu Jul 08, 2010 4:35 pm
by m4dbra1n
Thanks a lot Klemen! It works
You should correct it in the 2.2.1 release
