Welcome to Geeklog Monday, October 19 2020 @ 07:39 pm EDT

Geeklog Forums

Upload image on news


Status: offline

druid

Forum User
Junior
Registered: 11/01/04
Posts: 34
When I attached image on news cannot upload image.

I see this error

Warning: chmod(): No such file or directory in /home/spphr/system/classes/upload.class.php on line 664

Chmod of logo.gif to 0644 failed

This error come after change server

PHP Formatted Code

ls -ld articles

drwxrwxrwx    2 spphr    spphr        4096 Sep  5 22:37 articles/
 


PHP Formatted Code

ls -l articles/*
total 104
-rw-r--r--    1 nobody   nobody       7654 Feb 26  2004 20040226180931278_1.jpg
-rw-r--r--    1 nobody   nobody      10472 Mar  5  2004 20040305195455838_1.jpg
-rw-r--r--    1 nobody   nobody       5512 Mar  5  2004 20040305195455838_2.jpg
-rw-r--r--    1 nobody   nobody       5693 Mar  5  2004 20040305195455838_3.jpg
-rw-r--r--    1 nobody   nobody       6977 Mar  5  2004 20040305195455838_4.jpg
-rw-r--r--    1 nobody   nobody       6260 Mar  5  2004 20040305195455838_5.jpg
-rw-r--r--    1 nobody   nobody       2374 Mar  8 18:45 20040308114936250_1.jpeg
-rw-r--r--    1 nobody   nobody       4206 Mar  8 18:50 20040308114936250_2.jpeg
-rw-r--r--    1 nobody   nobody       2617 Mar  8 18:28 20040308182516463_1.jpeg
-rw-r--r--    1 nobody   nobody       2742 May  1 17:11 20040501165858725_1.jpg
-rw-r--r--    1 nobody   nobody       2573 May 11 17:21 20040511171325535_1.jpeg
-rw-r--r--    1 nobody   nobody       4739 May 21 21:17 20040521211400934_1.gif
-rw-r--r--    1 nobody   nobody       4739 May 21 21:25 20040521212432719_1.gif
-rw-r--r--    1 nobody   nobody       3309 Sep  5 21:34 20040905212534135_1.gif
-rw-r--r--    1 nobody   nobody       3309 Sep  5 22:37 20040905223709948_1.gif
-rwxrwxrwx    1 spphr    spphr          27 Feb 29  2004 index.html




What's wrong?
http://www.spph.org/
 Quote

Status: offline

druid

Forum User
Junior
Registered: 11/01/04
Posts: 34
angry
Image 1 is upload OK, image 2 error
http://www.spph.org/
 Quote

Status: offline

druid

Forum User
Junior
Registered: 11/01/04
Posts: 34
confused
Khm .. when i transform gif picture to jpg working fine


http://www.spph.org/
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by druid: Khm .. when i transform gif picture to jpg working fine

Are you using ImageMagick, NetPBM, or the GD lib to scale images? It may not include support for GIFs (due to the - now expired - patent on LZW).

bye, Dirk
 Quote

Status: offline

druid

Forum User
Junior
Registered: 11/01/04
Posts: 34
Problem resolved

$_CONF['image_lib'] = 'gdlib';

change to

$_CONF['image_lib'] = 'imagemagic';


jipieeeeeeee
http://www.spph.org/
 Quote

All times are EDT. The time is now 07:39 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content