Page 1 of 1

website down: 404 error, no admin login

Posted: Wed Jul 25, 2012 2:53 pm
by mcd
a website I manage has been giving a 404 error since yesterday.
All the files are visible via filemanager and ftp.
Our hosting company migrated the site recently but it was operational until yesterday.
I cannot login in to the background.
The login page for cmsms shows up with a different template to normal.
The admin password does not work.

What should I look at to rectify this?
Presumably there is a disconnect between the database and the files??
any help would be appreciated.

Re: website down: 404 error, no admin login

Posted: Wed Jul 25, 2012 4:17 pm
by mcd
I'm not sure what I did, but the site is back working.
thanks

Re: website down: 404 error, no admin login

Posted: Wed Jul 25, 2012 4:43 pm
by mcd
The site is visible but there is a list of code appearing at the base of the page:

What do I need to do?
code below.
--------------------------------------------------------

generated in 0.195642 seconds by CMS Made Simple using 45 SQL queries and 15378344 bytes of memory (peak memory usage was 15800256)
Debug: (2.4E-5) - (usage: 1170864) - (peak: 1347760)

done loading required files

Debug: (0.018273) - (usage: 1172256) - (peak: 1347760)

loading adodb

Debug: (0.01935) - (usage: 1314416) - (peak: 1413008)

loading page functions

Debug: (0.021269) - (usage: 1579200) - (peak: 1778016)

loading content functions

Debug: (0.021676) - (usage: 1618608) - (peak: 1778016)

loading translation functions

Debug: (0.023004) - (usage: 1786680) - (peak: 1869072)

loading php4 entity decode functions

Debug: (0.024329) - (usage: 2098144) - (peak: 2481336)

done loading files

Debug: (0.024374) - (usage: 2098536) - (peak: 2481336)

Initialize Database

Debug: (0.032062) - (usage: 3082320) - (peak: 3096648)

(mysql): SET NAMES 'utf8'

Debug: (0.03214) - (usage: 3079392) - (peak: 3137808)

Done Initializing Database

Debug: (0.032179) - (usage: 3079640) - (peak: 3138080)

Initialize Smarty

Debug: (0.036831) - (usage: 3806936) - (peak: 3914016)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.Smarty_CMS.php = 725480 bytes for an approximate total of 725480

Debug: (0.037238) - (usage: 3858984) - (peak: 3914016)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.cms_siteprefs.php = 32416 bytes for an approximate total of 757896

Debug: (0.037567) - (usage: 3862080) - (peak: 3914016)

(mysql): SELECT sitepref_name,sitepref_value FROM cms_siteprefs

Debug: (0.039882) - (usage: 4006352) - (peak: 4143592)

Done Initialiing Smarty

Debug display of 'Loading Routes':(0.040024) - (usage: 4008112) - (peak: 4143592)
Debug: (0.040367) - (usage: 4042384) - (peak: 4169448)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.pageinfo.inc.php = 32384 bytes for an approximate total of 790280

Debug: (0.042753) - (usage: 4314424) - (peak: 4464784)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.contentoperations.inc.php = 271032 bytes for an approximate total of 1061312

Debug: (0.042987) - (usage: 4316808) - (peak: 4464784)

(mysql): SELECT content_id,page_url FROM cms_content
WHERE active = 1 AND default_content = 0 AND page_url != ''

Debug display of 'End of Loading Routes':(0.043098) - (usage: 4313920) - (peak: 4464784)
Debug display of 'Loading Modules':(0.043152) - (usage: 4314160) - (peak: 4464784)
Debug: (0.046039) - (usage: 4643568) - (peak: 4795920)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.moduleoperations.inc.php = 327432 bytes for an approximate total of 1388744

Debug: (0.046275) - (usage: 4646880) - (peak: 4795920)

(mysql): SELECT * FROM cms_modules ORDER BY module_name

Debug: (0.047741) - (usage: 4745328) - (peak: 4836344)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.module_meta.php = 54424 bytes for an approximate total of 1443168

Debug: (0.055759) - (usage: 5940576) - (peak: 6144344)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.CMSModule.php = 524248 bytes for an approximate total of 1967416

Debug: (0.056027) - (usage: 6065224) - (peak: 6144344)

Loading /home/rdcnm11/public_html/nnmconnect/modules/CGCalendar/CGCalendar.module.php = 1313120 bytes for an approximate total of 3280536

Debug: (0.061215) - (usage: 6208800) - (peak: 6246512)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.CmsRoute.php = 24032 bytes for an approximate total of 3304568

Debug: (0.061663) - (usage: 6252696) - (peak: 6296784)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.cms_route_manager.php = 42456 bytes for an approximate total of 3347024

Debug: (0.065068) - (usage: 6582216) - (peak: 6631416)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.cms_utils.php = 38640 bytes for an approximate total of 3385664

