Error - gtranslate.php on line 482

Popular automatic website translation tool

Error - gtranslate.php on line 482

Postby chinchi » Sat May 11, 2013 3:14 pm

Hello Support
I get some strange behavior with language URL which i didn't set up. For example, if i use the language Extension /jp with my page URL i get this error:

"Warning: file_put_contents(C:\.../plugins/system/gtranslate/cache/ja/0199e2ca84350add20e2a3c680270289) [function.file-put-contents]: failed to open stream: No such file or directory in C:\...\plugins\system\gtranslate.php on line 482"

The File content can only be viewed/decoded with ionCube Loader. So i have no idea whats in line 482.

After "C:\" i removed the full path in the error output above. How can i fix this issue? It looks like, even if i deleted the cache folders like /jp, it still tries to open such strange, unwanted URL´s

Cache Folder .htaccess file:
Code: Select all
# deny all direct requests
Order Deny,Allow
Deny from all

<FilesMatch "^order_.*$">
    Allow from all

Main Page .htaccess file:
Code: Select all
RewriteEngine On
RewriteRule ^(en|zh-TW|cs|da|fi|fr|it|ru|es|sv|nl)/(en|zh-TW|cs|da|fi|fr|it|ru|es|sv|nl)/(.*)$ /$1/$3 [R=301,L]
RewriteRule ^(en|zh-TW|cs|da|fi|fr|it|ru|es|sv|nl)/(en|zh-TW|cs|da|fi|fr|it|ru|es|sv|nl)$ /$1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(en|zh-TW|cs|da|fi|fr|it|ru|es|sv|nl)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA]
RewriteRule ^(en|zh-TW|cs|da|fi|fr|it|ru|es|sv|nl)$ /gtranslate/translate.php?lang=$1 [L,QSA]
Posts: 11
Joined: Tue Oct 16, 2012 5:10 pm

Re: Error - gtranslate.php on line 482

Postby Edvard » Tue May 14, 2013 5:36 pm


The reason you see that error is because it is not able to write cache files in /plugins/system/gtranslate/cache/ja/ folder. Please make sure that there is such folder and the permission is set to 777.

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Site Admin
Posts: 4403
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests