网站搭建好了,但是有很多的debug,请高手帮忙!

Moderator: eyesofkids

Locked
carenhe
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Sep 07, 2010 2:11 pm

网站搭建好了,但是有很多的debug,请高手帮忙!

Post by carenhe » Tue Sep 07, 2010 2:20 pm

在本地测试的网站,并且也上传到服务器成功了,登录后台和前台浏览都没有问题,但是打开joomla自带的报错功能后,在页面下出现了很多的错误,新手不懂数据库,更不懂代码,还望坛里的高手帮忙看一下是什么问题,贴出一段报错的代码:
•Profile Information•
Application afterLoad: 0.003 seconds, 0.51 MB
Application afterInitialise: 0.139 seconds, 4.56 MB
Application afterRoute: 0.190 seconds, 4.92 MB
Application afterDispatch: 0.440 seconds, 6.64 MB
Application afterRender: 0.579 seconds, 7.31 MB
•Memory Usage•
7763864
•15 queries logged•
SELECT *
FROM jos_session
WHERE session_id = 'k3sn3c6tvp5fu1smdfi0b3dl43'
DELETE
FROM jos_session
WHERE ( time < '1283865955' )
SELECT *
FROM jos_session
WHERE session_id = 'k3sn3c6tvp5fu1smdfi0b3dl43'
UPDATE `jos_session`
SET `time`='1283866855',`userid`='0',`usertype`='',`username`='',`gid`='0',`guest`='1',`client_id`='0',`data`='__default|a:7:{s:15:\"session.counter\";i:2;s:19:\"session.timer.start\";i:1283866846;s:18:\"session.timer.last\";i:1283866846;s:17:\"session.timer.now\";i:1283866852;s:22:\"session.client.browser\";s:50:\"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:1:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUser\":19:{s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";N;s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:3:\"gid\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:3:\"aid\";i:0;s:5:\"guest\";i:1;s:7:\"_params\";O:10:\"JParameter\":7:{s:4:\"_raw\";s:0:\"\";s:4:\"_xml\";N;s:9:\"_elements\";a:0:{}s:12:\"_elementPath\";a:1:{i:0;s:68:\"F:\\xampp\\xampp\\htdocs\\joomla\\libraries\\joomla\\html\\parameter\\element\";}s:17:\"_defaultNameSpace\";s:8:\"_default\";s:9:\"_registry\";a:1:{s:8:\"_default\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:9:\"_errorMsg\";N;s:7:\"_errors\";a:0:{}}}'
WHERE session_id='k3sn3c6tvp5fu1smdfi0b3dl43'
SELECT *
FROM jos_components
WHERE parent = 0
SELECT folder AS type, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
SELECT *
FROM jos_migration_backlinks
WHERE url LIKE 'option=com\_content&view=section&layout=blog&id=5&Itemid=54%' OR sefurl LIKE 'option=com\_content&view=section&layout=blog&id=5&Itemid=54%'
SELECT *
FROM jos_migration_backlinks
WHERE url LIKE 'index.php?option=com\_content&view=section&layout=blog&id=5&Itemid=54%' OR sefurl LIKE 'index.php?option=com\_content&view=section&layout=blog&id=5&Itemid=54%'
SELECT m.*, c.`option` AS component
FROM jos_menu AS m
LEFT JOIN jos_components AS c
ON m.componentid = c.id
WHERE m.published = 1
ORDER BY m.sublevel, m.parent, m.ordering
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 54)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT *
FROM jos_sections
WHERE id = 5
LIMIT 0, 1
SELECT a.id, a.title, a.alias, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.attribs, a.hits, a.images, a.urls, a.ordering, a.metakey, a.metadesc, a.access, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author, u.usertype, cc.title AS category, g.name AS groups, u.email AS author_email
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
LEFT JOIN jos_sections AS s
ON s.id = a.sectionid
LEFT JOIN jos_users AS u
ON u.id = a.created_by
LEFT JOIN jos_groups AS g
ON a.access = g.id
WHERE a.access <= 0
AND s.id = 5
AND s.access <= 0
AND cc.access <= 0
AND s.published = 1
AND cc.published = 1
AND a.state = 1
AND ( publish_up = '0000-00-00 00:00:00' OR publish_up <= '2010-09-07 13:40:56' )
AND ( publish_down = '0000-00-00 00:00:00' OR publish_down >= '2010-09-07 13:40:56' )
ORDER BY a.created
LIMIT 0, 10
SELECT a.id, a.title, a.alias, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.attribs, a.hits, a.images, a.urls, a.ordering, a.metakey, a.metadesc, a.access, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author, u.usertype, cc.title AS category, g.name AS groups, u.email AS author_email
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
LEFT JOIN jos_sections AS s
ON s.id = a.sectionid
LEFT JOIN jos_users AS u
ON u.id = a.created_by
LEFT JOIN jos_groups AS g
ON a.access = g.id
WHERE a.access <= 0
AND s.id = 5
AND s.access <= 0
AND cc.access <= 0
AND s.published = 1
AND cc.published = 1
AND a.state = 1
AND ( publish_up = '0000-00-00 00:00:00' OR publish_up <= '2010-09-07 13:40:56' )
AND ( publish_down = '0000-00-00 00:00:00' OR publish_down >= '2010-09-07 13:40:56' )
ORDER BY a.created
SELECT a.*, COUNT( b.id ) AS numitems, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END AS slug
FROM jos_categories AS a
LEFT JOIN jos_content AS b
ON b.catid = a.id
AND b.state = 1
AND ( b.publish_up = '0000-00-00 00:00:00' OR b.publish_up <= '2010-09-07 13:40' )
AND ( b.publish_down = '0000-00-00 00:00:00' OR b.publish_down >= '2010-09-07 13:40' )
AND b.access <= 0
WHERE a.section = 5
AND a.published = 1
AND a.access <= 0
GROUP BY a.id
HAVING numitems > 0
ORDER BY a.ordering
SELECT id, title, module, position, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 54 OR mm.menuid = 0 )
ORDER BY position, ordering
•0 legacy queries logged•
•Language Files Loaded•
F:\xampp\xampp\htdocs\joomla\language\en-GB\en-GB.ini 1
F:\xampp\xampp\htdocs\joomla\language\en-GB\en-GB.plg_system_debug.ini 1
F:\xampp\xampp\htdocs\joomla\language\en-GB\en-GB.com_content.ini 1
F:\xampp\xampp\htdocs\joomla\language\en-GB\en-GB.plg_content_pagebreak.ini 1
F:\xampp\xampp\htdocs\joomla\language\en-GB\en-GB.tpl_st_dentist.ini
F:\xampp\xampp\htdocs\joomla\language\en-GB\en-GB.mod_breadcrumbs.ini 1
F:\xampp\xampp\htdocs\joomla\language\en-GB\en-GB.mod_mainmenu.ini 1
F:\xampp\xampp\htdocs\joomla\language\en-GB\en-GB.mod_search.ini 1

有的页面的报错会达到61,请高手现身帮忙啊,小女子先谢过了!

shenys
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Tue Dec 09, 2008 1:57 am

Re: 网站搭建好了,但是有很多的debug,请高手帮忙!

Post by shenys » Tue Sep 14, 2010 5:22 am

这个信息只是一般的log并不是报错啊

carenhe
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Sep 07, 2010 2:11 pm

Re: 网站搭建好了,但是有很多的debug,请高手帮忙!

Post by carenhe » Tue Sep 14, 2010 7:05 am

谢谢前辈指点!新手不懂代码,多谢解答!


Locked

Return to “Chinese Forum”