Jump to content

1.5.3.1 e-mail translation error!


Recommended Posts

Hi.

 

I am having trouble translating and modifying the e-mail templates in the backoffice

(translations ----> e-mail translation)

 

When i have made my changes and try to save i get some crazy error repeating itself all down the page of my backoffice and the changes in the mail template is not saved. The error i get says this:

 

Warning

: file_put_contents() [

function.file-put-contents

]: Unable to access /var/www/olivereggertsen.dk/public_html/themes/test/mails/da/account.html in

/var/www/olivereggertsen.dk/public_html/controllers/admin/AdminTranslationsController.php

on line

1442

 

Warning

: file_put_contents(/var/www/olivereggertsen.dk/public_html/themes/test/mails/da/account.html) [

function.file-put-contents

]: failed to open stream: No such file or directory in

/var/www/olivereggertsen.dk/public_html/controllers/admin/AdminTranslationsController.php

on line

1442

 

And it keeps repeating itself all down the page. How can i fix it so i can modify my e-mail templates in back-office? :-)

 

 

Thanks in advance.

Link to comment
Share on other sites

Hi,

Can you manually check that the mentioned file is actually located to the specified position? Also, does that folder have at least a 755 permission?

 

 

Apparently i don't have a folder named mails in the test folder :-S

 

But the /var/www/olivereggertsen.dk/public_html/controllers/admin/AdminTranslationsController.php is there.

Line 1442 in that file says: file_put_contents($path.$mail_name.'.'.$type_content, $content);

Edited by OliverEggertsen (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...