Flexslider 0.5 Fatal error

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

Moderator: Tata

Post Reply
Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Flexslider 0.5 Fatal error

Post by 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: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Flexslider 0.5 Fatal error

Post by 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

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

Re: Flexslider 0.5 Fatal error

Post by 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: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Flexslider 0.5 Fatal error

Post by 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

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

Re: Flexslider 0.5 Fatal error

Post by 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.

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: Flexslider 0.5 Fatal error

Post by bastingse » Wed Aug 30, 2017 9:23 am

Hi Folks,

I'm trying to run flexslider XH 0.5 under Cmsimple XH 1.7 and php 7.0.14
I do get to see a white page when try to go to the pluginsettings

Any solution for this??

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: Flexslider 0.5 Fatal error

Post by bastingse » Wed Aug 30, 2017 9:26 am

cmb wrote:Anyhow, make sure that plugins/flexslider/index.php had been correctly uploaded (it has to contain the definition of function flexslider()).
I'm not sure if i read it well, but i did search in the index.php from the flexslider plugin, but i can not find "flexslider())"

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Flexslider 0.5 Fatal error

Post by cmb » Wed Aug 30, 2017 10:16 am

bastingse wrote:I'm trying to run flexslider XH 0.5 under Cmsimple XH 1.7 and php 7.0.14
For the time being, flexslider_xh is hosted on https://github.com/cmsimple-xh/flexslider where Flexslider_XH 0.5.4 is available.
Christoph M. Becker – Plugins for CMSimple_XH

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: Flexslider 0.5 Fatal error

Post by bastingse » Wed Aug 30, 2017 12:14 pm

Thanks Christoph, were would we be without you......
It works perfect !!!

Thanks
Emile

Post Reply