Jump to content

Roknewspager thumbnail conflict


Thomas Venugopal

Recommended Posts

If you run the mod_roknewspager and turning on the thumbnails function you get an error.

 

Fatal error: Cannot redeclare class Thumbnail in /components/com_s2framework/vendors/thumbnail/thumbnail.inc.php on line 17

 

Go to to /modules/mod_roknewspager/lib/thumbnail.inc.php

and replace the class "Thumbnail" to another unique name (I used "Thumbnailrt" while "rt" stands for rockettheme)

 

Do the same in /modules/mod_roknewspager/lib/helper.php

 

And you're fine :) It would be great if the sf2framework would use another unique name to avoid these conflicts.

 

getimo

Link to comment
×
×
  • Create New...