text.php not found errors

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
tinym
Posts: 3
Joined: Fri Feb 12, 2010 5:24 pm

text.php not found errors

Post by tinym »

Script URL: http://help.tinym.com/
Version of script: 2.1
Hosting company: Aushost
URL of phpinfo.php: http://help.tinym.com/info.php
URL of session_test.php: http://help.tinym.com/session_test.php

What terms did you try when SEARCHING for a solution:
blank index.php
Failed opening required 'language/en/text.php'
common.inc.php 217
common.inc.php
text.php errors
language files
failed to open text.php

Write your message below:

I have debug turned on. I have not modified core files.

Errors I see are posted below (absolute path directory names have been changed). I uploaded the original text.php file to language/en/ -- http://help.tinym.com/language/en/text.php and it did not make the errors go away.

Warning: require(language/en/text.php) [function.require]: failed to open stream: No such file or directory in /dir/dir/dir/tinym.com/public_html/help/inc/common.inc.php on line 217

Warning: require(language/en/text.php) [function.require]: failed to open stream: No such file or directory in /dir/dir/dir/tinym.com/public_html/help/inc/common.inc.php on line 217

Fatal error: require() [function.require]: Failed opening required 'language/en/text.php' (include_path='/usr/local/lib/php') in /dir/dir/dir/tinym.com/public_html/help/inc/common.inc.php on line 217

common.inc.php lines 215-219 look like this:

Code: Select all

function hesk_returnLanguage() {
	global $hesk_settings, $hesklang;
	require(HESK_PATH . 'language/' . $hesk_settings['languages'][$hesk_settings['language']]['folder'] . '/text.php');
    return true;
} // END hesk_returnLanguage()

tinym
Posts: 3
Joined: Fri Feb 12, 2010 5:24 pm

Post by tinym »

For anyone else having this issue, refer to this thread -- viewtopic.php?t=3015

Changing line 36 of index.php to the following is what worked for me.

Code: Select all

define('HESK_PATH','./');
tinym
Posts: 3
Joined: Fri Feb 12, 2010 5:24 pm

Post by tinym »

correction - it worked until I submitted a test ticket. The article suggest page from the knowledgebase showed the same errors.
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Like the topic you refer to suggest you need to make the change in all the files located in the main Hesk folder, not just index.php.
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
Post Reply