Voting starts in March for the Drupal Association Board election.
I'll try to explain the best as I can :)
I run Drupal for one of my websites since two month, on my server.
This server runs Debian Etch (4), and everything worked fine.
Recently, I had a big problem on my server, and I had to reinstall all the OS. I switched to the new version of Debian, Lenny (5).
Before formatting my server, I downloaded all the important files : /var/www, /var/lib, /etc, /root, etc.
After the re-installation complete, I set up my environnement like it was before, with the sames rights, config files (I checked line by line the differences from the new one with the old one (using diff)). Php is the SAME file as before.
For Php, I always had safe mode switched to ON and open_basedir = /var/www/:/tmp/;
But since the reinstall, Drupal shows me an error, about safe mode :
warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 33 is not allowed to access /tmp owned by uid 0 in /var/www/website/www/includes/file.inc on line 757.
This errors occurs on line 757 but also on line 191 and 194. Its when the function realpath is used for "/tmp" (realpath ($directory) with $directory = "/tmp";).
But /tmp is on chmod 777 and allowed by open_basedir rules in php.ini !
I don't know what is wrong !
All the rights where preserved, everything else work fine.
I also have Wordpress for my blog, and everything is ok with it, no problem found. I tried to upload a file, and I succeed it.
So I guess the problem is from Drupal, but I don't know where or how.
Could you help me please ?
Thank you !