I moved my servers from a DDS to a VDS... same OS and everything. And for some reason cropping does not work now. I get an error:
"Fatal error: Call to a member function adaptiveResize() on a non-object in /home/millen/public_html/crop.php on line 18"
http://www.millenniumsunrooms.com/crop.php?pic=sunrooms/photo/11.jpg
crop.php looks like this:
<?php
$pic = $_GET['pic'];
require_once 'ThumbLib.inc.php';
try
{
$thumb = PhpThumbFactory::create($pic);
}
catch (Exception $e)
{
// handle error here however you'd like
}
$thumb->adaptiveResize(238, 232);
$thumb->show();
?>
I copied all the files over exactly the way they were.
New Server: http://66.90.103.163/~millen/info.php
Old Server: http://66.90.104.118/~falcon/info.php
It is supposed to re-size this picture:
http://www.millenniumsunrooms.com/sunrooms/photo/11.jpg
Where is the problem ??
Thank You In Advance