JavaScript and CSS settings fail unexpectedly: The files were not created Possible Duplicate:
  Drupal Commons site has no style after installation  




See the Drupal Commons site running on boysday.org

well how to start. i am new to drupal and I have serious flaws during the installation; Tried it dozens of times.I get warnings about too many files open. Somebody gave me the advice to do the adjustments in the administrative section (admin/settings/performance). 

On "Bandwidth optimizations,"  the option "Optimize CSS files" and "Optimize JavaSript files" were enabled. I have tried to switch off; for testing and customize my Drupal Commons install it's better to disable as to have CSS and JavaScript development support with tools like "Firebug" using Firefox.

I tried to do so, and got back a very interesting message.


  Performance
  
  The file could not be created.
  The file could not be created.


Can this be caused by the fact the folders in /home/vhost/WWW/mysite/sites/default/files were all owned by the wwwrun user? What can I do?

There are no pictures, and no CSS. Is there any right or permission problem?


  warning: array_map() [function.array-map]: Argument #2 should be an array in /home/vhost/WWW/mysite/modules/system/system.module on line 1020.
  warning: array_keys() expects parameter 1 to be array, null given in /home/vhost/WWW/mysite/includes/theme.inc on line 1832.
  warning: Invalid argument supplied for foreach() in /home/vhost/WWW/mysite/includes/theme.inc on line 1832.
As you already suggested, this is most likely a file permission problem. Make sure the entire directory under sites\default\files is writable by the apache user, often this is called www-data.

To get you going maybe download XAMPP for your platform and get your first Drupal installation working locally.