Problem with saved images

A signature and avatar generator addon

Moderator: zanix

Problem with saved images

Postby Malkom » Wed Aug 13, 2008 7:29 pm

I have a problem wtih the option for saving images to my server. It doesn't work :(

When I was on the roster 1.7.3, Siggen save the signs and avatars, but, since I have installing the roster 2.0, saving option don't work....

:(

An idea ?


See the image for configuration....
Attachments
Image
User avatar
Malkom
WR.net Journeyman
WR.net Journeyman
 
Posts: 144
Joined: Tue Jan 09, 2007 11:02 am
Location: France - 91 - Longjumeau

Re: Problem with saved images

Postby shaun.voysey » Wed Aug 13, 2008 10:16 pm

Have you made sure that the directories :-

<Roster dir>\addons\siggen\sig
<Roster dir>\addons\siggen\ava
<Roster dir>\addons\siggen\img\members

Have been set to Writable?
User avatar
shaun.voysey
WR.net Apprentice
WR.net Apprentice
 
Posts: 70
Joined: Thu Aug 10, 2006 12:50 pm
Location: Berkshire, England

Problem with saved images

Postby Malkom » Thu Aug 14, 2008 6:24 pm

yes
Image
User avatar
Malkom
WR.net Journeyman
WR.net Journeyman
 
Posts: 144
Joined: Tue Jan 09, 2007 11:02 am
Location: France - 91 - Longjumeau

Re: Problem with saved images

Postby tuigii » Thu Aug 14, 2008 8:23 pm

If the directory structure is ok,
If the directory structure is writebale,

These are my settings :
Image

For the Avatar part : same settings.

Btw : %s will be replace by http://your-site/your-roster/addons/siggen/
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Problem with saved images

Postby Malkom » Mon Aug 25, 2008 1:56 pm

Tuigi,

If I change %ssig: by http://gondolyn.free.fr/roster/addons/siggen/sig/, I have this message :

Saved Signatures Folder does not exist
It is required when "Save Image Mode" is turned on
Click HERE to try to create [http://gondolyn.free.fr/roster/addons/siggen/sig/]
Save Image functions are temporarily disabled
Image
User avatar
Malkom
WR.net Journeyman
WR.net Journeyman
 
Posts: 144
Joined: Tue Jan 09, 2007 11:02 am
Location: France - 91 - Longjumeau

Re: Problem with saved images

Postby tuigii » Mon Aug 25, 2008 4:37 pm

Look carefull to your message, and you'll see the answer :
When creating a directory, the name has to be something like "......../sig", not "..../sig/"

If creating still is a problem:
1) Who created the other dirs, knowing the that the same programing logic is used ? (read this question as : what changed ?)
2) Some chmod-rights problems ?
3) Create them by hand ?
[ 4) Is SigGen somewhat unable to create files and dirs ?]
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Problem with saved images

Postby Malkom » Tue Aug 26, 2008 6:40 pm

Ok tuigi,

But when I write "..../sig", Siggen change automatically with "..../sig/" !!

So after some research, it's seems the problem come from Free :(

Free don't accept chmod 777.... but I have a question :

Siggen worked fine on my roster 1.7.3 (also on Free), why it doesn't work on the roster 2.0 ??


PS : I have tried a php script and a file .htaccess on the siggen directory, but it's doesn't work :(

I hate Free ;)
Last edited by Malkom on Tue Aug 26, 2008 6:43 pm, edited 1 time in total.
Image
User avatar
Malkom
WR.net Journeyman
WR.net Journeyman
 
Posts: 144
Joined: Tue Jan 09, 2007 11:02 am
Location: France - 91 - Longjumeau

Re: Problem with saved images

Postby tuigii » Tue Aug 26, 2008 9:10 pm

Malkom wrote:Free don't accept chmod 777.... but I have a question :

Note that my OVH (all 90Plan mutual servers) don't accept #777 neither.
This isn't a problem, because, from what I understand, the webserver uses (or is) the in same group as the 'owner' (FTP ?), which is 7xx, which is enough.

What I don't understand is, that your webserver isn't able to create files (directories are also just files in Li(nux)).

Question : look in your roster/cache directory - can you tell me what's in it ?
I have many (about 30) tpl.......inc files.
The webserver created them for me !!
So, SigGen should be able to create files also.

Check that these dir's : addons - siggen - sig all have x & w rights.
Mine are all 755 (from root=roster down to sig)
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Problem with saved images

Postby Malkom » Tue Aug 26, 2008 9:32 pm

I see the same thing in cache directory : inc files !!

The rights of the dir addons / siggen / sig is : drwx------
700 for me :(
Image
User avatar
Malkom
WR.net Journeyman
WR.net Journeyman
 
Posts: 144
Joined: Tue Jan 09, 2007 11:02 am
Location: France - 91 - Longjumeau

Problem with saved images

Postby PleegWat » Wed Aug 27, 2008 12:19 am

What are the rights on the cache directory? Having the same rights on the siggen saved files directory should be enough.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: Problem with saved images

Postby tuigii » Wed Aug 27, 2008 2:52 am

Malkom wrote:The rights of the dir addons / siggen / sig is : drwx------
700 for me :(

Don't feel bad about this : the left 7 is the only one that matters.
Your webserver can create files, that the important part.

The only part that has to be checked now is : how are these inc files created by the cache logic, and is this method any different as how siggen creats files.
(check : declare the ava/sig dir in the cache dir - just declare the path to it ?!)
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Problem with saved images

Postby Malkom » Wed Aug 27, 2008 2:52 pm

tuigii wrote:
Malkom wrote:The rights of the dir addons / siggen / sig is : drwx------
700 for me :(

Don't feel bad about this : the left 7 is the only one that matters.
Your webserver can create files, that the important part.

The only part that has to be checked now is : how are these inc files created by the cache logic, and is this method any different as how siggen creats files.
(check : declare the ava/sig dir in the cache dir - just declare the path to it ?!)



The cache dir has the same rights.... it seems to be a good idea ;)


EDIT : I've made some tests but it doesn't work with cache dir :(
Last edited by Malkom on Wed Aug 27, 2008 3:41 pm, edited 1 time in total.
Image
User avatar
Malkom
WR.net Journeyman
WR.net Journeyman
 
Posts: 144
Joined: Tue Jan 09, 2007 11:02 am
Location: France - 91 - Longjumeau


Return to SigGen

Who is online

Users browsing this forum: No registered users and 1 guest

cron