FacebookLikeButton // PHP Fatal error after upgrade 1.11.10

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
lumimies
Forum Members
Forum Members
Posts: 40
Joined: Mon Sep 16, 2013 3:26 pm

FacebookLikeButton // PHP Fatal error after upgrade 1.11.10

Post by lumimies »

Hi

Just upgraded 1.11.2 to 1.11.10. Upgrade went ok but now i am having blank pages where i have "FacebookLikeButton" -tag.

php log says: "PHP Fatal error: Cannot redeclare smarty_cms_function_FacebookLikeButton() (previously declared in ../plugins/function.FacebookLikeButton.php:14) in ../plugins/function.facebooklikebutton.php on line 50"

If i take away "FacebookLikeButton" -tag the problem disappears but - how to get this to work again?


System information:

----------------------------------------------

Cms Version: 1.11.10

Installed Modules:

CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.4
MenuManager: 1.8.6
MicroTiny: 1.2.6
ModuleManager: 1.5.5
News: 2.14.2
Search: 1.7.11
ThemeManager: 1.1.8
CGExtensions: 1.38.1
FormBuilder: 0.7.3
GoogleMaps: 0.2.1
CGSimpleSmarty: 1.7.1
Showtime: 3.4
JQueryTools: 1.2.5
CGFavs: 1.0.6
TinyMCE: 2.9.12
CGBlog: 1.10.3
Gallery: 1.6.1
CGSmartImage: 1.15
avplayer: 1.3.2
ExtendedTools: 1.3.3
ToolBox: 1.3.8
CGFBApp: 1.0.7


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 256000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.14
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 512M
max_execution_time: 120
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 128M
upload_max_filesize: 256M
session_save_path: /Applications/MAMP/tmp/php (0775)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.25
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found


----------------------------------------------
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: FacebookLikeButton // PHP Fatal error after upgrade 1.11

Post by Dr.CSS »

Make sure you are using the latest version of that plugin, if that doesn't fix it you may want to file a bug report and/or contact the developer, it looks like it hasn't been upgraded in 10 months...
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: FacebookLikeButton // PHP Fatal error after upgrade 1.11

Post by velden »

It occurs to me that both files have different CasE (so same plugins but different versions?). Remove the plugin you don't use from file system.
Post Reply

Return to “Modules/Add-Ons”