1
CanguroB
Error with users uploading images. in xcgal
  • 2006/7/24 8:21

  • CanguroB

  • Just popping in

  • Posts: 20

  • Since: 2005/3/16


Hi,

XOOPS Version: 2.0.13.1
Module Name/Version: xcgal 2.02
PHP Version: 4.3.11
MySQL Version:4.1.19-standard
Web Server Software (Apache/IIS/Other): apache

A full description of the issue:

When a user tries to upload an image, I get the followng error:

"Impossible to move Winter.jpg to albums/userpics/10001/!"

When I check the userpics folder through ftp, there's a folder there that has been created (10001) with permissions 777, which is what I set in the module preferences. If I try to change the permissions manually though (chmod 755 for example) I get an error : Could not change perms on 10001: Bad file descriptor

If on the other hand I manually create a folder called 10001 and set chmod to 777 then when I go to upload pictures as a user, it works fine!

Any ideas?

2
mcleines
Re: Error with users uploading images. in xcgal
  • 2006/7/24 9:14

  • mcleines

  • Not too shy to talk

  • Posts: 108

  • Since: 2004/10/7


Turn PHP-Debug on and post the output.

Is safe_mode enabled?

3
CanguroB
Re: Error with users uploading images. in xcgal
  • 2006/7/24 10:05

  • CanguroB

  • Just popping in

  • Posts: 20

  • Since: 2005/3/16


hm, it does appear to be to do with safe mode (that's what the php output said).

How do i turn safe mode off?

4
mcleines
Re: Error with users uploading images. in xcgal
  • 2006/7/24 10:50

  • mcleines

  • Not too shy to talk

  • Posts: 108

  • Since: 2004/10/7


This is only possible when you have direct access to the config of your webserver.

You can try editing the file xcgal/include/init.inc.php. Delete the two slashes in front of //define('SILLY_SAFE_MODE',1);

5
CanguroB
Re: Error with users uploading images. in xcgal
  • 2006/7/24 11:48

  • CanguroB

  • Just popping in

  • Posts: 20

  • Since: 2005/3/16


yay! thanks mcleines, changing that file worked!

legend

Login

Who's Online

233 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits