hi,
i did an upgrade to version 1.11.6, and now i'm seeing the following error:
Function ereg_replace() is deprecated public_html/plugins/function.stylesheet.php on line 104
I've been searching and found the solution reg_replace but can't get the syntax right.
thanks in advance.
Function ereg_replace() is deprecated
Re: Function ereg_replace() is deprecated
You should not use stylesheet function at all, it has been replaced with cms_stylesheet since 1.9.x series.
Change in your template from {stylesheet} to {cms_stylesheet} possibly you will have to adjust paths (for example background: url([[root_url]]/path/to/image);) in your Stylesheet for background images as now stylesheets are saved in /tmp/cache folder
Change in your template from {stylesheet} to {cms_stylesheet} possibly you will have to adjust paths (for example background: url([[root_url]]/path/to/image);) in your Stylesheet for background images as now stylesheets are saved in /tmp/cache folder
Re: Function ereg_replace() is deprecated
thanks for your reply.
i'm a complete noob with cmsms to be honest...
I found that you can install with the theme manager but there is no theme manager in my admin section, nor it there a "layout"-option (should be there according to the docs)
It looks like it's gone. Where to adjust the template?
i'm a complete noob with cmsms to be honest...
I found that you can install with the theme manager but there is no theme manager in my admin section, nor it there a "layout"-option (should be there according to the docs)
It looks like it's gone. Where to adjust the template?
Re: Function ereg_replace() is deprecated
where can i adjust the template? I can't find the "layout" button in the admin section whitch is mentioned in the documentation.Briefcase wrote:hi,
i did an upgrade to version 1.11.6, and now i'm seeing the following error:
Function ereg_replace() is deprecated public_html/plugins/function.stylesheet.php on line 104
I've been searching and found the solution reg_replace but can't get the syntax right.
thanks in advance.
Re: Function ereg_replace() is deprecated
The default admin menu goes, CMS, Content, Layout, etc.etc. under Layout is templates, style sheets, menu manager, theme managter, if you don't see the top Layout menu item you are not set up as full admin of site or some such...