Installation problem

A signature and avatar generator addon

Moderator: zanix

Installation problem

Postby Moelaria » Sun Sep 10, 2006 6:58 am

So I hit an issue in the 3rd step of the SigGen install. This should be the step where it sets up the database.

When I try to access this page "/modules/Guild_Roster/addon.php?roster_addon_name=siggen"

I get a warning and a fatal error.

Code: Select all
Warning: main(/settings.php): failed to open stream: No such file or directory in /home/content/f/a/t/fateguild/html/modules/Guild_Roster/addon.php on line 19

Fatal error: main(): Failed opening required '/settings.php' (include_path='.:/usr/local/lib/php') in /home/content/f/a/t/fateguild/html/modules/Guild_Roster/addon.php on line 19


I tried editing the line 19 to "./settings.php" instead of "/settings.php" and it had the effect of breaking the roster. I reverted to my saved copy before the edit and things went back to normal.


Does anyone out there have any ideas?

I know I'm so close to getting this thing to work.

Thanks.
Moelaria
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Thu Sep 07, 2006 12:50 am

Installation problem

Postby zanix » Sun Sep 10, 2006 10:29 am

Try just "settings.php"
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: Installation problem

Postby Moelaria » Sun Sep 10, 2006 1:05 pm

Nope, that messes up the RealmStatus Addon.

I also tried "../settings.php" and got even worse.
Moelaria
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Thu Sep 07, 2006 12:50 am

Installation problem

Postby zanix » Sun Sep 10, 2006 1:17 pm

Uhm, what file are you editing?
And what are you trying to make this work with?

Give me some more info please, I'm feeling kinda lost
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: Installation problem

Postby Moelaria » Sun Sep 10, 2006 11:08 pm

Sorry, I hope I can help. I'm 1.7 Nuked (the fixed version) and I'm trying to install the bundled SigGen addon. I checked and I've got the correct FreeType and GD2 setup to be able to run SigGen.

I was editing addon.php because that's where it said the issue was. Maybe that's not completely correct though.

Maybe it's one of those directory issues that there's a simple fix for?


Any help you can offer would be awesome.
Moelaria
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Thu Sep 07, 2006 12:50 am

Re: Installation problem

Postby Moelaria » Sun Sep 10, 2006 11:36 pm

Also, and I don't know where to fix this but if I look at the Test SigGen for my toon in the SigGen Config I see this as the address for the signature.
Code: Select all
/modules/Roster/addons/siggen/sig.php?player=Moelaria


It needs to be:
Code: Select all
/modules/Guild_Roster/addons/siggen/sig.php?player=Moelaria


Probably I'm missing one of the commented things in the code that I need to enable instead.
Moelaria
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Thu Sep 07, 2006 12:50 am

Re: Installation problem

Postby Moelaria » Tue Sep 12, 2006 7:13 am

OK, this is getting REALLY CLOSE.

I installed 1.9 instead. I still can't get to that one page but I can at least get an avatar out of the addon:
Image

However with my signature I'm getting an

Code: Select all
Error - [GD Info]

Line 369: Could not read font


I need to read the forum for that one.

So here are my issues:
    1. Error - GD Info
    2. Address of the test signature is not correct. It's got /addons/siggen/siggen.php? when it should have /modules/Guild_Roster/addons/siggen/siggen.php?name=Moelaria&mode=signature&saveonly=0&etag=0
    3. How do I get the sigs to save. It's not working and I do have Saved Images enabled correctly, I hope.


I'm sorry I'm not getting this and for being a pest.


Thanks for any help you can provide.
Last edited by Moelaria on Tue Sep 12, 2006 7:36 am, edited 1 time in total.
Moelaria
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Thu Sep 07, 2006 12:50 am

Installation problem

Postby zanix » Tue Sep 12, 2006 7:33 am

I'm sorry, I don't know enough about the nuke port of roster to be able to help you

Seems like it can't find the fonts, or it's looking in the wrong place

The message for the sig/ava location is in memberdetails.php
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: Installation problem

Postby Moelaria » Tue Sep 12, 2006 7:49 am

OK, what about this as a possibilty.

Maybe my Roster_Base or roster_dir isn't right for my application.

This is from the conf.php:
Code: Select all
$module_name = basename(dirname(__FILE__));
$roster_dir = "modules/" . $module_name;


This is from the Roster directory, settings.php

Code: Select all
/**
 * Base, absolute roster directory
 */
define('ROSTER_BASE',dirname(__FILE__).DIR_SEP);
//define('modules/roster/'dirname(__FILE__).DIR_SEP);


I don't know, just throwing stuff at the wall at this point.
Last edited by Moelaria on Tue Sep 12, 2006 10:02 pm, edited 1 time in total.
Moelaria
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Thu Sep 07, 2006 12:50 am

Installation problem

Postby zanix » Tue Sep 12, 2006 9:00 am

BASE_DIR is fine, it auto detects what directory it's in

I *think* the problem lies in SigGen config (index.php)
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: Installation problem

Postby Moelaria » Tue Sep 12, 2006 9:18 pm

I found the issue with the GD Font. Something happenned to the font names in the "Signature" record in the roster_addon_siggen table. I found the solution in another forum post (it was to edit the DB directly and add the font names). That worked in order to get my signature working again

Image

However the add on is still not working right.

I'm going to rip everything down and just do a re-install with 1.9 and a fresh data base. 1.9 is playing a bit better than 1.8. I'll let you know how that goes.
Last edited by Moelaria on Tue Sep 12, 2006 10:01 pm, edited 1 time in total.
Moelaria
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Thu Sep 07, 2006 12:50 am

Re: Installation problem

Postby Moelaria » Wed Sep 13, 2006 6:36 am

So I restarted with 1.9 and I removed the table but I still got the same error.

I looked in the index file for anything. I got this...
Code: Select all
// ----[ Get the filename for this...file ]-----------------
$script_filename = basename($_SERVER['PHP_SELF']).'?roster_addon_name=siggen';
// NUKED $script_filename = $roster_moddir.'&op=addon&roster_addon_name=siggen';


It didn't work so I changed it to this...
Code: Select all
// ----[ Get the filename for this...file ]-----------------
//$script_filename = basename($_SERVER['PHP_SELF']).'?roster_addon_name=siggen';
$script_filename = $roster_moddir.'modules.php?name=Guild_Roster&op=addon&roster_addon_name=siggen';


That didn't work.

At the bottom of the IE screen I'm getting a error on the page. The details of the error says Syntax error on line 2, character 1. I'm guessing it's this.

Code: Select all
<?php
/******************************
 * $Id: index.php,v 1.23 2006/05/21 10:47:11 zanix Exp $
 ******************************/


I did however find the fix for the link that I was looking for in the Test Config section. The code was in the templates/sc_nametest.tpl file.

Sorry I'm having so much trouble with this. The signatures look pretty darned cool and I really want to get this working on our site.

Thanks for any help anyone can give.
Last edited by Moelaria on Wed Sep 13, 2006 6:41 am, edited 1 time in total.
Moelaria
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Thu Sep 07, 2006 12:50 am


Return to SigGen

Who is online

Users browsing this forum: No registered users and 0 guests

cron