Debug: (0.065601) - (usage: 6662680) - (peak: 6694632)

Loading /home/rdcnm11/public_html/nnmconnect/modules/EventsListing/EventsListing.module.php = 83520 bytes for an approximate total of 3469184

Debug: (0.066896) - (usage: 6856048) - (peak: 6905432)

Loading /home/rdcnm11/public_html/nnmconnect/modules/FormBrowser/FormBrowser.module.php = 175376 bytes for an approximate total of 3644560

Debug: (0.074142) - (usage: 7976112) - (peak: 8082688)

Loading /home/rdcnm11/public_html/nnmconnect/modules/FormBuilder/FormBuilder.module.php = 425024 bytes for an approximate total of 4069584

Debug: (0.087669) - (usage: 9931784) - (peak: 10069280)

Loading /home/rdcnm11/public_html/nnmconnect/modules/CMSMailer/CMSMailer.module.php = 296768 bytes for an approximate total of 4366352

Debug: (0.089007) - (usage: 10157472) - (peak: 10276704)

Loading /home/rdcnm11/public_html/nnmconnect/modules/News/News.module.php = 230296 bytes for an approximate total of 4596648

Debug: (0.089842) - (usage: 10167224) - (peak: 10276704)

(mysql): SELECT news_id,news_url FROM cms_module_news
WHERE status = 'published' AND news_url != '' AND ( IFNULL(start_time, '1969-12-31 19:00:01') < NOW()) AND (( IFNULL(end_time, '1969-12-31 19:00:01') = '1969-12-31 19:00:01') OR (end_time > NOW())) ORDER BY news_date DESC

Debug: (0.090094) - (usage: 10165640) - (peak: 10283208)

(mysql): SELECT content_id FROM cms_content WHERE default_content = 1 LIMIT 1

Debug: (0.091088) - (usage: 10325496) - (peak: 10426504)

Loading /home/rdcnm11/public_html/nnmconnect/modules/Printing/Printing.module.php = 146440 bytes for an approximate total of 4743088

Debug: (0.092901) - (usage: 10550656) - (peak: 10659528)

Loading /home/rdcnm11/public_html/nnmconnect/modules/Showtime/Showtime.module.php = 192080 bytes for an approximate total of 4935168

Debug: (0.095323) - (usage: 10962488) - (peak: 11109160)

Loading /home/rdcnm11/public_html/nnmconnect/modules/TinyMCE/TinyMCE.module.php = 403968 bytes for an approximate total of 5339136

Debug display of 'End of Loading Modules':(0.095463) - (usage: 10958440) - (peak: 11109160)
Debug: (0.095849) - (usage: 11002208) - (peak: 11109160)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.CmsRegularTaskHandler.php = 42008 bytes for an approximate total of 5381144

Debug: (0.096458) - (usage: 11012840) - (peak: 11115280)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.cms_content_cache.php = 46432 bytes for an approximate total of 5427576

Debug: (0.096697) - (usage: 11017056) - (peak: 11124512)

(mysql): SELECT * FROM cms_content WHERE content_id = '15' AND active = 1 LIMIT 1

Debug: (0.101633) - (usage: 11783432) - (peak: 12031920)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.ContentBase.php = 545928 bytes for an approximate total of 5973504

Debug: (0.101761) - (usage: 11830912) - (peak: 12031920)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/contenttypes/Content.inc.php = 810576 bytes for an approximate total of 6784080

Debug: (0.102269) - (usage: 11893456) - (peak: 12031920)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.ContentProperties.php = 57288 bytes for an approximate total of 6841368

Debug: (0.102459) - (usage: 11920248) - (peak: 12031920)

load from data is loading properties

Debug: (0.102683) - (usage: 11925872) - (peak: 12031920)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '15'

Debug: (0.10465) - (usage: 12138776) - (peak: 12227024)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.templateoperations.inc.php = 151552 bytes for an approximate total of 6992920

Debug: (0.104845) - (usage: 12143784) - (peak: 12227024)

