Hi Guys,
Had an issue a week or two ago with having too many expanded pages open in listcontent.php CallGuy provided the solution, thanks again. Now working collapsed by default.
Address is http://www.historypoints.org
Today however I had a call from an editor who said "All I did was upload a map and all the lights went out..."
This error showed when trying to open the pages section (and some others).
Catchable fatal error: Object of class cms_content_tree could not be converted to string in /home/mochdren/public_html/subdom_hp/lib/classes/class.contentoperations.inc.php on line 614
line 614 reads: $expr = 'content_id IN ('.implode(',',$explicit_ids).')';
lines 606 to 620 reads:
function LoadChildren($id, $loadprops = false, $all = false, $explicit_ids = array() )
{
$gCms = cmsms();
$db = $gCms->GetDb();
$contentrows = '';
if( is_array($explicit_ids) && count($explicit_ids) )
{
$expr = 'content_id IN ('.implode(',',$explicit_ids).')';
if( !$all ) $expr .= ' AND active = 1';
// note, this is mysql specific...
$query = 'SELECT * FROM '.cms_db_prefix().'content FORCE INDEX ('.cms_db_prefix().'index_content_by_idhier) WHERE '.$expr.' ORDER BY hierarchy';
$contentrows = $db->GetArray($query);
}
The big problem this time was that we lost the front end also. The site was effectively dead.
I had a root about and crossed my fingers as I hit the clear cache button. Hooray! It worked instantly and all is now normal again.
My question is this. How did clearing the cache solve what (felt like) seemed to be a calamitous event?
Seems like the quicker I get my finger out and swap to 1.11.9 the better.
Any advice greatly appreciated as always.
Cheers,
Eugene.
Catchable fatal error seem to have fixed with cache clearing
The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Jump to
- Official Boards
- ↳ README FIRST!!!
- ↳ Announcements
- ↳ General Discussion
- Support Boards
- ↳ CMSMS Core
- ↳ Modules/Add-Ons
- ↳ Help Wanted (commercial)
- ↳ Translations
- Community Boards
- ↳ Tips and Tricks
- ↳ CMS Show Off
- ↳ Layout and Design (CSS & HTML)
- ↳ Feature ideas
- ↳ Developers Discussion
- ↳ The Lounge
- International Discussions
- ↳ Czech/Slovak - Česky/Slovensky
- ↳ Danish - Dansk
- ↳ Dutch - Nederlands
- ↳ Aankondigingen
- ↳ Tips en Trucs
- ↳ Vertalingen & Documentatie
- ↳ Hulp gezocht (commercieel)
- ↳ Finnish - Suomi
- ↳ French - Français
- ↳ German - Deutsch
- ↳ BITTE ZUERST LESEN !!!
- ↳ Ankündigungen
- ↳ Installation und Einstellungen
- ↳ Module und Tags
- ↳ Smarty-Tipps und -Tricks
- ↳ Layout und Design
- ↳ Suchmaschinenoptimierung (SEO)
- ↳ HowTo's
- ↳ Übersetzungen
- ↳ Show Off
- ↳ Hilfe gesucht (kommerziell)
- ↳ Stammtisch
- ↳ Hungarian - Magyar
- ↳ Italian - Italiano
- ↳ Moduli/Plugins
- ↳ Lithuanian - Lietuviškai
- ↳ Darbo / bendradarbiavimo pasiūlymai ir paieška
- ↳ Persian / Farsi
- ↳ Polish - Polski
- ↳ Portuguese - Português
- ↳ Russian - русский
- ↳ Предложения и поиск РАБОТЫ
- ↳ Spanish - Español
- ↳ Swedish - Svenska
- Geekmoot Editions
- ↳ Geekmoot 2016
- ↳ Connections and Conversations
- ↳ Geekmoot 2015
- ↳ Geek Moot 2012
- ↳ Locked: Geek Moot 2010
- Old Forums
- ↳ [locked] CMSMS 2.0 Beta
- ↳ Module Developers
- ↳ Closed Issues
- ↳ [locked] Documentation0ld
- ↳ Suggestions, Modifications & Corrections
- ↳ [locked] CMSMS 1.11 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 1.10 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 2.2 Beta
- ↳ [locked] CMSMS MLE fork
- ↳ Modules/Addon patchs
- ↳ [locked] Quality Assurance
- ↳ [locked] Accessability and Usability
- ↳ [locked] Documentation
- ↳ Media and presentations about CMSMS
- ↳ [locked] Installation, Setup and Upgrade