Hello all,
I'm using Joomla 1.5.15 on localhost with XAMPP server [Apache Friends XAMPP (Basis Package) version 1.7.3].
I have installed Expose Flash Gallery for Joomla (com_expose_4.6.3_alpha3c.zip).
In Joomla (back end), in Expose component, when I click "System check" I have this message "Undefined index: JPG Support in ...\components\com_expose\expose\manager\check_system.php on line 385"
and also a Fatal Warning:
"JPG support disabled Fatal warning
⇒ Must be activated in php.ini for manipulating JPG type images. You probably need to ask your host to activate it."
In check_system.php, at line 385, there is:
| Code: |
"test" => ($array['JPG Support'] == true),
|
which checks the output of gd_info() function.
But if I output gd_info() with:
| Code: |
<?php var_dump(gd_info()); ?>
|
I get this:
| Code: |
array(12) { ["GD Version"]=> string(27) "bundled (2.0.34 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["T1Lib Support"]=> bool(true) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]
=> bool(true) ["JPEG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XPM Support"]=> bool(false) ["XBM Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(true) }
|
So there is a bug... in the php file should be JPEG instead of JPG, like this:
| Code: |
"test" => ($array['JPEG Support'] == true),
|
If I make this change I don't receive the Warning and Fatal Error.
I hope this helps

.