(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '32' LIMIT 1

Debug: (0.111602) - (usage: 13318640) - (peak: 13488392)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.Events.php = 135568 bytes for an approximate total of 7128488

Debug: (0.111873) - (usage: 13323696) - (peak: 13488392)

(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
INNER JOIN cms_events e ON e.event_id = eh.event_id
ORDER BY eh.handler_order ASC

Debug: (0.125887) - (usage: 13763544) - (peak: 13911712)

Loading /home/rdcnm11/public_html/nnmconnect/modules/MenuManager/MenuManager.module.php = 201872 bytes for an approximate total of 7330360

Debug display of 'Start of Menu Manager Display':(0.126794) - (usage: 13889008) - (peak: 14027904)
Debug display of 'Start Loading Hierarchy Manager':(0.126842) - (usage: 13889272) - (peak: 14027904)
Debug display of 'starting tree':(0.126882) - (usage: 13889800) - (peak: 14027904)
Debug: (0.127087) - (usage: 13893848) - (peak: 14027904)

(mysql): SELECT modified_date FROM cms_content ORDER BY modified_date DESC LIMIT 1

Debug: (0.127209) - (usage: 13891480) - (peak: 14027904)

Content tree file needs loading

Debug: (0.128267) - (usage: 14049912) - (peak: 14139312)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.cms_tree.php = 56712 bytes for an approximate total of 7387072

Debug: (0.128341) - (usage: 14053608) - (peak: 14146152)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.cms_content_tree.php = 125776 bytes for an approximate total of 7512848

Debug display of 'ending tree':(0.128638) - (usage: 14126152) - (peak: 14190720)
Debug display of 'End Loading Hierarchy Manager':(0.128684) - (usage: 14111824) - (peak: 14205056)
Debug: (0.128985) - (usage: 14124048) - (peak: 14205056)

(mysql): SELECT * FROM cms_content WHERE content_id IN (133,57,69,56,70,72,108,111,115,127,137) AND active = 1 ORDER BY hierarchy

Debug: (0.130724) - (usage: 14169992) - (peak: 14207504)

(mysql): SELECT * FROM cms_content_props WHERE content_id IN (133,57,69,56,70,72,127,137) ORDER BY content_id

Debug: (0.132386) - (usage: 14494296) - (peak: 14549256)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/contenttypes/SectionHeader.inc.php = 76240 bytes for an approximate total of 7589088

Debug: (0.134354) - (usage: 14718456) - (peak: 14776368)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/contenttypes/Link.inc.php = 86120 bytes for an approximate total of 7675208

Debug: (0.136306) - (usage: 14558312) - (peak: 14849088)

(mysql): SELECT * FROM cms_content WHERE content_id IN (134,135,136,132) ORDER BY hierarchy

Debug: (0.137436) - (usage: 14774096) - (peak: 14849088)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/contenttypes/PageLink.inc.php = 98760 bytes for an approximate total of 7773968

Debug: (0.14027) - (usage: 14790320) - (peak: 14857128)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '134'

Debug: (0.142366) - (usage: 14798520) - (peak: 14883856)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '135'

Debug: (0.143598) - (usage: 14805720) - (peak: 14888824)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '136'

Debug: (0.144222) - (usage: 14811816) - (peak: 14893872)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '132'

Debug: (0.146605) - (usage: 14812936) - (peak: 14898816)

(mysql): SELECT * FROM cms_content WHERE content_id = '74' LIMIT 1

Debug: (0.150703) - (usage: 14848928) - (peak: 14900024)

(mysql): SELECT * FROM cms_content WHERE content_id IN (73) AND active = 1 ORDER BY hierarchy

Debug: (0.150937) - (usage: 14855656) - (peak: 14932528)

(mysql): SELECT * FROM cms_content_props WHERE content_id IN (73) ORDER BY content_id

Debug: (0.151796) - (usage: 14893000) - (peak: 14966880)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '74'

Debug: (0.152529) - (usage: 14898032) - (peak: 15008040)

(mysql): SELECT * FROM cms_content WHERE content_id IN (59,68,64,62,65) ORDER BY hierarchy

Debug: (0.153935) - (usage: 15062216) - (peak: 15119192)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '59'

Debug: (0.154193) - (usage: 15063272) - (peak: 15160352)

(mysql): SELECT * FROM cms_content WHERE content_id = '58' LIMIT 1

Debug: (0.15477) - (usage: 15100376) - (peak: 15160752)

(mysql): SELECT * FROM cms_content WHERE content_id IN (60,75) AND active = 1 ORDER BY hierarchy

Debug: (0.154982) - (usage: 15112792) - (peak: 15188184)

(mysql): SELECT * FROM cms_content_props WHERE content_id IN (60,75) ORDER BY content_id

Debug: (0.156039) - (usage: 15179032) - (peak: 15288416)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '58'

Debug: (0.156719) - (usage: 15190960) - (peak: 15329400)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '68'

Debug: (0.157179) - (usage: 15199960) - (peak: 15333888)

(mysql): SELECT * FROM cms_content WHERE content_id IN (88) ORDER BY hierarchy

Debug: (0.15776) - (usage: 15223712) - (peak: 15336232)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '64'

Debug: (0.158236) - (usage: 15232504) - (peak: 15341704)

(mysql): SELECT * FROM cms_content WHERE content_id IN (122) ORDER BY hierarchy

Debug: (0.158805) - (usage: 15256224) - (peak: 15344336)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '62'

Debug: (0.159304) - (usage: 15264240) - (peak: 15357576)

(mysql): SELECT * FROM cms_content WHERE content_id IN (102) ORDER BY hierarchy

Debug: (0.159881) - (usage: 15287928) - (peak: 15360360)

(mysql): SELECT * FROM cms_content_props WHERE content_id = '65'

Debug: (0.161107) - (usage: 15302736) - (peak: 15379944)

(mysql): SELECT * FROM cms_content WHERE content_id IN (108,111,115) AND active = 1 ORDER BY hierarchy

Debug: (0.161344) - (usage: 15303832) - (peak: 15392160)

(mysql): SELECT * FROM cms_content_props WHERE content_id IN () ORDER BY content_id
Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY content_id' at line 1

Debug: (0.161627) - (usage: 15303832) - (peak: 15394400)

(mysql): SELECT * FROM cms_content WHERE content_id IN (111,115) AND active = 1 ORDER BY hierarchy

Debug: (0.161789) - (usage: 15304928) - (peak: 15394400)

(mysql): SELECT * FROM cms_content_props WHERE content_id IN () ORDER BY content_id
Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY content_id' at line 1

Debug: (0.16203) - (usage: 15304904) - (peak: 15394776)

(mysql): SELECT * FROM cms_content WHERE content_id IN (115) AND active = 1 ORDER BY hierarchy

Debug: (0.162191) - (usage: 15306024) - (peak: 15394776)

(mysql): SELECT * FROM cms_content_props WHERE content_id IN () ORDER BY content_id
Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY content_id' at line 1

Debug display of 'End of Menu Manager Display':(0.180281) - (usage: 15415792) - (peak: 15757376)
Debug: (0.182526) - (usage: 15400544) - (peak: 15757376)

start global_content_get_template

Debug: (0.183492) - (usage: 15547352) - (peak: 15757376)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.globalcontentoperations.inc.php = 144552 bytes for an approximate total of 7918520

Debug: (0.183717) - (usage: 15552128) - (peak: 15757376)

(mysql): SELECT htmlblob_id, htmlblob_name, html, owner, use_wysiwyg, description, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'simtablevid' LIMIT 1

Debug: (0.183847) - (usage: 15549824) - (peak: 15757376)

end global_content_get_template

Debug: (0.183897) - (usage: 15549800) - (peak: 15757376)

start global_content_get_timestamp

Debug: (0.183947) - (usage: 15550440) - (peak: 15757376)

end global_content_get_timestamp

Debug: (0.186338) - (usage: 15498768) - (peak: 15757376)

start global_content_get_template

Debug: (0.186535) - (usage: 15505248) - (peak: 15757376)

(mysql): SELECT htmlblob_id, htmlblob_name, html, owner, use_wysiwyg, description, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'footer' LIMIT 1

Debug: (0.186653) - (usage: 15501832) - (peak: 15757376)

end global_content_get_template

Debug: (0.186701) - (usage: 15501808) - (peak: 15757376)

start global_content_get_timestamp

Debug: (0.186749) - (usage: 15502448) - (peak: 15757376)

end global_content_get_timestamp

Debug: (0.187654) - (usage: 15662432) - (peak: 15773160)

Loading /home/rdcnm11/public_html/nnmconnect/lib/classes/class.usertagoperations.inc.php = 67328 bytes for an approximate total of 7985848

Debug: (0.187856) - (usage: 15664296) - (peak: 15783016)

(mysql): SELECT * FROM cms_userplugins ORDER BY userplugin_name

Debug: (0.194507) - (usage: 15610960) - (peak: 15800256)

(mysql): SELECT DISTINCT A.css_id,A.media_type,B.assoc_order
FROM cms_css A, cms_css_assoc B
WHERE A.css_id = B.assoc_css_id
AND B.assoc_type = 'template'
AND B.assoc_to_id = '32'
ORDER BY B.assoc_order

Debug: (0.194828) - (usage: 15555904) - (peak: 15800256)

calling module TinyMCE from event ContentPostRender

Debug: (0.195061) - (usage: 15557528) - (peak: 15800256)

calling module CGExtensions from event ContentPostRender

Debug: (0.195446) - (usage: 15580168) - (peak: 15800256)

Loading /home/rdcnm11/public_html/nnmconnect/modules/CGExtensions/lib/class.cge_headers.php = 12840 bytes for an approximate total of 7998688

Debug: (0.195529) - (usage: 15571408) - (peak: 15800256)

calling module Showtime from event ContentPostRender

Re: website down: 404 error, no admin login

Posted: Wed Jul 25, 2012 5:13 pm
by mcd
this topic can be closed. I found out how to turn off the debug code.
thanks!

Re: website down: 404 error, no admin login

Posted: Wed Jul 25, 2012 8:03 pm
by Dr.CSS