Author Topic: problems enabling plugin  (Read 5979 times)

Offline klausguenter

  • Newbie
  • *
  • Posts: 5
problems enabling plugin
« on: December 21, 2011, 07:31:52 PM »
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:
Code: [Select]
$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?

Offline TT_ZX

  • Newbie
  • *
  • Posts: 1
problems enabling plugin
« Reply #1 on: January 18, 2012, 11:10:50 PM »
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.

Offline klausguenter

  • Newbie
  • *
  • Posts: 5
problems enabling plugin
« Reply #2 on: January 19, 2012, 06:19:42 PM »
Thank you for your reply,

but it didn't help in my case :(

Problem still exists

Offline ASeques

  • Jr. Member
  • **
  • Posts: 12
Re: problems enabling plugin
« Reply #3 on: March 28, 2012, 03:23:01 AM »
In logs/errors I was seing this:
Code: [Select]
PHP Parse error:  syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ')' in .../plugins/google_ads/google_ads.php on line 67I changed the line 67 from
Code: [Select]
'plugin' => $plugin::about($keys),into
Code: [Select]
'plugin' => $plugin->about($keys),and the error went away, but I am still not able to see the ads

Offline ASeques

  • Jr. Member
  • **
  • Posts: 12
Re: problems enabling plugin
« Reply #4 on: March 28, 2012, 04:32:09 AM »
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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Re: problems enabling plugin
« Reply #5 on: March 28, 2012, 08:51:33 AM »
Upgrade to PHP 5.3 and your problems will disappear.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)