Char.php error

phpNuke integration forum

Char.php error

Postby zxaltan » Sun Aug 06, 2006 6:54 pm

after i installed the Nuke 1.7 and uploaded a character when i click a character i get this error

Code: Select all
Warning: main(settings.php) [function.main]: failed to open stream: No such file or directory in /home/steelsta/public_html/asy/char.php on line 19

Fatal error: main() [function.require]: Failed opening required 'settings.php' (include_path='.:/usr/lib/php') in /home/steelsta/public_html/asy/char.php on line 19


that line in the char.php is
Code: Select all
require_once( 'settings.php' );
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am

Re: Char.php error

Postby zxaltan » Wed Aug 09, 2006 9:52 pm

Help someone anyone

i ran the debug file posted in on of the other topics and this is the output i get


debug output: : end of output
Fatal error: Class 'sql_db' not found in /home/steelsta/public_html/asy/db/db.php on line 94[/quote]
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am

Re: Char.php error

Postby zxaltan » Mon Aug 14, 2006 8:09 pm

bump still need help to fix problem been 5 days and no reply
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am

Re: Char.php error

Postby zxaltan » Tue Aug 15, 2006 11:33 pm

bump
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am

Re: Char.php error

Postby zxaltan » Fri Aug 18, 2006 6:12 pm

:sad:
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am

Re: Char.php error

Postby zxaltan » Sat Aug 19, 2006 5:21 pm

zxaltan wrote::sad:
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am

Re: Char.php error

Postby zxaltan » Sun Aug 20, 2006 7:06 pm

:sad:
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am

Re: Char.php error

Postby zxaltan » Tue Aug 22, 2006 7:45 pm

Nuke roster :puke:
Last edited by zxaltan on Tue Aug 22, 2006 7:46 pm, edited 1 time in total.
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am

Char.php error

Postby DarkKnight388 » Wed Aug 23, 2006 11:34 am

Looks to me like your Roster isn't installed in that folder or that Roster thinks it's in a different folder.

Did you try to upload the latest zip version of nuke port and install that?
User avatar
DarkKnight388
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Sun Jul 09, 2006 2:32 pm

Re: Char.php error

Postby zxaltan » Wed Aug 23, 2006 6:14 pm

it's in sitename/modules/roster
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am

Char.php error

Postby DarkKnight388 » Thu Aug 24, 2006 3:21 am

I thought so as that's the normal folder for php-nuke, but if you look at the error msg: /home/steelsta/public_html/asy/char.php is where roster tries to find the char.php which should say /home/steelsta/public_html/asy/modules/roster/char.php (as i presume asy is the accountname/website name?).

Okay, i checked my char.php and that line 19 should say:
Code: Select all
require_once($roster_dir . '/settings.php' );


I hope that fixes your problem.


(ps. that was one of the fixes in the lasted version of Rahtak, if I'm not mistaken. So i advise once more to take a look at the version of 10th of Aug, since that works very close to 100%. Especially with the latest fixes found in the same topic as where you can find that latest version!)
Last edited by DarkKnight388 on Thu Aug 24, 2006 3:24 am, edited 2 times in total.
Image Image
User avatar
DarkKnight388
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Sun Jul 09, 2006 2:32 pm

Re: Char.php error

Postby zxaltan » Thu Sep 07, 2006 7:56 am

Did not work all the links still point to
/char.php?name=name&server=Detheroc
and should point to
/modules/roster/char.php?name=name&server=Detheroc

Don’t think this error has anything to do with the char.php this it has some thing to do with the settings.php one off the lines that tells the addon where the fills are it assumes that the files will always be in domain/modules/roster
When I have my roster in
domain/sub domain/modules/roster
User avatar
zxaltan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 62
Joined: Mon Jul 10, 2006 1:09 am


Return to phpNuke

Who is online

Users browsing this forum: No registered users and 1 guest

cron