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.
When pulling values out of the configuration.php file, it ignores if a value is inside a comment. I have one file that I can update for use locally or on the production server, so I have commented out a line that reads:
Code:
// public $host = 'localhost';
This line was immediately before the line used by the system.
For this reason, I wasn't getting any of the database info, since my hosting provider uses a db running at a different url.
Once I changed the order of these lines, then fpa picked up the correct value.
It should be easy to have preg_match detect a line starting with '//', but it might require removal of all /* ... */ comments before extracting information.
Hope this might help others who want to see info that is not coming thru.
When pulling values out of the configuration.php file, it ignores if a value is inside a comment. I have one file that I can update for use locally or on the production server, so I have commented out a line that reads: Code: // public $host = 'localhost';
This line was immediately before the line used by the system.
For this reason, I wasn't getting any of the database info, since my hosting provider uses a db running at a different url. Once I changed the order of these lines, then fpa picked up the correct value.
It should be easy to have preg_match detect a line starting with '//', but it might require removal of all /* ... */ comments before extracting information.
Hope this might help others who want to see info that is not coming thru.
WebMuse