Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #16  
Old 29 Nov 2020, 02:50
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
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.
Reply With Quote
  #17  
Old 29 Nov 2020, 10:39
Mornagest Mornagest is offline
 
Join Date: Sep 2009
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Maybe the path is defined in one of these files?

Last edited by Mornagest; 29 Nov 2020 at 10:42. Reason: added php.ini list
Reply With Quote
  #18  
Old 29 Nov 2020, 14:09
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
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.
Reply With Quote
  #19  
Old 29 Nov 2020, 19:56
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Well that doesn't work as the file is not created, even after restarting apache2.

I put this in /etc/php5/apache2/php.ini:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


but the file /var/log/phptesterror.log doesn't exist, even after trying the diagnostic mail.
Reply With Quote
  #20  
Old 30 Nov 2020, 20:46
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
create it yourself
Reply With Quote
  #21  
Old 01 Dec 2020, 22:11
Mornagest Mornagest is offline
 
Join Date: Sep 2009
I created it with nano, but it stays empty even after restarting apache2 and trying to send diagnostic mail.

Still confusing for me :/
Reply With Quote
  #22  
Old 06 Dec 2020, 12:25
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Here is the result of phpinfo() :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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() :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So I checked rights on file /var/log/phptesterror.log :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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
Reply With Quote
  #23  
Old 06 Dec 2020, 14:22
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
-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
Reply With Quote
  #24  
Old 06 Dec 2020, 17:16
Mornagest Mornagest is offline
 
Join Date: Sep 2009
OK so:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Nothing more either.

Thank you for your help!
Reply With Quote
  #25  
Old 07 Dec 2020, 10:15
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
chk the other exim logs for the out bound emails.
Reply With Quote
  #26  
Old 10 Dec 2020, 07:54
Mornagest Mornagest is offline
 
Join Date: Sep 2009
/var/log/exim4/mainlog:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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!
Reply With Quote
  #27  
Old 14 Dec 2020, 12:20
Mornagest Mornagest is offline
 
Join Date: Sep 2009
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!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:08.

Layout Options | Width: Wide Color: