All of a sudden a site that I put together a couple of years ago is spewing out errors on every page. I turned off debug mode in the config.php file to get rid of them, but I wonder why it is happening. If anyone could give me an idea I would be grateful. An example of the error is: (this was from the admin/topmyprefs.php page)
Debug: (1.9E-05)
loading smarty
Debug: (0.004123)
loading adodb
Debug: (0.005431)
loading page functions
Debug: (0.008038)
loading content functions
Debug: (0.010413)
loading pageinfo functions
Debug: (0.010959)
loading translation functions
Debug: (0.011363)
loading events functions
Debug: (0.012702)
done loading files
Debug: (0.023944)
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):
Debug: (0.0263)
(mysql): SELECT * FROM cms_userplugins
Error (0):
Debug: (0.043636)
(mysql): SELECT * FROM cms_modules ORDER BY module_name
Error (0):
Debug display of 'End of include':(0.105462)
Debug: (0.105579)
Session found. Moving on...
Debug: (0.110238)
Session found. Moving on...
Debug: (0.110474)
(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'
Error (0):
Debug: (0.110687)
Session found. Moving on...
Debug: (0.111864)
Session found. Moving on...
Debug: (0.11206)
(mysql): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id WHERE ug.user_id = '1'
Error (0):
Debug: (0.115689)
Session found. Moving on...
Debug: (0.116994)
Session found. Moving on...
Debug: (0.119393)
Session found. Moving on...
Debug: (0.128026)
Session found. Moving on...
Debug: (0.131971)
Session found. Moving on...
Debug: (0.133737)
Session found. Moving on...
Debug: (0.139024)
Session found. Moving on...
Debug: (0.141757)
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '1'
Error (0):
Debug: (0.141991)
(mysql): SELECT content_id FROM cms_content WHERE owner_id = 1
Error (0):
Debug: (0.142422)
(mysql): SELECT content_id FROM cms_additional_users WHERE user_id = '1'
Error (0):
Debug: (0.152512)
(mysql): SELECT bookmark_id, user_id, title, url FROM cms_admin_bookmarks WHERE user_id = '1' ORDER BY title
Error (0):
Debug: (0.15283)
(mysql): SELECT bookmark_id, user_id, title, url FROM cms_admin_bookmarks WHERE user_id = '1' ORDER BY title
Error (0):
[SOLVED] What are these errors?
-
- Forum Members
- Posts: 23
- Joined: Sun Jun 03, 2007 7:18 am
[SOLVED] What are these errors?
Last edited by geometrikal on Thu Jul 02, 2009 6:33 am, edited 1 time in total.
Re: What are these errors?
What errors? I glanced through the post and saw some "Error (0):" but code (0), means NO error.
Ronny
Ronny
-
- Forum Members
- Posts: 23
- Joined: Sun Jun 03, 2007 7:18 am
Re: What are these errors?
Thanks for the reply. Ok.. but why all of a sudden is it printing this stuff to the bottom of every page? Is it simply because $config['debug'] = true; was set? I didn't change it to true in the first place, so I assume the default is true?
I wonder why this stuff is being written now.

Re: What are these errors?
Yesgeometrikal wrote: Is it simply because $config['debug'] = true; was set?
No, default is false you must changing (manual) for enable/disablegeometrikal wrote: I didn't change it to true in the first place, so I assume the default is true?
Alby
-
- Forum Members
- Posts: 23
- Joined: Sun Jun 03, 2007 7:18 am
Re: What are these errors?
Thanks for the help 
