Best Backup and Fresh Install Approach
Permalinkhttp://www.concrete5.org/community/forums/usage/adding-links-or-oth...
I have not heard back anything regarding this and I am approaching a deadline so I did a complete backup of all files and of the database itself from Concrete5's interface through the dashboard. Wiped out all of the files except for the existing database and installed a fresh new Concrete5 Version today. What I found is that even if I uploaded the theme files, files directory, and the database file to the backup folder, the new installation would not take or even see the old database back up file.
I have another website that I am currently building and updated it from 5.5.2 to the newest version via the back end of the site and did the backups I needed to do before each of the 2 upgrades to the current release. However what I am now noticing is that anytime I go to save a layout it looks great while I am logged in with the editing options on. When I log out the code goes haywire and looks horrible.
Webpage is herehttp://www.themercycoalition.org/volunteering...
So after searching for hours trying to find a fix for this and not being able to find one, I simply added the term for it to float left
Originally
echo '<div class="'.$columnn_id.' ccm-layout-cell ccm-layout-col ccm-layout-col-'.($j+1).' '.$positionTag.'" style="width:'.$colWidth.'">';
to
New
echo '<div class="'.$columnn_id.' ccm-layout-cell ccm-layout-col ccm-layout-col-'.($j+1).' '.$positionTag.'" style="width:'.$colWidth.'; float:left;">';
to line 282 where it specifies the style for the div class in file /updates/concrete5.6.2.1_updater/concrete/core/models/layout.php
This has worked temporarily but I know that if I want to use this function at all any more I need to get this fixed as soon as possible either by correctly fixing the source file or possibly doing a fresh install.
I know lots of info lol but that brings me to my question that I need to get answered hopefully or really just some suggestions to help me out here.
If I was to pull down what is up, to do a fresh install of the newest version what would be the best method/way of going about this? I have another rather large website that I will be needing to do this for as well so any help, suggestion, idea or method to make this work would be a blessing. I would even send you cookies!!!
Thanks for your time and attention to my request :)
As of right now I have the code changed to allow the layout to place properly. Once I update that code I will switch it back and see if it takes or not.
I went back in and changed the code back and it fell apart like it did before. If you would want I can do it live and in real time so you can see what I am referring to. I would love to nail down what is causing this issue cause if I try to move anything after placing it, it mess's up what I just did. I know they where having issues with this in previous releases of C5 and I thought it was fixed.
Anywho hope your having a blessed time family and friends and look forward to hearing back from you about it.
I see your main page uses lots of layouts and this will be a nightmare to get working and clients will break it all the time.
It appears that you have one main container called 'maintop1'. IMHO, you need to look at building a new 'Page Type' file that has it's DIVs constructed in the layout you want with editable areas in each DIV so you can just plunk the desired content into the proper spot instead of shoving it around with layouts. Something like this (season to taste):
<style> div {border:1px solid #ccc;} .wrapper {max-width:1024px;min-height:400px;margin:0 auto;} #maintop1 {min-height:200px;min-width:100%} #main {min-height:200px;min-width:60%;float:left} #sidebar {min-height:200px;min-width:40%} </style> <div class="wrapper"> <div id="maintop1">maintop<?php $a=new Area("Main Top");$a->display($c);?></div> <div id="main">Main<?php $a=new Area("Main");$a->display($c);?></div> <div id="sidebar">Sidebar<?php $a=new Area("Sidebar");$a->display($c);?></div> </div>
The layout functions use to work great. I am not sure what happened to it. Thanks for the suggestion mhawke I really appreciate your feed back on this and more then likely I will have to do something like that.
Most of the areas with layouts are fixed however areas with main content typically are more fluid and grow or shrink with what they put on there.
I would post a link to one that another client of mine messed up but I am afraid for people to know lol. Some people do not listen
In your source code of your home page, I see this
You need to remove one of them!
Also, I see you are using miser version 1.8.3
The latest release of miser is version 1.9.1
So I would either update miser to the latest version, or remove miser to see if it causing any of your problems..
UPDATE
Looking at your other post..
I see you have the same double declaration of character encoding which could be the root of your problems,
Also, the version of miser is a later one but still not the very latest,
Try removing miser on this site as well..