Helpdezk 1.1.4. Missing Jquery file error
Closed this issue · 6 comments
Hello,
I manually installed Helpdezk on PHP 7.0 , MYSQL 5.6, Apache 2.2.34. However after successful manual installation when i visit the url i get the following error i.e :
There is no Jquery file in: /{{PATH}}/{{TO}}/{{HELPDEZK}}/includes/js/ :
Also I checked the folder /includes/js/, the file 'jquery-2.1.1.js' is present.
What could be causing the issue?. Could you please check this at your end ?.
Hello
Didn't you use the installation program (http: //.../installer)?
The installation program creates the config.php file located in the includes / config folder
In this file the version of jquery is defined:
$ config ['jquery'] = 'jquery-2.1.1.js';
It is recommended that you use the installation program, if you don't want to, I can send you an example of config.php
Regards
Hello @albandes,
Didn't you use the installation program (http: //.../installer)?
Yes I used the script's installer program yet I get the above error i.e: There is no Jquery file in: /{{PATH}}/{{TO}}/{{HELPDEZK}}/includes/js/ .
In this file the version of jquery is defined:
$ config ['jquery'] = 'jquery-2.1.1.js';
This configuration variable does exist in the file and here is the whole content of the config.php file :
<?php
date_default_timezone_set('Africa/Abidjan') ;
//DATABASE CONFIGURATION
$config["db_connect"] = "mysqli"; //mysqli = MYSQL | oci8po = Oracle
$config["db_hostname"] = "localhost";
$config["db_port"] = "3306";
$config["db_name"] = "helpdezk114";
$config["db_username"] = "root";
$config["db_password"] = "";
//SYSTEM CONFIGURATION
$config["hdk_url"] = "http://vm.com/manual/helpdezk114";
$config["path_default"] = "manual/helpdezk114";
$config["lang"] = "en_US";
$config["theme"] = "parracho";
$config["page_title"] = " [HELPDEZK] - Parracho - A free open source Helpdesk software! ";
$config["jquery"] = "jquery-2.1.1.js ";
//LOCATION CONFIGURATION
if($config["lang"] == 'en_US') {
$config["id_mask"] = "999-99-9999";
$config["ein_mask"] = "99-9999999";
$config["zip_mask"] = "00000";
$config["phone_mask"] = "(000) 000-0000";
$config["cellphone_mask"] = "(00) 00000-0000";
$config["date_placeholder"] = "mm/dd/yyyy";
$config["log_date_format"] = "%m/%d/%Y %H:%i:%s";
$config["date_format"] = "%m/%d/%Y";
$config["hour_format"] = "%h:%i %p";
}
if($config["lang"] == 'pt_BR') {
$config["id_mask"] = " ?999.999.999-99";
$config["ein_mask"] = " ?99.999.999/9999-99 ";
$config["zip_mask"] = "00000-000";
$config["phone_mask"] = "(00) 0000-0000";
$config["cellphone_mask"] = "(00) 00000-0000";
$config["date_placeholder"] = "dd/mm/yyyy";
$config["log_date_format"] = "%d/%m/%Y %H:%i:%s";
$config["date_format"] = "%d/%m/%Y";
$config["hour_format"] = "%H:%i";
}
Could you please check into this.?
OK.
I will try to reproduce this error.
One question, what OS are you using? Windows, Linux?
Regards
I am using Linux( Centos 6.4 Final).
Hello
There is an error in the config.php's creation script, it left a blank space at the end:
$ config ["jquery"] = "jquery-2.1.1.js ";
Just remove the space that will work:
$ config ["jquery"] = "jquery-2.1.1.js";
In Linux, php's file_exists() function considers blanks.
In the next release this problem will definitely be solved.
Thank you for your observation