-----Message d'origine-----
De : Gaetano Giunta [mailto:[email protected]] De la part de Gaetano
Giunta
Envoyé : jeudi 26 mars 2009 16:08
À : Sebastien MOREL
Cc : [email protected]
Objet : Re: [Sdk-public] Cluster in eZ 4.1 - Important points
Sebastien MOREL a écrit :
>>
>> Hi,
>>
>> I just upgraded my eZ 4.1 in cluster mode. And I found several
>> important points for the next version:
>>
>> - Clusterize.php needs mysql_ functions, so clustering is impossible
>> while using only mysqli.
>>
>excuse, but it seems to work fine when oracle is in use (even though I
>might not have disabled completely the php mysql extension). Can you
>point me to the dependency?
The fatal errors came from :
kernel\classes\clusterfilehandlers\dbbackends\mysql.php
>>
>> - The FileHandler definition have changed. Only the settings/file.ini
>> describe it, dont forget to add it when the 4.1 doc will be ok.
>>
>I think that is described in the BC docs. Of course it should be in the
>upgrade manual, when that is online
>>
>> - The DBBackend has changed too. But, the index_image.php still uses
>> mysql , its a bit confusing.
>>
>Good catch
>>
>> Note that, if you define the FileHandler with mysql in the file.ini
>> and you run the clusterize script, the whole instance is broken. I
>> havent found the solution to fix, expect by using a backup ;)
>>
>Care to explain better what results you get? SO that we can try to make
>the process less destructive?
The clusterize script stops at this error :
"Clustering settings specified incorrectly or the chosen file
handler is ezfs"
I found out that
$handler = eZExtension::getHandlerClass( $options );
Return false in : kernel\classes\ezclusterfilehandler.php line 65
(instance() method)
I tested this 3 times with a fresh backup of my ez instance. Each time after
the error execution, the whole instance was broken.
To fix my instance I cleaned the cache folder manually but nothing.
The errors (when my instance was broken) was the default exception error:
An unexpected error has occurred. Please contact the webmaster..
I didn't investigate much because I was short.
>>
>> Otherwise, when you know this points everything is OK and works
>> perfectly ;)
>>
>> I hope these notes will be helpfull.
>>
>> Regards.
>>
Regards
--
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public