Help!

Or search support forum

What's Global Moxie?

Global Moxie is the hypertext laboratory of Josh Clark, whose projects include the Big Medium web content management system. Josh creates web applications and websites from his multimedia studio in 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.

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.

Beautiful

"Beautiful interface. Installed with absolutely no problem. I AM IMPRESSED."
—Tom Marks

"This CMS has proven to be great and adaptable to the designer's vision, making my life easier."
—Scott Jordison

"Big Medium is everything I hoped for and more, and we're receiving a lot of compliments on the site's functionality. Moreso, I'd like to thank you for your exemplary customer service. You truly made me feel that you had a personal stake in our implementation, and gave me the confidence that when we went live, everything would be perfect. If only every tech-related experience was like this one."
—Andrew McKay

More praise for Big Medium