Problem with gtranslate in Wordpress

Popular automatic website translation tool

Problem with gtranslate in Wordpress

Postby [email protected] » Wed Nov 24, 2010 4:16 am

This is the message I get at the top of the page when I load the gtranslate plugin in Wordpress

Deprecated: Call-time pass-by-reference has been deprecated in C:\wamp\www\nlcc\blog\wp-content\plugins\gtranslate\gtranslate.php on line 39

Deprecated: Call-time pass-by-reference has been deprecated in C:\wamp\www\nlcc\blog\wp-content\plugins\gtranslate\gtranslate.php on line 62

Deprecated: Call-time pass-by-reference has been deprecated in C:\wamp\www\nlcc\blog\wp-content\plugins\gtranslate\gtranslate.php on line 90

Currently I am working from a localhost though I am connected to the internet.

Can you please help
[email protected]
 
Posts: 3
Joined: Wed Nov 24, 2010 4:13 am

Re: Problem with gtranslate in Wordpress

Postby Edvard » Wed Nov 24, 2010 1:53 pm

Try to set allow_call_time_pass_reference to true in your php.ini.

Don't forget to restart Apache.
Regards,

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
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Problem with gtranslate in Wordpress

Postby [email protected] » Thu Nov 25, 2010 10:16 pm

So I went to php.ini first I found this


; allow_call_time_pass_reference
; Default Value: On
; Development Value: Off
; Production Value: Off

here I didn't do anything (hope this was correct)

then I found

allow_call_time_pass_reference = off

and I changed it to:

allow_call_time_pass_reference = on

saved the changes then

restarted all the services on the wamp server and nothing changed.

then I restarted my computer and still I have the same error.

What am I doing wrong?
[email protected]
 
Posts: 3
Joined: Wed Nov 24, 2010 4:13 am

Re: Problem with gtranslate in Wordpress

Postby Edvard » Thu Nov 25, 2010 10:22 pm

May be you have made a change on a wrong php.ini file?

Create info.php file with the contents below, put it in your site and access it with your browser (ex. http://localhost/info.php)
Code: Select all
<?php
phpinfo();


Try to find allow_call_time_pass_reference on that page and see what is the value for that.

Also on that page you will see the loaded php.ini file which should be modified.
Regards,

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
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


Re: Problem with gtranslate in Wordpress

Postby Edvard » Fri Nov 26, 2010 1:25 pm

Good, no you can leave it as is. I guess that php.ini in php folder will be used when you execute php from command line.
Regards,

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
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux