Page 1 of 1

use access page not working

Posted: Wed Feb 03, 2010 5:20 pm
by fdhesknew
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Just did a new install of Hesk 2.1 on our private lan for internal employee support.

Followed instructions, and admin 'portal' works with no problems. However, when trying to access the 'user portal' I keep getting the following message (with debug 'on'):

Warning: require(language/en/text.php) [function.require]: failed to open stream: No such file or directory in /var/www/hesk/inc/common.inc.php on line 217

Fatal error: require() [function.require]: Failed opening required 'language/en/text.php' (include_path='/root/source_install/wso2-wsf-php-src-2.0.0/scripts') in /var/www/hesk/inc/common.inc.php on line 217


I have gone through all the install instructions, and still cannot pin point this problem.

Any help would be appreciated.

Posted: Thu Feb 04, 2010 11:19 am
by Klemen
It looks like you don't have all the requred files and folders. Do you have a folder called "language" in your help desk folder? Is there an "en" folder inside the language folder? Is there a "text.php" file inside the en folder?

If you answered "no" to any of the above questions extract the Hesk files again from the Zip file and make sure all the files and folders are properly extracted.

Posted: Thu Feb 04, 2010 1:18 pm
by fdhesknew
All folders & file exists...When testing language from the admin I get an 'OK' status as well.

Posted: Thu Feb 04, 2010 9:04 pm
by Klemen
And you didn't make any changes to the files? What operating system are you on (seems like Linux from the paths)?

If you open the index.php file (the one in the main hesk folder) and change

Code: Select all

define('HESK_PATH','');
to

Code: Select all

define('HESK_PATH','/');
or

Code: Select all

define('HESK_PATH','./');
does it help? How about if you change it to

Code: Select all

define('HESK_PATH','/var/www/hesk/');

Posted: Thu Feb 04, 2010 9:57 pm
by fdhesknew
The option that worked is:

Code: Select all

define('HESK_PATH','./');
However, now it seems like I have to do it to all the PHP pages.

Is there a quicker work around?



Thanks again for the help.

Posted: Fri Feb 05, 2010 4:17 pm
by Klemen
You'll just have to manually change all the files inside the main Hesk folder. You can try to use an auto-replace program, such as
http://pjsoft.drenik.net/autoreplace.htm

Posted: Fri Feb 05, 2010 6:28 pm
by fdhesknew
All set!

Thanks again for all the help.