Airline Mogul => Bugs => Topic started by: croz on October 29, 2007, 01:13:48 am
Title: Upload Busted
Post by: croz on October 29, 2007, 01:13:48 am
When trying to upload my 50K 300x90 jpg I get this error:
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /var/www/vhosts/airlinemogul.com/httpdocs/airlinelogos owned by uid 10002 in /var/www/vhosts/airlinemogul.com/httpdocs/airlinemogul/upload_logo.php on line 97
File number 1 could not be moved.
Title: Upload Busted
Post by: ALFC on October 29, 2007, 01:29:04 am
i assume that stephen enabled php safemode. move_uploaded_file is disabled by this. i am sure that he either forgot to switch it off after switching it on for whatever reason, or there is a safety issue or something similar that requires safemode to be on. i would expect that this is only of temporary nature, so just wait for an announcement or try every now and then.
Title: Upload Busted
Post by: croz on October 29, 2007, 01:41:59 am
Aah, that would make sense. That's the same error I get when I try and access the wiki:
# PHP 5.1.6 installed # Found database drivers for: MySQL # Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads. # PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) # Have XML / Latin1-UTF-8 conversion support.
Thanks.
Title: Upload Busted
Post by: Ariadna on October 30, 2007, 08:39:12 am
Got the same today
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /var/www/vhosts/airlinemogul.com/httpdocs/airlinelogos owned by uid 10002 in /var/www/vhosts/airlinemogul.com/httpdocs/airlinemogul/upload_logo.php on line 97
Maybe you could ask Stephen to switch it back whatever reasons he had?...
Title: Upload Busted
Post by: LOT 737-300 on November 01, 2007, 03:19:05 pm
I'm getting it as well: Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /var/www/vhosts/airlinemogul.com/httpdocs/airlinelogos owned by uid 10002 in /var/www/vhosts/airlinemogul.com/httpdocs/airlinemogul/upload_logo.php on line 97
File number 1 could not be moved.
Title: Upload Busted
Post by: StephenM on November 02, 2007, 10:49:54 pm