Saturday 03 May 2008 5:35:07 am
I fixed problem with language, problem was that I just accidental dropped changes from admin siteaccess. But problem with urls still remain actual. I tried to debug updateniceurls.php script, and found that code
$rows = $db->arrayQuery( $sql );
always return empty set. For example code
$rows = $db->arrayQuery( 'SELECT count(*) AS count FROM ezurlalias' );
$urlCount = $rows[0]['count'];
must return 834 (I have 834 records in table "ezurlalias") always return null. I am using MySQL 5.02. Can be problem in this? Or may be have somebody alternate script for update url aliases? UPDATE: I just updated urls, problem was in connection to database, I wish in future update scripts would return more debug information for avoid such problems. Thanks for CMS :) UPDATE2: Fixed error
Fatal error: Using $this when not in object context in /home/dima240/public_html/xataua/lib/ezimage/classes/ezimagegdhandler.php on line 263
For fix you must change code in function static function createImageBorder from /lib/ezimage/classes/ezimagegdhandler.php. Code $temporaryImageObject = $this->imageCopy( $imageObject,
$this->createGeometry( $newWidth, $newHeight, $borderWidth, $borderHeight ),
$this->createGeometry( $width, $height, 0, 0 ),
$sourceMimeData, $destinationMimeData );
must be changed to code
$temporaryImageObject = eZImageGDHandler::imageCopy( $imageObject,
eZImageGDHandler::createGeometry( $newWidth, $newHeight, $borderWidth, $borderHeight ),
eZImageGDHandler::createGeometry( $width, $height, 0, 0 ),
$sourceMimeData, $destinationMimeData );
--------------------------------------------------------------------------
http://romansvet.com
|