Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: No error message, but pics don't upload  (Read 3960 times)

0 Members and 1 Guest are viewing this topic.

ScottHughes

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
No error message, but pics don't upload
« on: July 06, 2007, 07:41:40 am »

I followed the troubleshoot guidelines at the following address:

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

I still don't get any error message when uploading a picture.

I upload the picture and everything goes through like it would if it worked, but then the picture never shows up. It just displays a red x or a small icon.

I created a test account with the following information:
username: test
password: test

The url is: http://camelswim.org/camelphoto/

The website worked fine until I moved it to a new host. However, I reinstalled coppermine and the install script said that it detected GD2, so it set all the settings automatically. I have no idea what is wrong.

Please help!
« Last Edit: July 06, 2007, 07:01:27 pm by GauGau »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: No error message, but pics don't upload
« Reply #1 on: July 06, 2007, 08:04:36 am »

I have not had my coffee yet so i am not awake yet. I know i have seen this before but can not yet remember where.
Attached a screenshot of what your cpg does with uploaded pics, maybe a other supporter or devver recognises this.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: No error message, but pics don't upload
« Reply #2 on: July 06, 2007, 08:25:22 am »

I've got a 403 Forbidden Error when I try to directly reach my uploaded photo
there could be a .htaccess or some file access restriction

Check if you don't have custom .htaccess on {gallery-root}/albums/10003 with file access restriction/rule
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: No error message, but pics don't upload
« Reply #3 on: July 06, 2007, 08:41:11 am »

...or within a folder above that sub-folder. Probably some improperly set-up hotlink protection.
Logged

ScottHughes

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: No error message, but pics don't upload
« Reply #4 on: July 06, 2007, 04:11:59 pm »

I don't have a custom .htaccess file in albums/10003 folder, nor do I have one in any of the coppermine folders. Some of the parent folders have .htaccess, but nothing that would affect this. They are just 301 redirects and setting the 404 error page.

I am on a shared host, and there are defaults. So, my host might have set some such restrictions.

I think I might of found the problem, though. When checking the file permissions of the newly uploaded pictures, I noticed they are 640, whereas the old pictures that were uploaded with the old host are 644. Since the old pictures display fine, and the new ones do not, I think this is definitely at least a symptom of the problem.

Okay, I just stopped in the middle of writing this to try something. I changed the broken pictures to 644, and they worked fine. So my problem is that when uploading new pictures they are automatically being set to 640, which denies the "world" any access at all. My questions are why does this happen, and more importantly how can I change it?

The parent folders are both 777.

Thanks,
Scott
Logged

Nibbler

  • Guest
Re: No error message, but pics don't upload
« Reply #5 on: July 06, 2007, 04:39:40 pm »

Config page - Default mode for uploaded files.
Logged

ScottHughes

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: No error message, but pics don't upload
« Reply #6 on: July 06, 2007, 06:30:37 pm »

Config page - Default mode for uploaded files.
That fixed it. Thank you!

It was so simple that I feel stupid.

Thanks again everybody,
Scott
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: No error message, but pics don't upload
« Reply #7 on: July 06, 2007, 07:00:57 pm »

"640" is not the default for that field - you must have changed it by accident before. Thanks for returning and posting your solution.
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 15 queries.