gfhuertac / myGengo-Wordpress-plugin

A plugin to translate content of a wordpress blog using myGengo.com
5 stars 2 forks source link

Parse error while activating the plugin in WordPress 3.3.1 #2

Open iodic opened 12 years ago

iodic commented 12 years ago

This is the error I get when I try to activate the plugin:

Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\wd\wp-content\plugins\mygengo\mygengo.php on line 824

I have tried it on two different WP installs and I got the same error.

P.S. Removing the '}' made things worse. :(

gfhuertac commented 12 years ago

Can you send the log from the webserver? The php is correct (running php mygengo.php does not produce any error), so I guess there could be something happening behind the scenes. I will try to test on WP 3.3.1

iodic commented 12 years ago

Well, this is embarrassing... I had removed the plugin after posting the comment so now I uploaded it again and it got activated without any issues. I am not sure what is different, I haven't changed anything on the server and it seems like the last commit to the plugin was on the 17th... Tomorrow, I will test the plugin locally as well and close the issue if it turns out that it now works.

Thank you very much for replying and I am sorry if it turns out that it was a temporary issue or, rather, not an issue after all.

iodic commented 12 years ago

I redownloaded the plugin and tried it again and it activates on MAMP but it won't run on XAMPP (Windows version, I haven't tried XAMPP on the Mac). The PHP version on XAMPP is 5.3.1 (MAMP's is 5.3.6) if that is of any importance.

Also, I can confirm that the plugin works on another hosting account (GoDaddy, the one I reported working yesterday was hosted on Hostgator).

As far as I am concerned, we can close the issue but if you need any more info from me about my local setup (XAMPP), just let me know. :)

gfhuertac commented 12 years ago

OK, I will try on XAMPP and let you know ^^