Help!

Or search support forum

What's Global Moxie?

Global Moxie specializes in mobile design strategy and user experience for a multiscreen world. We offer consulting services, training, and product-invention workshops to help creative organizations build tapworthy mobile apps and effective websites. We're based in Brooklyn, NY. Learn more.

On Shelves

Books by Josh Clark

Tapworthy: Designing Great iPhone Apps

Best iPhone Apps: The Guide for Discriminating Downloaders

iWork ’09: The Mising Manual

Moxiemail

Enter your e-mail to receive occasional updates:

Error uploading files: "CGI open of tmpfile: Permission denied"

This FAQ page is for Big Medium 1.x. It does not apply to Big Medium 2.0 or later.

This message is displayed when the web server does not have appropriate permission to any of the default directories where Perl normally tries to save uploaded files. It is most likely to occur on Windows servers and other non-Unix systems, and only occurs when you are uploading a file (a section template or an image file, for example).

The solution

  1. Create a directory named temp in your server's moxiedata directory. In Unix-based systems, you should set this directory's permissions to chmod 777.
  2. Locate the file named bm_lib.pl in the moxiebin directory and open it in a text editor. Locate this block of code at the top of the file:

    BEGIN { eval { require bytes; import bytes; } }
    use strict;
    use String::Multibyte;
    

    Immediately after these three lines, add two new lines:

    $CGITempFile::TMPDIRECTORY = "$bmSetup::MoxieDir/temp";
    $TempFile::TMPDIRECTORY = "$bmSetup::MoxieDir/temp";
    
  3. FTP the revised bm_lib.pl file to your server's moxiebin directory, making sure that your FTP client is set to "plain text" or ASCII mode.

After making these adjustments, the error message should go away and you should now be able to use Big Medium to upload files without problem.

Download Big Medium
Try it free for 30 days, or buy to unlock.

A Better Place

“The App Store would be a better place if every app designer read Tapworthy.
—Juri Pakaste, developer

Tapworthy is far and away the best book on the subject.”
—Mike Rundle, iOS designer, Flyosity

Tapworthy is a great read for every iPhone app maker!”
—Sophia Teutschler, iPhone developer

More praise for Tapworthy