hi there,
I'm trying to install google_ads plugin on rouncube 0.7 stable.
I downloaded the plugin, configured the config.inc.php in /google_ads - folder and uploaded this folder to the roundcube/plugins-folder on the webserver.
in roundcube/config/main.inc.php I modified the plugins section:
$rcmail_config['plugins'] = array('google_ads');
I think that these are all the modifications / actions I have to do to enable the plugin.
but when I call the webmail-URL in different browsers I don't see any ads. no error-messages - nothing.
what can be wrong?
Try renaming the folder without the underscore and updating the array. I was having the same problem with a different plugin and this fixed it. I don't know why or if this is a bug that should be reported.
Thank you for your reply,
but it didn't help in my case :(
Problem still exists
In logs/errors I was seing this:
PHP Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ')' in .../plugins/google_ads/google_ads.php on line 67
I changed the line 67 from
'plugin' => $plugin::about($keys),
into
'plugin' => $plugin->about($keys),
and the error went away, but I am still not able to see the ads
Just opened this ticket in myroundcube project with a patch to fix the issues in google_ads.
You can see the patch here: http://code.google.com/p/myroundcube/issues/detail?id=315here (http://code.google.com/p/myroundcube/issues/detail?id=315here)
Upgrade to PHP 5.3 and your problems will disappear.