Import_files.php error

Can anyone provide some insight into the following error

    +------------------------------------------------------+
    | PHP Notice                                           |
    |------------------------------------------------------|
    | Array to string conversion                           |
    +------------------------------------------------------+
    +--------------------------------------------------------------------------------------------------------------------------------+
    | MySource Warning                                                                                                               |
    |--------------------------------------------------------------------------------------------------------------------------------|
    | File upload failed. File size was too large. The maximum file size is ARRAY BYTES but the uploaded file was 14.3 KB [CORE0057] |
    +--------------------------------------------------------------------------------------------------------------------------------+
    +------------------------------------------------------+
    | MySource Warning                                     |
    |------------------------------------------------------|
    | Failed to import image whales4.jpg                   |
    +------------------------------------------------------+


I'm doing a command line import of 92 JPEG files if that's any help with files sizes circa. 25-30kb and php.ini post_max_size = 32M

Hi John.


I remember seeing this occur a while ago, but believe it has been fixed.



It looks as though the file asset is trying to compare the file size of the uploaded file, with the value set in the system configuration for the PHP memory limit. Somewhere along the way however it is getting an array value, rather than the correct preference, so the comparison is falling over.



I think it was a problem that arose after changing the retrieval of user preferences.



Maybe if you could post the version you are currently running, we might be able to see if the problem can be fixed with an upgrade, or if there is something else we are unaware of.



Cheers,



Darren

[quote]Hi John.


I remember seeing this occur a while ago, but believe it has been fixed.



It looks as though the file asset is trying to compare the file size of the uploaded file, with the value set in the system configuration for the PHP memory limit. Somewhere along the way however it is getting an array value, rather than the correct preference, so the comparison is falling over.



I think it was a problem that arose after changing the retrieval of user preferences.



Maybe if you could post the version you are currently running, we might be able to see if the problem can be fixed with an upgrade, or if there is something else we are unaware of.



Cheers,



Darren

[right][post=“7798”]<{POST_SNAPBACK}>[/post][/right][/quote]





Hi Darren,



My system information is attached to my signature :slight_smile:



Cheers…John.

[quote]My system information is attached to my signature :slight_smile:
[right][post=“7803”]<{POST_SNAPBACK}>[/post][/right][/quote]

So it is :smiley:



Yep. This was a bug, but was committed to the system on Aug 26th, which would mean it was after the RC1 release (which I believe was July 4th).



Upgrading to any release after this date (current version 3.6.2) would include the fix to this problem.



More information can be seen on this bug at



http://bugs.matrix.squiz.net/view_bug.php?bug_id=887



which also explains the fix in a little more detail.



Cheers,



Darren

[quote]So it is  :smiley:


Yep. This was a bug, but was committed to the system on Aug 26th, which would mean it was after the RC1 release (which I believe was July 4th).



Upgrading to any release after this date (current version 3.6.2) would include the fix to this problem.



More information can be seen on this bug at



http://bugs.matrix.squiz.net/view_bug.php?bug_id=887



which also explains the fix in a little more detail.



Cheers,



Darren

[right][post=“7804”]<{POST_SNAPBACK}>[/post][/right][/quote]



Thankyou very much.



Cheers…John.