Airline Mogul Forum

Upload Busted

croz · 6 · 1563

croz

  • Airline Operative
  • *
    • Posts: 6
    • View Profile
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.


ALFC

  • Airline Operative
  • *
    • Posts: 380
    • View Profile
Reply #1 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.
LFC - Melmac Spacelines


croz

  • Airline Operative
  • *
    • Posts: 6
    • View Profile
Reply #2 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.


Ariadna

  • Airline Operative
  • *
    • Posts: 6
    • View Profile
Reply #3 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?...


LOT 737-300

  • Airline Operative
  • *
    • Posts: 461
    • View Profile
Reply #4 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.


StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6038
    • View Profile
Reply #5 on: November 02, 2007, 10:49:54 pm
This should be fixed?
Stephen Murphy
Airline Mogul Chief Developer


 

SMF spam blocked by CleanTalk