[ingo] Problem with convert_imp_filters.php
Jan Schneider
jan at horde.org
Wed Dec 23 15:44:29 UTC 2009
Zitat von jordi.melero at upcnet.es:
> "Jan Schneider" <jan at horde.org> escribió:
>
>> DON'T top-post!
>>
>> Zitat von jordi.melero at upcnet.es:
>>
>>>>
>>>> And did you read the "Usage:" line, right below that? Did you
>>>> feed the script with the user list?
>>>>
>>> Yes, I give the users list in a plain text file and the script
>>> recognizes all the users fine.
>>>
>>> This is the output.
>>>
>>> root at cafex01:/dades/horde3/ingo/scripts# php
>>> convert_imp_filters.php < usu.txt
>>> Converting filters for user: 46561826 at ub.edu
>>> sql
>>> 46561826 at ub.edu Nothing to convert
>>> root at cafex01:/dades/horde3/ingo/scripts#
>>
>> Try removing the @ in front of the @unserialize() call in line 67
>> and watch out for any warnings that the unserialization failed.
>
> Ok I delete the @ symbol from the call but nothing happens...
>
> root at cafex01:/dades/horde3/ingo/scripts# php convert_imp_filters.php
> < usu.txt
> Converting filters for user: 46561826 at ub.edu
> sql
> 46561826 at ub.edu Nothing to convert
Well, then either your PHP is not showing any notices/warnings, or the
preference is empty. You get the "Nothing to convert" only if the
unserialization fails, and this only happens if the preference data is
corrupt, but that would get you a PHP notice. Or the data is
completely empty.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the ingo
mailing list