Forum Archive - GTPro - Error when attempting save of manual translations

GTPro - Error when attempting save of manual translations
Jan 26, 2013 12:14 am by creativeraven
Getting an error window popup when logged in and attempting to save a manual translation as follows: <br /> <b>Warning</b>: unlink(/home/signetfl/public_html/plugins/system/gtranslate/cache//2ae4089665f6c54eb892fa950813f01f) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in <b>/home/signetfl/public_html/plugins/system/gtranslate.php</b> on line <b>166</b><br /> Success Client has just completed all their human translations and is anxious to get them implemented. Can anyone advise on this error and recommend a solution to resolve it. Thanks in advance for your help.
Re: GTPro - Error when attempting save of manual translation
Jan 26, 2013 3:42 pm by Yana
Hi, Make sure that the cache folder has write (delete) permission.
Re: GTPro - Error when attempting save of manual translation
Jan 26, 2013 7:54 pm by creativeraven
Hi Yana, /public_html/plugins/system/gtranslate/gtranslate/cache/ (aka, "the cache folder") has permissions set to "777". This is the highest permissions settings that we can assign ourselves. In fact, the security is actually the lowest setting, as it's the most permissive permissions setting! It is so permissive that it is a security risk according to our Hosting Provider. So, looks like we might need to look into this further. Your suggestions?
Re: GTPro - Error when attempting save of manual translation
Jan 26, 2013 7:56 pm by creativeraven
I can grant back end access to a GTranslate tech if that will help. Please PM me for details.
Re: GTPro - Error when attempting save of manual translation
Jan 27, 2013 1:13 am by creativeraven
:geek: We got the hosting provider involved to research the permissions and did a number of tests to recreate the error. Here's the feedback: "It looks like when you initially save the edit, it appends .human to the end of the cache file (fd16406b64f1dca758f3526d25eebc9e becomes fd16406b64f1dca758f3526d25eebc9e.human). That works successfully the first time. The next time you save the edit, it searches for the file but without the .human at the end of the filename, which is why it throws that warning. It does save the edits that you make, but it is not able to modify the cache filename for an unknown reason. I would take this to the plugin developer(s) to see if they can further troubleshoot this issue. The file it references in the warning message is encoded with IonCube Loader, which makes it difficult for us to troubleshoot this further." The cache folder has the proper write (delete) permission so that's working. It is just this warning message keeps popping up. I can anticipate someone making an edit, saving it and then reading it and discovering "oops, made a typo", goes back into the correct and when saving a second time is presented with this warning and will be concerned that the system isn't working. Can you please assist in providing some technical information or guidance as to how we can fix this and stop this warning message. Our hosting provider did as much as they could but it would appear we need your team to be involved because of the encoding with ionCube. Thanks for your help.
Re: GTPro - Error when attempting save of manual translation
Jan 27, 2013 12:59 pm by Yana
Hi, If you can see the changes on your site, then it is OK. I suggest you to disable error reporting . You don't need to worry about the notices, by default your php error reporting should be set to E_ALL & ~E_NOTICE, which doesn't log notices, probably you have E_ALL .

SIMILAR TOPICS

Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
Error message and URL problemsFeb 6, 2019 11:16 amReplies: 1Post by: Kidbooo
GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Nginx 502 ErrorJan 11, 2019 2:15 pmReplies: 1Post by: mightyfineprint
Error message on click on the widgetJan 6, 2019 9:52 pmReplies: 1Post by: jmric68

Try GTranslate with a free 15 day trial