siggen question

A signature and avatar generator addon

Moderator: zanix

Re: siggen question

Postby Gator81 » Sun Oct 07, 2007 8:51 am

i am running the 2.0 beta latest release...the only .httaccess that i have is in the root of the roster directroy and the one i posted earlier is the one that came with roster...i just didnt know where to put the info to get it to work, do i put it at the very end like i was showing, or do i put it in the middle or at the top?
Gator81
WR.net Journeyman
WR.net Journeyman
 
Posts: 115
Joined: Fri Jun 01, 2007 4:44 am

siggen question

Postby tuigii » Sun Oct 07, 2007 11:40 am

This is mine :
Code: Select all
SetEnv REGISTER_GLOBALS 0
SetEnv ZEND_OPTIMIZER 1
SetEnv MAGIC_QUOTES 1
SetEnv PHP_VER 5
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteRule ^/?forum/e107_plugins/forum/forums([0-9]*)\.php$  ./forum/e107_plugins/forum/forum_viewforum.php?$1 [QSA,L,NC]
RewriteRule ^/?roster/(sig|av)/(.*)\.png$ ./roster/index.php?p=util-siggen-$1&saveonly=0&member=$2

This file is in the root server directory.
The main roster directory is is of course /roster
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

siggen question

Postby Ulminia » Sun Oct 07, 2007 11:56 am

now if only i could get my addon Roster Gallory to work this well lol
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: siggen question

Postby Gator81 » Sun Oct 07, 2007 12:18 pm

I will try that and see what happens...thanks
Gator81
WR.net Journeyman
WR.net Journeyman
 
Posts: 115
Joined: Fri Jun 01, 2007 4:44 am

Re: siggen question

Postby Wyren » Mon Oct 08, 2007 8:37 pm

zanix wrote:If this is for SigGen 0.3.0 and Roster 2.0, you would want to use this
Code: Select all
RewriteRule ^/?wowoster/(sig|av)/(.*).png$ ./wowroster/index.php?p=util-siggen-$1&member=$2&saveonly=0


And you would need to use the following url
wowoster/sig/CharName@RC-Realm.png


I seem to be unable to get this to work...
Apache2's error.log just says " File does not exist: /var/www/roster/sig"
I've added the "RewriteRule ^/(sig|av)/(.*).png$ ./index.php?p=util-siggen-$1&member=$2&saveonly=0" to my .htaccess file as the first rewrite rule, my roster is located at http://roster.treehuggery.org/ (the local dir on my web-server is /var/www/roster/). Anyone got any idea how to fix this?
Wyren
WR.net Journeyman
WR.net Journeyman
 
Posts: 81
Joined: Wed Jul 26, 2006 3:07 pm

siggen question

Postby zanix » Mon Oct 08, 2007 10:25 pm

You need to have mod_rewrite installed and running in apache
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: siggen question

Postby Wyren » Mon Oct 08, 2007 11:08 pm

zanix wrote:You need to have mod_rewrite installed and running in apache

I've installed it using a2enmod (debian) and restarted apache, so it should be running. Any 100% way to test it?
Wyren
WR.net Journeyman
WR.net Journeyman
 
Posts: 81
Joined: Wed Jul 26, 2006 3:07 pm

siggen question

Postby zanix » Mon Oct 08, 2007 11:44 pm

Turn on Alternative urls in Roster and see if they work
All links in roster should end in .html
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: siggen question

Postby Wyren » Tue Oct 09, 2007 12:13 am

zanix wrote:Turn on Alternative urls in Roster and see if they work
All links in roster should end in .html

Still no luck..

My .htaccess file looks like this:
<IfModule mod_rewrite.c>
# ENABLE ENGINE
RewriteEngine On

# CONIDITIONS
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d

# REWRITE RULES
RewriteRule ^(.+) - [PT,L]
RewriteRule ^/(sig|av)/(.*).png$ ./index.php?util-siggen-$1&member=$2&saveonly=0
RewriteRule ^(.*) index.php
</IfModule>


When accessing http://roster.treehuggery.org/sig/Wyren ... etotem.png I get the Roster menu and a error
Roster Error
Invalid characters in module name


I've tested mod_rewrite by removing the siggen rewrite and changing the index.php to something else, and it does indeed rewrite the url.
Wyren
WR.net Journeyman
WR.net Journeyman
 
Posts: 81
Joined: Wed Jul 26, 2006 3:07 pm

siggen question

Postby zanix » Tue Oct 09, 2007 1:36 am

Remove the siggen line and tell me if the alt urls in Roster work
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: siggen question

Postby tuigii » Tue Oct 09, 2007 1:56 am

First of all, my roster is situated in the /roster folder.

Yours :
Code: Select all
RewriteRule ^/(sig|av)/(.*).png$ ./index.php?util-siggen-$1&member=$2&saveonly=0

Mine
Code: Select all
RewriteRule ^/?(sig|av)/(.*)\.png$ ./roster/index.php?p=util-siggen-$1&member=$2&saveonly=0

Can tell you that mine works ^^

Be carefull, every ^,/,?,(,| etc etc is (might be) important here !
Compare the two.
Aren't you missing a back slash '\' somewhere ?
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: siggen question

Postby Wyren » Tue Oct 09, 2007 3:28 am

zanix wrote:Remove the siggen line and tell me if the alt urls in Roster work

Alt urls worked just fine (removed the siggen rewrite)

tuigii wrote:First of all, my roster is situated in the /roster folder.

Yours :
Code: Select all
RewriteRule ^/(sig|av)/(.*).png$ ./index.php?util-siggen-$1&member=$2&saveonly=0

Mine
Code: Select all
RewriteRule ^/?(sig|av)/(.*)\.png$ ./roster/index.php?p=util-siggen-$1&member=$2&saveonly=0

Can tell you that mine works ^^

Be carefull, every ^,/,?,(,| etc etc is (might be) important here !
Compare the two.
Aren't you missing a back slash '\' somewhere ?


Goddamn, missing a \ before .png, and a p= after index.php, that fixed it! (and I had copied the rewrite rule off one of zanix' posts :) )

Thanks for the help!
Wyren
WR.net Journeyman
WR.net Journeyman
 
Posts: 81
Joined: Wed Jul 26, 2006 3:07 pm

siggen question

Postby PleegWat » Tue Oct 09, 2007 4:03 am

Zanix's needs to be in the roster root folder. Tuigii's needs to be in the one above.
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: siggen question

Postby Steiner62 » Wed Oct 31, 2007 11:24 pm

Hi

I want configurate Siggen in configuration panel but I have this message :
Fatal error: Call to a member function on a non-object in c:\ephp\www\addons\siggen\inc\functions.inc on line 415

when clic

Can you help me plz ?

Sorry for my english I'm French and very bad translator
Steiner62
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Wed Oct 31, 2007 9:43 pm

siggen question

Postby zanix » Thu Nov 01, 2007 12:37 am

You forgot two things
Roster version
SigGen version

Plus you should make your own post
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

PreviousNext

Return to SigGen

Who is online

Users browsing this forum: No registered users and 1 guest

cron