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

Joomla 2.5.x and multilanguage fpa #11

Closed PhilD13 closed 6 years ago

PhilD13 commented 12 years ago

The multilanguage version of fpa partially works with Joomla 2.5.x errors observed are apparently related to determining which version of Joomla is installed.

Notice: Undefined index: cmsPRODUCT in /home/degruy18/domains/thunderhilldesign.com/public_html/design17/fpa.php on line 2929

Notice: Undefined index: cmsRELEASE in /home/degruy18/domains/thunderhilldesign.com/public_html/design17/fpa.php on line 2929

Notice: Undefined index: cmsDEVLEVEL in /home/degruy18/domains/thunderhilldesign.com/public_html/design17/fpa.php on line 2929

Notice: Undefined index: cmsDEVSTATUS in /home/degruy18/domains/thunderhilldesign.com/public_html/design17/fpa.php on line 2930

Notice: Undefined index: cmsCODENAME in /home/degruy18/domains/thunderhilldesign.com/public_html/design17/fpa.php on line 2930

Notice: Undefined index: cmsRELDATE in /home/degruy18/domains/thunderhilldesign.com/public_html/design17/fpa.php on line 2930
.- ()

PhilD13 commented 12 years ago

Issue was related to not having a test for Joomla 2.5.x version in script. Added code below to line 5863 This is actually the same issue that cropped up in fpa-en.php as noted in another report.

// J2.5 libraries/joomla/platform.php files } elseif ( file_exists( 'libraries/cms/version/version.php' ) AND file_exists( 'libraries/platform.php' ) ) { $instance['cmsVFILE'] = 'libraries/cms/version/version.php';

This fixed the issue of the errors above..

There is still one minor issue showing for line 2912 that may or may not be related: Undefined index: phpLASTERROR in /home/degruy18/domains/thunderhilldesign.com/public_html/design17/fpa.php on line 2912