PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Application Error. Support for JPG is not available in GD!’ in /avs_path/classes/image.class.php:223\nStack trace:\n#0 /avs_path/classes/image.class.php(25): VImageConv->checkGDSupport()\n#1 /avs_path/siteadmin/modules/channels/add.php(35): VImageConv->__construct()\n#2 /avs_path/siteadmin/channels.php(35): require(‘/avs_path.’)\n#3 {main}\n thrown in /avs_path/classes/image.class.php on line 223,

Solution:

In case of php version 5.3*

edit: classes/image.class.php

find:

if( !$gd_info['JPG Support'] ) 

replace with

if( !$gd_info['JPEG Support'] ) 

Advertisements

AVS script enter.php issue

If enter page that is verification page on AVS script won’t work on firefox 8, firefox 9.0, chrome and IE etc.. please do the following things ,

 

open enter.php file from your web-space then

remove the entry    setcookie(‘splash’, true, time()+(3600*12*7*52));

Add the entry

if (strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Firefox/5’) != false) {
setcookie(‘splash’, true, 60 * 24 * 60 + time());
} else {
setcookie(‘splash’, true, time()+(3600*12*7*52));
}

to that file. It will help you to resolve that issue.