ForumPostAssistant / FPA

The Forum Post Assistant (FPA) script has been developed to assist Joomla!® forum posters to be able to post relevant system, instance, PHP and troubleshooting information directly in to a pre-formatted forum post. This will save a few hours of posting back and forth, asking for, and explaining how to acquire useful information in order for other forum users to help troubleshoot a problem.
https://forumpostassistant.github.io/docs/
GNU General Public License v2.0
25 stars 15 forks source link

"LAST PHP ERRORS REPORTED" should come from the current site only #76

Closed toivo closed 4 years ago

toivo commented 4 years ago

When tested in Wampserver 3.2.2 with several virtual hosts, the last PHP error is reported from the PHP error log even if the website is hosted in a different virtual host.

In the attached example the FPA results from a Joomla 3.9.19 site show a PHP error from a Joomla 4 beta site.

fpa-155-php-error

frostmakk commented 4 years ago

That's probably more of a Wamp issue than FPA. AFAIK there's only one php-errorlog for each php-version, not for each virtual host.

RussW commented 4 years ago

As far as I am aware, @frostmakk is correct and "Production Servers" configure the virtual hosts to logout to their own unique log folders & files within their own home/ directory, whereas localhost development environments tend not to configure that functionality, so FPA can only look at the joint/common log files.

toivo commented 4 years ago

Fair enough, no problem.