xp Manage Albums - Rename xp v4 BlueBotXP chi Manage Albums - Upload videos arms LuminalStasis2 Design Frog-XP
Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

Undefined index in check_system.php on line 385
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Undefined index in check_system.php on line 385
#12568
Undefined index in check_system.php on line 385 4 Months, 3 Weeks ago Karma: 0
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 .
Laur
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12594
Re: Undefined index in check_system.php on line 385 4 Months, 3 Weeks ago Karma: 0
Image files need to be .jpg
admin
Admin
Posts: 691
graphgraph
User Offline Click here to see the profile of this user
Location: San Francisco, CA

This image is hidden for guests. Please login or register to see it.
The administrator has disabled public write access.
 
Go to topPage: 1