$hesklang['inve']='Invalid email file';
Posted: Tue Nov 26, 2013 7:31 pm
Script URL:
Version of script: 2.5.2
Hosting company: domeneshop.no
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: 'Invalid email file'
Write your message below:
When I reply a costumer for the first time, English language, everything works fine.
When I switch to Norwegian I get the "ERROR: Invalid email file" ($hesklang['inve']) As I can see it comes from email_functions.inc.php.
To make it work until I get your feedback I have temporarily blocked out: (line 458 - 461):
/* Verify this is a valid email include */
/* if ( ! isset($valid_emails[$eml_file]))
{
hesk_error($hesklang['inve']);
}
-------------------------------------
and (line 360 - 371):
/* Get list of valid emails */
$valid_emails = hesk_validEmails();
/* Verify this is a valid email include */
if ( ! isset($valid_emails[$eml_file]))
{
hesk_error($hesklang['inve']);
}
else
{
$msg = $valid_emails[$eml_file];
}
-------------------------------------
I have completed the language test successfully!
Do you have a solution for me?
Thanks
JR
Version of script: 2.5.2
Hosting company: domeneshop.no
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: 'Invalid email file'
Write your message below:
When I reply a costumer for the first time, English language, everything works fine.
When I switch to Norwegian I get the "ERROR: Invalid email file" ($hesklang['inve']) As I can see it comes from email_functions.inc.php.
To make it work until I get your feedback I have temporarily blocked out: (line 458 - 461):
/* Verify this is a valid email include */
/* if ( ! isset($valid_emails[$eml_file]))
{
hesk_error($hesklang['inve']);
}
-------------------------------------
and (line 360 - 371):
/* Get list of valid emails */
$valid_emails = hesk_validEmails();
/* Verify this is a valid email include */
if ( ! isset($valid_emails[$eml_file]))
{
hesk_error($hesklang['inve']);
}
else
{
$msg = $valid_emails[$eml_file];
}
-------------------------------------
I have completed the language test successfully!
Do you have a solution for me?


Thanks
JR