use access page not working

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
fdhesknew
Posts: 4
Joined: Wed Feb 03, 2010 5:14 pm

use access page not working

Post 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.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
fdhesknew
Posts: 4
Joined: Wed Feb 03, 2010 5:14 pm

Post by fdhesknew »

All folders & file exists...When testing language from the admin I get an 'OK' status as well.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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/');
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
fdhesknew
Posts: 4
Joined: Wed Feb 03, 2010 5:14 pm

Post 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.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
fdhesknew
Posts: 4
Joined: Wed Feb 03, 2010 5:14 pm

Post by fdhesknew »

All set!

Thanks again for all the help.
Post Reply