Topic on Extension talk:Widgets

Jump to navigation Jump to search (talkcontribs)

MediaWiki 1.23.0 PHP 5.3.24 (cgi-fcgi) MySQL 5.5.33

I have recently updated my wiki and downloaded widgets version 1.1 and having a problem running php update it fails with the following:

C:\Websites\Wikitourism\maintenance>php update.php PHP Warning: require_once(C:\Websites\Wikitourism\extensions\Widgets/smarty/libs/Smarty.class.php): failed to open stream: No such file or directory in C:\Websites\Wikitourism\extensions\Widgets\Widgets.php on line 56 PHP Fatal error: require_once(): Failed opening required 'C:\Websites\Wikitourism\extensionsWidgets/smarty/libs/Smarty.class.php' (include_path='.;C:\php\pear') in C:\Websites\Wikitourism\extensions\Widgets\Widgets.php on line 56

I verified that the extension was in the C:\Websites\Wikitourism\extensions\ folder

I have resorted to a previous version (version 1.0)and ran through the update.

Kghbln (talkcontribs)

The folder /smarty/ containing the necessary libs is not included in the download. So downloading this version and copying over the contents of the smarty directory from the old version should get this running.

In case you would like to download smarty individually you should go to the respective download page. Probably this should somehow get into the extension's documentation anyway.

Longphile (talkcontribs)

I'm also having problems installing Widgets on MW 1.23. On 1.22, I simply copied over the Widgets folder from 1.21 and things worked fine. I believe I am giving the server permissions to compiled_templates folder correctly. Using both the older and newer 1.1 versions, no templates are generated in the compiled_templates folder after putting an iframe widget on a test page. I get "Error in widget Iframe." I do have the Widget:Iframe in the wiki. I copied over the smarty folder from the older installation.

Gleki.arxokuna (talkcontribs)

Can someone put a working directory with this extension into one github repo?

I installed it onto mw1.24 wmf16 and it also shows "Error in widget..." for every widget. I applied 775 perms to /compiled_templates folder. Nothing. (talkcontribs)

I got the same problem. No idea how to solve it.

Reply to "php update mediawiki 1.23"