FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » log files and external scripts problem (logging files should always be in place)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
log files and external scripts problem [message #162446] Wed, 12 May 2010 16:25 Go to previous message
lbrigman124 is currently offline  lbrigman124   United States
Messages: 26
Registered: March 2010
Karma:
Junior Member
Another problem I found in the process of running the mail import
is that the script has need of permissions to write to a logging
file. If the file does not exist then the permissions acquired
running the maillist.php will try to create the /var/www/FUDforum/errors/sql_errors file. If these permissions conflict with
the permissions of the account running FUDforum then the
forum code gets errors and cannot read it's own log file.

Also when the file is removed and recreated any previous permissions granted to these files are also removed.

As such, all necessary log files should always be in place even
if they contain no data.

Below is the output from procmail that contains the error that I am referencing.
------------------------------------------------------------------
procmail: Executing "/var/www/FUDforum/scripts/maillist.php,2"
PHP Warning: pg_query(): Query failed: ERROR: value too long for type character varying(100) in /var/www/FUDforum/include/theme/default/db.inc on line 93
PHP Warning: error_log(/var/www/FUDforum/errors/sql_errors): failed to open stream: Permission denied in /var/www/FUDforum/include/core.inc on line 157
procmail: Assigning "LASTFOLDER=/var/www/FUDforum/scripts/maillist.php 2"
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: ldap user login
Next Topic: Replacement and Censorship System
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 01:45:35 GMT 2024

Total time taken to generate the page: 0.04410 seconds