Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Problem with ftp way of solving "Allowed memory exhausted"  (Read 5423 times)

0 Members and 1 Guest are viewing this topic.

Shadow_V

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Problem with ftp way of solving "Allowed memory exhausted"
« on: November 11, 2005, 09:53:17 am »

I tried to use this way:
Quote
Alternative 3 (workaround):

You may download one of many free programs that resize images. Then resize the images to a smaller resolution (like 800 x 600) by the batch into a different folder while maintaining the same filenames.

Upload the resized images to Coppermine.  Then use your FTP client to overwrite the images with the higher resolution images.

But! Coppermine gallery has set CHMOD 644 on all of this files and I cannot change it. My ftp client says, that the problem is in the file descriptor. However I can't upload new and overwrite existing images in the folder. What should I do?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with ftp way of solving "Allowed memory exhausted"
« Reply #1 on: November 11, 2005, 09:55:57 am »

CHMOD (if you can) using your FTP app to 777 or 755. If this doesn't work, you'll have to change ownership (CHOWN). Maybe you're not allowed to do this - in this case, ask your webhost to CHOWN for you.
Logged

Shadow_V

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Problem with ftp way of solving "Allowed memory exhausted"
« Reply #2 on: November 11, 2005, 10:05:53 am »

When I try to CHMOD any picture, FTP client says, that it has a bad file descriptor, and CHMOD is set back to 644.
Logged

Nibbler

  • Guest
Re: Problem with ftp way of solving "Allowed memory exhausted"
« Reply #3 on: November 11, 2005, 11:55:54 am »

Contact your host and ask them to change ownership for you.
Logged

Shadow_V

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Problem with ftp way of solving "Allowed memory exhausted"
« Reply #4 on: November 13, 2005, 09:10:42 am »

Nevertheless it(CHOWN) has no effect. :-[
Maybe more detailed explanation will reveal something... When I try to replace an existing file with another one, my client says:
Quote
Remote file exist check: 'vvardenfell_map.jpg'.
    SIZE vvardenfell_map.jpg
213 439898
    MDTM vvardenfell_map.jpg
213 20051110192315
    PASV
227 Entering Passive Mode (66,36,255,40,128,148)
    Opening data connection to 66.36.255.40 Port: 32916
    STOR vvardenfell_map.jpg
553 Rename/move failure: Permission denied
    PASV
227 Entering Passive Mode (66,36,255,40,53,203)
    Opening data connection to 66.36.255.40 Port: 13771
    MLSD
150 Accepted data connection
226-ASCII
226-Options: -a -l
226 106 matches total
    12531 bytes transferred. (21,1 КБ/s) (578 ms)
    Transfer failed.

The problem is here: 553 Rename/move failure: Permission denied

But! If I try to change CHMOD, it says:

Quote
SITE CHMOD 777 vvardenfell_map.jpg
550 Could not change perms on vvardenfell_map.jpg: Bad file descriptor
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.