This is on a network (multisite) installation.
Ugrade to PHP 5.4.8 on my hosting; Now the plug will not activate. Throws a fatal error:
Fatal error: Call-time pass-by-reference has been removed in
…/cmglobal-org/wp-content/plugins/g-translate/g-translate.php on line 344
I have a link on the site that was put there when the plugin was working. You can use it to select the language, but, at least in Chrome, you then get the Translate bar across the top of the screen and you can translate from there.
https://cmglobal.org/patrimony-en/
https://www.ads-software.com/extend/plugins/g-translate/
I changed (& $data) to ($data) in several places; now I get less severe errors. (still must have it disabled).
Warning: fopen(/…/cmglobal-org/wp-content/plugins/g-translate/owner.txt): failed to open stream: Permission denied in /…/www/users/nicollb/cmglobal-org/wp-content/plugins/g-translate/g-translate.php on line 250
Warning: fwrite() expects parameter 1 to be resource, boolean given in
/…/cmglobal-org/wp-content/plugins/g-translate/g-translate.php on line 252
Warning: fclose() expects parameter 1 to be resource, boolean given in
/…/cmglobal-org/wp-content/plugins/g-translate/g-translate.php on line 254
under sidebar i tried to enter different titles for it, but its not showing up. any help?
]]>Since the last two Updates the Plugin requires manual rework.
This is due to the fact that you are calling
$_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/plugins/g-translate/….’
This would work if WordPress is installed in the root folder of the webspace. In My case it’s in a subfolder but the root of the domain is set to the subfolder as well. Therefore I have to add manually the path to each entry where you are calling the DOCUMENT_ROOT:
$_SERVER[‘DOCUMENT_ROOT’] . ‘page1/blog/wp-content/plugins/g-translate/….’
Please try to take the WordPress document root instead.
BTW: The Plugin has Version 1.3 in Worpress but here I read versions like 3.x. Is that normal?
Thanks a lot and best regards,
Markus
I have the plug-in on two sites and it works fine but they don’t have any Google text ads.
I spent 2 days trying to find out why text ads on a new site were showing “google translate” in place of their text ads.
The plug-in was doubling the number of ads so Google wasn’t showing them.
]]>