Miser and SuperHero Theme
Permalink
I maintain a website for a nonprofit agency, and I am in the process of converting it to Concrete5.
I built a Concrete5 testsite on a sub domain and it was going great. I had pretty much finished building the home page and noticed that loading time was a little slow. (I know it will be slower than my current static HTML site) So I decided to install Miser and ran into some problems.
After installing Miser my site speed greatly improved. However I have ran into the following problems:
(a) I am not able to edit my site now. I can login to the dashboard, but nothing happens after I click on the edit button, and hover over a block.
(b) Several of my add-ons vanished and/or stopped working at my page. Automatic Email Obfuscator broke and Blueberry Image Slider vanished.
(c) I also had a Twitter widget code in Footer 2 in my footer that is not showing up.
Absolutely love the functionality and ease of use of Concrete5. As an amateur web designer, I am equally impressed with the community as well.
So my long winded questions are:
(1) What did I do wrong in my Miser install? Does it work with all MarketPlace themes/addons?
(2) If I uninstalled Miser would I need to rebuild my test page, or would it just roll back? (I can roll back to a previous version before I installed Miser through my ISP)
My test site is http://new.hopeshome.org
Any advice is greatly appreciated.
I built a Concrete5 testsite on a sub domain and it was going great. I had pretty much finished building the home page and noticed that loading time was a little slow. (I know it will be slower than my current static HTML site) So I decided to install Miser and ran into some problems.
After installing Miser my site speed greatly improved. However I have ran into the following problems:
(a) I am not able to edit my site now. I can login to the dashboard, but nothing happens after I click on the edit button, and hover over a block.
(b) Several of my add-ons vanished and/or stopped working at my page. Automatic Email Obfuscator broke and Blueberry Image Slider vanished.
(c) I also had a Twitter widget code in Footer 2 in my footer that is not showing up.
Absolutely love the functionality and ease of use of Concrete5. As an amateur web designer, I am equally impressed with the community as well.
So my long winded questions are:
(1) What did I do wrong in my Miser install? Does it work with all MarketPlace themes/addons?
(2) If I uninstalled Miser would I need to rebuild my test page, or would it just roll back? (I can roll back to a previous version before I installed Miser through my ISP)
My test site is http://new.hopeshome.org
Any advice is greatly appreciated.
I am included my environment information.
Under reports I checked logs and did not have any info except for:
There are no log entries to show at the moment.
And the funny thing is I uninstalled the themes that came with the initial C5 install. So I am unable to use them as a roll back option.
Thanks for the quick reply!
Under reports I checked logs and did not have any info except for:
There are no log entries to show at the moment.
And the funny thing is I uninstalled the themes that came with the initial C5 install. So I am unable to use them as a roll back option.
Thanks for the quick reply!
# concrete5 Version 5.5.2.1 # concrete5 Packages Add Multiple Pages (2.1), Automatic Email Obfuscator (1.2.3), Blueberry Image Slider (1.2), Bootstrap Buttons (1.1.2), Pro Blog (6.5.2), ProEvents (5.7.7), Superhero (1.1). # concrete5 Overrides helpers/miser.php, helpers/miser_support, css/my-custom.css, libraries/view.php # Server Software Microsoft-IIS/6.0 # Server API cgi-fcgi # PHP Version 5.2.17 # PHP Extensions bcmath, calendar, cgi-fcgi, com_dotnet, ctype, curl, date, dom, fdf, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mssql, mysql, mysqli, odbc, openssl, pcre, Reflection, session, SimpleXML, sockets, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Optimizer, zip, zlib. # PHP Settings
Viewing 15 lines of 43 lines. View entire code block.
Two main things that Miser does are concatenate CSS & JS and it also moves JS to the end of the HTML document. To debug, option one would be to disable file concatenation. If stuff is still weird, disable rearranging of files. If its still weird, disable/uninstall/delete miser. You should not see any adverse effects. You can edit what miser does in the miser.php file, then re upload to your server. There should be several true false statements at the top of the file allowing you to customize things.
What version of Miser do you have? At the moment, I think 1.7.3 is the latest version:
http://sourceforge.net/projects/miser/...
IIS may be tricky too. Many folks using miser are on a lamp stack (not to say IIS wouldn't work though, just something to be aware of).
What version of Miser do you have? At the moment, I think 1.7.3 is the latest version:
http://sourceforge.net/projects/miser/...
IIS may be tricky too. Many folks using miser are on a lamp stack (not to say IIS wouldn't work though, just something to be aware of).
Thanks for the reply. I am definitely interested in seeing if I can get Miser working with my current setup. Since I noticed a performance difference right away. I will look into your recommendations and upload the php file again before I hit the panic button and uninstall.
I installed Miser 1.7.3.
I also noticed that when I selected the menu from the Edit button after logging into my site, the selection did not pop up in the usual window. They opened up a new webpage without the usual container. I included a screenshot.
Thanks again for recommendations!
I installed Miser 1.7.3.
I also noticed that when I selected the menu from the Edit button after logging into my site, the selection did not pop up in the usual window. They opened up a new webpage without the usual container. I included a screenshot.
Thanks again for recommendations!
(1) Nothing. Miser is installed and operating but you have a javascript error in either one of the addons or in the inline code which is highlighted by using Miser.
Miser is not guaranteed to work with all addons "out-of-the-box", but if an addon is well written, then it is unlikely to cause problems. However, there are a number of options to mitigate misbehaving addons. The most common cause of these sorts of issues, however is by enabling the Concrete5 cache which should NOT be enabled.
(2)Miser can be removed by simply deleting (or renaming)the view.php that you put in the top level "libraries" folder. Miser does not modify any files in your installation and this file is the "hook" to allow concret5 to use Miser. Your installation will revert back without any having to restore any backups or files.
If you are still having issues, email the address at the top of the miser.php file or the readme and I'll see what I can do for you.
Miser is not guaranteed to work with all addons "out-of-the-box", but if an addon is well written, then it is unlikely to cause problems. However, there are a number of options to mitigate misbehaving addons. The most common cause of these sorts of issues, however is by enabling the Concrete5 cache which should NOT be enabled.
(2)Miser can be removed by simply deleting (or renaming)the view.php that you put in the top level "libraries" folder. Miser does not modify any files in your installation and this file is the "hook" to allow concret5 to use Miser. Your installation will revert back without any having to restore any backups or files.
If you are still having issues, email the address at the top of the miser.php file or the readme and I'll see what I can do for you.
Also, why not activate the theme you had before? This ought to remove any issue with the miser theme. You can always reactivate miser later on.