Pagina 1 van 1

Rivals mod error

Geplaatst: 03 aug 2006, 17:28
door hendry

Code: Selecteer alles

Warning: main(./rivals/.php): failed to open stream: No such file or directory in /home/hendry/domains/***.nl/public_html/rivals.php on line 23

Warning: main(./rivals/.php): failed to open stream: No such file or directory in /home/hendry/domains/***.nl/public_html/rivals.php on line 23

Warning: main(): Failed opening './rivals/.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hendry/domains/***.nl/public_html/rivals.php on line 23
Dat is mijn fout. Ik snap niet wat er fout is. Dit is rivals.php

Code: Selecteer alles

<?php
##########################################################
# FILENAME  : rivals.php
# COPYRIGHT : (c) 2006, A.I. BOT (docs/copyright.txt)
# GPL v2.0
##########################################################
define ( IN_PHPBB, true );
$phpbb_root_path	= './';
include ( $phpbb_root_path . 'extension.inc' );
include ( $phpbb_root_path . 'common.'.$phpEx );
include ( $phpbb_root_path . 'includes/bbcode.'.$phpEx );
include ( $phpbb_root_path . 'includes/functions_post.'.$phpEx );
include ( $phpbb_root_path . 'rivals/rivals_source.php' );

$userdata	= session_pagestart ( $user_ip, PAGE_INDEX );
init_userprefs ( $userdata );

$http_vars			= http_vars ( );
$clan				= new clan ( );
$tournament			= new tournament ( );
$ladder			 	= new ladder ( );

include ( $phpbb_root_path . 'rivals/' . $http_vars[ 'action' ] . '.php' );
?>
[/code]

Geplaatst: 03 aug 2006, 17:30
door ElbertF
Hij zegt het bestand niet te kunnen vinden, heb je het wel geüpload naar de juiste map?

Geplaatst: 03 aug 2006, 17:35
door hendry
Jep :S ik begrijp er ook niks aan. Deze mod gaat het trouwens om: http://www.phpbb.com/phpBB/viewtopic.php?t=352586

Geplaatst: 03 aug 2006, 17:58
door ElbertF
Link naar je forum..?

Geplaatst: 03 aug 2006, 18:42
door hendry
Spambot schreef:Link naar je forum..?
chek u PM a.u.b.

Geplaatst: 03 aug 2006, 19:01
door ElbertF
Er moet een naam van een pagina in de URI, als je rivals.php zo aanroept werkt het wel:

/rivals.php?action=sign_up

Maar wat precies de bedoeling is weet ik niet. :)

Geplaatst: 03 aug 2006, 19:05
door hendry
Spambot schreef:Er moet een naam van een pagina in de URI, als je rivals.php zo aanroept werkt het wel:

/rivals.php?action=sign_up

Maar wat precies de bedoeling is weet ik niet. :)
Ik ook niet :) het leek mij een leuke mod dus wauw hem installeren en zie die fout op rivals.php :S

Geplaatst: 03 aug 2006, 19:13
door ElbertF
Het is in elke geval niet de bedoeling om rivals.php zo direct aan te roepen. Het is dus niet echt een fout..