![]() |
|
Thread Tools |
#16
|
|||
|
|||
You need to find the php.ini file that your site uses, as you stated it runs 2 versions of php.
Check your phpinfo in the admincp.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#17
|
||||
|
||||
Yes, we use PHP 5.3.29 as shown in admincp and so I checked that file:
/etc/php5/apache2/php.ini I also checked those two files: /usr/php53/lib/php.ini /usr/php56/lib/php.ini just to be sure but I found no path for an error log. Confusing... Thank you for your help! edit: here is what I find on the server:
Maybe the path is defined in one of these files? No members have liked this post.
Last edited by Mornagest; 29 Nov 2020 at 10:42. Reason: added php.ini list |
#18
|
|||
|
|||
You can set a log in the ini that the site is using to log errors, so just make a listing in:
/etc/php5/apache2/php.ini Restart apache/php if it doesnt start logging after adding it.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#19
|
||||
|
||||
Well that doesn't work as the file is not created, even after restarting apache2.
I put this in /etc/php5/apache2/php.ini:
but the file /var/log/phptesterror.log doesn't exist, even after trying the diagnostic mail. No members have liked this post.
|
#20
|
|||
|
|||
create it yourself
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#21
|
|||
|
|||
I created it with nano, but it stays empty even after restarting apache2 and trying to send diagnostic mail.
Still confusing for me :/ No members have liked this post.
|
#22
|
||||||||||||
|
||||||||||||
Here is the result of phpinfo() :
So I make changes in /usr/php53/lib/php.ini to add error_log = /var/log/phptesterror.log under log_errors = On I restarted apache2 and here is what I have with phpinfo() :
So I checked rights on file /var/log/phptesterror.log :
As far as I understand, the file is writable by root, as well as other log files in this directory. So that SHOULD work, but when I run a diagnostic email with vBulletin, nothing writes down in that /var/log/phptesterror.log I don't know what to do ![]() No members have liked this post.
|
#23
|
|||
|
|||
-rw-r----- 1 root adm 125 déc. 6 06:25 mail.err
-rw-r----- 1 root adm 1,5K déc. 5 06:25 mail.err.1 -rw-r----- 1 root adm 156 nov. 28 06:25 mail.err.2.gz -rw-r----- 1 root adm 157 nov. 21 06:25 mail.err.3.gz -rw-r----- 1 root adm 357 nov. 14 20:05 mail.err.4.gz -rw-r----- 1 root adm 4,5K déc. 6 12:35 mail.info -rw-r----- 1 root adm 47K déc. 5 21:54 mail.info.1 -rw-r----- 1 root adm 6,9K nov. 28 23:29 mail.info.2.gz -rw-r----- 1 root adm 5,2K nov. 21 14:30 mail.info.3.gz -rw-r----- 1 root adm 4,7K nov. 14 23:26 mail.info.4.gz -rw-r----- 1 root adm 4,5K déc. 6 12:35 mail.log -rw-r----- 1 root adm 47K déc. 5 21:54 mail.log.1 -rw-r----- 1 root adm 6,9K nov. 28 23:29 mail.log.2.gz -rw-r----- 1 root adm 5,2K nov. 21 14:30 mail.log.3.gz -rw-r----- 1 root adm 4,7K nov. 14 23:26 mail.log.4.gz -rw-r----- 1 root adm 125 déc. 6 06:25 mail.warn -rw-r----- 1 root adm 1,5K déc. 5 06:25 mail.warn.1 -rw-r----- 1 root adm 156 nov. 28 06:25 mail.warn.2.gz -rw-r----- 1 root adm 237 nov. 21 13:13 mail.warn.3.gz -rw-r----- 1 root adm 357 nov. 14 20:05 mail.warn.4.gz Those are your mail logs there cd /var/log tail -f mail.err send an email tail -f mail.log send an email
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#24
|
||||||||||||
|
||||||||||||
OK so:
Nothing more after sending e-mail. I checked /var/log/exim4/paniclog a lot of times, nothing new there but to be sure, here's the content:
I trimmed the log as it is too long for the post. As the problem is recent (about two months or so), I suppose this has nothing to do with it.
Nothing more either. Thank you for your help! No members have liked this post.
|
#25
|
|||
|
|||
chk the other exim logs for the out bound emails.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#26
|
||||
|
||||
/var/log/exim4/mainlog:
Nothing about that test mail... I send it at 8:43. /var/log/exim4/rejectlog is empty. Here could the hell be the error vBulletin tells me about writen down? ![]() Thank you for your help, Snakes1100! No members have liked this post.
|
#27
|
|||
|
|||
OK so the problem has been solved since we managed to upgrade PHP to 5.4. We'll have further updates until vB 4.2.5 and PHP 7.1 to avoid security problems. And hopefully, compatibility problems too...
Thank you Snakes1100 for your patience and help! No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:05.