Home »
FUDforum Development »
Bug Reports »
log files and external scripts problem (logging files should always be in place)
log files and external scripts problem [message #162446] |
Wed, 12 May 2010 16:25 |
lbrigman124
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"
|
|
|
Goto Forum:
Current Time: Sun Nov 10 15:25:59 GMT 2024
Total time taken to generate the page: 0.04439 seconds