Jump to content

Parse error: syntax error, unexpected 'class'


clampdown

Recommended Posts

Hello,

Im currently having this issue when I open my file manager on a cms page (no third party file manager)

PS: 1.6.0.14

 

Parse error: syntax error, unexpected 'class' (T_CLASS) in /var/www/vhosts/domain.co.uk/httpdocs/admin813khufbl/filemanager/include/php_image_magician.php on line 164

php_image_magician.php code

 

class imageLib
{
private $fileName;
private $image;
protected $imageResized;
private $widthOriginal;     # Always be the original width
private $heightOriginal;
private $width;         # Current width (width after resize)
private $height;
private $imageSize;
private $fileExtension;
private $debug = true;
private $errorArray = array();
private $forceStretch = true;
private $aggresiveSharpening = false;
private $transparentArray = array('.png', '.gif');
private $keepTransparency = true;
private $fillColorArray = array('r'=>255, 'g'=>255, 'b'=>255);
private $sharpenArray = array('jpg');
private $psdReaderPath;
private $filterOverlayPath;
private $isInterlace;
private $captionBoxPositionArray = array();
private $fontDir = 'fonts';
private $cropFromTopPercent = 10;

Any help would be great - thanks :)

Edited by clampdown (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...