lwhyatt Posted January 21, 2003 Posted January 21, 2003 Please can anyone help? I get the follwoing error message when modifying the logger through admin and don't know how to correct it. Any pointers would be gratefully appriciated Many thanks Lyndon Warning: error_log: Unable to write to /var/log/www/tep/page_parse_time.log in /homepages/32/d66303120/htdocs/admin/includes/classes/logger.php on line 49 Warning: Cannot add header information - headers already sent by (output started at /homepages/32/d66303120/htdocs/admin/includes/classes/logger.php:49) in /homepages/32/d66303120/htdocs/admin/includes/functions/general.php on line 18
toolcrazy Posted January 21, 2003 Posted January 21, 2003 You need to set permissions on: page_parse_time.log to 777 so the server can write to the file. And this should take care of the second message too. If you don't find the above file you may need to create one in your /tep/ root dir. One more thing, if you downloaded tep2.1 go and get 2.2cvs or you won't get any support. 2.2cvs is what eveyone is using now. 2.1 is obsolete. Steve -------------------------
lwhyatt Posted January 21, 2003 Author Posted January 21, 2003 Have 2.3 but where is /var/log/www/tep/page_parse_time.log. I have no directory called tep on this install?
toolcrazy Posted January 22, 2003 Posted January 22, 2003 I just looked at what you are doing. You need to create a file in root. page_parse_time.log Then chmod 777 Then change the path in admin->configuration->Loggin->log desination to point to that file. That should fix it. I think the path for tep, is left over from the 2.1 day. Oh, and make sure you use you complete server path. Steve -------------------------
lwhyatt Posted January 22, 2003 Author Posted January 22, 2003 The first bit is fine and done that thanks. Problem is I can,t get into admn because it just plasters the screen in error messages. Can I modify one of the php files to point o this log? Im not sure where to look.
lwhyatt Posted January 22, 2003 Author Posted January 22, 2003 Ok managed to get in after logging in to admin then addding /configuration to url then hitting refresh several times. Have created an empty file called page_parse_time.log in my root. Have set Store Page Parse Time to false Display the page parse time to false and store database queries to false. However I ould really like to enable this. I can set the log destination to /page_parse_time.log. I have Catalog in the root an admin in an admin subdirectory. How can I get this to work?
toolcrazy Posted January 22, 2003 Posted January 22, 2003 I'm sorry, but you've just gone beyond my limited knowlage of PHP. The only thing I can think of is your being limited by PHP Safe mode. This is why you may not be able to write to this file. :? Steve -------------------------
Recommended Posts
Archived
This topic is now archived and is closed to further replies.