#1833 Errors trying to define valid file types

phpws1.x
closed-fixed
5
2008-04-29
2008-04-20
LionsCub
No

Operating system Linux
Kernel version 2.6.9-42.0.3.ELsmp
Apache version 1.3.33 (Unix)
PHP version 4.3.11
MySQL version 4.0.27-standard

Browser Firefox and IE

phpwebsite version 1.5.1
Core 1.8.1
File Cabinet 2.0.1

Following this path
control panel >> File Cabinet >> File types

I get the following errors
Warning: asort() expects parameter 1 to be array, null given in /home/springfi/public_html/mod/filecabinet/class/Forms.php on line 526

Warning: asort() expects parameter 1 to be array, null given in /home/springfi/public_html/mod/filecabinet/class/Forms.php on line 526

Warning: asort() expects parameter 1 to be array, null given in /home/springfi/public_html/mod/filecabinet/class/Forms.php on line 526

I cannot upload any image files get an unacceptable image error in all attempts irregardless of the module trying to upload the images.

Discussion

  • File types file

     
    Attachments
    • assigned_to: nobody --> stardog
    • status: open --> open-works-for-me
     
  • Logged In: YES
    user_id=400519
    Originator: NO

    Please look for config/core/file_types.php. I am including one on this page (remove the .txt from the end if you need it).
    If the file does not fix the problem, respond back.
    File Added: file_types.php.txt

     
  • LionsCub
    LionsCub
    2008-04-28

    Logged In: YES
    user_id=1872751
    Originator: YES

    Thanks Stardog, fixed the problem. You guys are the greatest.

     
  • Logged In: YES
    user_id=400519
    Originator: NO

    Great. Glad it worked out for you.

     
    • status: open-works-for-me --> closed-fixed