Help!

Or search support forum

What's Global Moxie?

Global Moxie is the hypertext laboratory of Josh Clark, a designer, developer, and author who offers workshops and consulting for iPhone app design. He’s also creator of Big Medium, a web content management system. Josh spins words and code from multimedia studios in Providence, RI, and Paris, France.

What's Big Medium?

Big Medium is flexible, easy-to-use server software for creating and editing websites directly from your browser. Check out the features or download now.

On Shelves

Books by Josh Clark

Tap Happy: 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.

The Greatest

"This is the greatest CMS software I have ever seen. The execution of Big Medium is spot-on, particularly the administration sections."
—Clifford Smith

"Thanks so much, Josh. Big Medium is a HUGE hit with the school I'm working with."
—Karen Kaiser

"I have to say that Big Medium is one of the easiest web applications I have ever used. Once I realized how complete the admin panel is, it was hard to stop tweaking my site! I love this application!"
—Raymond Ringston

More praise for Big Medium