Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

User Icon (avtar ) prob.

Quote Reply
User Icon (avtar ) prob.
I am having troubles getting avtars to upload.

Quote:


A system error occured while attempting to upload your image: No such file or directory


Of course the image I am uploading exists, and the image url specified in the settings exists with 777 permissions.

image_url : http://www.macscripts.com/images/forum

Any ideas?


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] User Icon (avtar ) prob. In reply to
Check to see that there is a "users" directory inside the image directory - that is where Gossamer Forum uploads user avatars.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] User Icon (avtar ) prob. In reply to
Hi Jason,

Yeah I checked, and it was also set to 777, but is empty of course.

Is there a place I can insert a print statement to see exactly which folder/path it is trying to access?

Last edited by:

Ian: Aug 22, 2002, 11:56 AM
Quote Reply
Re: [Jagerman] User Icon (avtar ) prob. In reply to
Hi Jason,

Maybe this explains part of the problem, but also opens another:

http://www.gossamer-threads.com/...i?post=212478#212478

Crazy


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Jagerman] User Icon (avtar ) prob. In reply to
I'm a dick.

'image_path' => '/usr/local/plesk/apache/vhosts/macscripts.com/cgi-bin/images/forum',
'image_url' => 'http://www.macscripts.com/images/forum',

I have no idea how this got in thereAngelic


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] User Icon (avtar ) prob. In reply to
Unsure. Still not there yet. I am still getting the error msg.

By editing the config file (data.pm), should the changes be effective immediately?


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Aug 22, 2002, 1:18 PM
Quote Reply
Re: [Ian] User Icon (avtar ) prob. In reply to
>>
By editing the config file, should the changes be effective immediately?
<<

No they have to propogate across the world first. Wink

What paths do you have now?

Do you have ssh access?
Quote Reply
Re: [Paul] User Icon (avtar ) prob. In reply to
Unfort. I don't have ssh.

I have can give you admin though..


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] User Icon (avtar ) prob. In reply to
Is the error just saying no such file or directory?

Is the path totally correct? owned correctly and 0777?

Last edited by:

Paul: Aug 22, 2002, 1:21 PM
Quote Reply
Re: [Paul] User Icon (avtar ) prob. In reply to
Yes, yes and yes.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] User Icon (avtar ) prob. In reply to
The weirdest problems are always the most basic ones. I always try to think of weird and wonderful reasons for the error but it always boils down to a few like ownership, typos, chmodding.

I can't think of much else :(

No such file or directory generally occurs due to those reasons above.

Last edited by:

Paul: Aug 22, 2002, 1:36 PM
Quote Reply
Re: [Paul] User Icon (avtar ) prob. In reply to
Thanks Paul for having a look.

I have debugging an and I am looking the error log right now.

No mention of the image path in the error log, just lots of this:

GForum::Template (38129): '/usr/local/plesk/apache/vhosts/macscripts.com/cgi-bin/forum/admin/templates/admin/setup_misc.html' does not need to be reloaded. Using cached version. at /usr/local/plesk/apache/vhosts/macscripts.com/cgi-bin/forum/admin/GT/Template.pm line 405.
GForum::Template (38129): Parsing 'setup_misc.html' with (print => 1, compress => 1, strict => , escape => 1) at /usr/local/plesk/apache/vhosts/macscripts.com/cgi-bin/forum/admin/GT/Template.pm line 96.
GForum::Template (38129): Compressing output for template 'setup_misc.html'. at /usr/local/plesk/apache/vhosts/macscripts.com/cgi-bin/forum/admin/GT/Template.pm line 605.
GForum::Template (38129): Output size before/after compression: 4459/4162. That's a reduction of 0.1%. at /usr/local/plesk/apache/vhosts/macscripts.com/cgi-bin/forum/admin/GT/Template.pm line 611.
GForum::Config (38164): Saving '/usr/local/plesk/apache/vhosts/macscripts.com/cgi-bin/forum/admin/GForum/Config/Data.pm' at GT::Config::save line 195.
GForum::Config (38164): '/usr/local/plesk/apache/vhosts/macscripts.com/cgi-bin/forum/admin/GForum/Config/Data.pm' saved. at GT::Config::save line 208.


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Aug 22, 2002, 1:42 PM
Quote Reply
Re: [Ian] User Icon (avtar ) prob. In reply to
Fixed it.

For whatever reason, the data.pm file was not updating, even when I edited the image_path in it from an FTP program.

So I removed and replaced with an updated version, not its good to go!

Thanks folks.Cool


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] User Icon (avtar ) prob. In reply to
I've seen worse; someone tried putting all their images under mod_perl, to load them faster, I suppose. Wink

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] User Icon (avtar ) prob. In reply to
Laugh Thats a good one
Quote Reply
Re: [Jagerman] User Icon (avtar ) prob. In reply to
>>
I've seen worse; someone tried putting all their images under mod_perl, to load them faster, I suppose.
<<

lol I wouldn't even know how to go about doing that.....I guess you have to be crazy to know Wink
Quote Reply
Re: [Ian] User Icon (avtar ) prob. In reply to
I'm having this problem too. I've updated all the paths in Setup (that I can see)....where else should I look? I tried finding data.pm (Ian refered to it), but I can't find it Unsure

Any pointers?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] User Icon (avtar ) prob. In reply to
admin/GForum/Config/Data.pm

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] User Icon (avtar ) prob. In reply to
Thanks for that. Still a weird problem though. I KNOW the folder exists, and is CHMODed to 777. have this set in Data.pm;

'image_path' => '/home/virtual/site2/fst/var/www/forum/images',
'image_url' => 'http://linkssql.net/forum/images',

What else could I be doing wrong? Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] User Icon (avtar ) prob. In reply to
If you manually go to:

http://linkssql.net/...mages/colorchart.jpg

what happens?

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] User Icon (avtar ) prob. In reply to
Dunno...cos my server's offline at the moment Tongue

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Jagerman] User Icon (avtar ) prob. In reply to
Ok, servers bcak online now....that image shows fine Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!