Flexslider 0.5 Fatal error

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Tata
Posts: 2121
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Flexslider 0.5 Fatal error

Postby Tata » Mon Dec 19, 2016 4:07 pm

Under CMSimple_XH 1.6.9 I get followng message:
Fatal error: Call to undefined function flexslider() in /www/c/m/u13296/public_html/_sub/cmsimple_xh_plugins/plugins/flexslider/admin.php on line 553

What's wrong?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 10267
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Flexslider 0.5 Fatal error

Postby cmb » Mon Dec 19, 2016 4:58 pm

Tata wrote:Under CMSimple_XH 1.6.9 I get followng message:
Fatal error: Call to undefined function flexslider() in /www/c/m/u13296/public_html/_sub/cmsimple_xh_plugins/plugins/flexslider/admin.php on line 553

What's wrong?

That might be an OPcache issue again. flexslider() is defined in plugins/flexslider/index.php what should be included by CMSimple_XH before plugins/flexslider/admin.php. And actually, it works for me (PHP 7.0.2, CMSimple_XH 1.6.9).
Christoph M. Becker –Plugins for CMSimple_XH, but not for CMSimple 4+

Tata
Posts: 2121
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Flexslider 0.5 Fatal error

Postby Tata » Mon Dec 19, 2016 5:47 pm

I have the code from you in the template. Let's see some time later... I left computer some hour ago and checked it now on mobile, but the message is still there.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 10267
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Flexslider 0.5 Fatal error

Postby cmb » Mon Dec 19, 2016 5:55 pm

Tata wrote:I have the code from you in the template. Let's see some time later... I left computer some hour ago and checked it now on mobile, but the message is still there.

The code in the template is only for the file it's in (in this case only for this template.htm). Use opcache_reset() if you want to reset the OPcache for every request – but remove the code when you are not testing/developing.

Anyhow, make sure that plugins/flexslider/index.php had been correctly uploaded (it has to contain the definition of function flexslider()).
Christoph M. Becker –Plugins for CMSimple_XH, but not for CMSimple 4+

Tata
Posts: 2121
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Flexslider 0.5 Fatal error

Postby Tata » Mon Dec 19, 2016 7:36 pm

Ahm sorryyyyy!!!! There is no index.php in downloaded package :-(
The download went not completely trough.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.


Return to “Addons and Plugins”

Who is online

Users browsing this forum: No registered users and 2 guests