Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5844927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:21:45+00:00 2026-05-22T12:21:45+00:00

I have a page which allows users to upload photos – fairly standard php

  • 0

I have a page which allows users to upload photos – fairly standard php I think.

This works on the live server I’ve been using to date but I’ve recently set up php on my Mac and now the uploads have stopped working.

I’m guessing this is because the the upload_tmp_dir is not set properly in the php.ini file.

Does anyone know what I need to do?

EDIT:

Here’s the error message that’s output…

Warning: imagejpeg(): Unable to open 'upload/thumbs/AL.jpg' for writing: Permission denied in /Users/tom/Sites/tombrennand/add.php on line 128 Warning: imagejpeg(): Unable to open 'upload/images/AL.jpg' for writing: Permission denied in /Users/me/Sites/mysite/add.php on line 135 Notice: Undefined variable: con in /Users/me/Sites/mysite/add.php on line 172 Warning: mysql_close() expects parameter 1 to be resource, null given in /Users/me/Sites/mysite/add.php on line 172

So from that I think I need to set permissions on that folder. Any ideas?

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:21:46+00:00Added an answer on May 22, 2026 at 12:21 pm

    Warning: imagejpeg(): Unable to open
    ‘upload/thumbs/AL.jpg’ for writing:
    Permission denied in
    /Users/tom/Sites/tombrennand/add.php
    on line 128

    You need to set the write permission on folder upload/thumbs

    Since this is your personal computer, you can just cd into folder upload and then chmod 777 thumbs in Terminal.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have added a FreeTextBox control in my page, which allows users to insert
I have a website which allows users to submit photos of wildlife. Once uploaded,
I have a search page which allows users to further filter thier results based
I have a form which allows users to comment on a page, however they
I have a page which basically allows an admin user to create manager user
I have a MVC page which allows creation and editing of a subcontract. When
I have a ASP.NET page which allows an administrator to change the password for
I am building a networking website which allows users to upload images. When one
In my aspx page I have a HTML inputfile type which allows user to
i have a form which allows the user to upload some files to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.