Nieuw lid |
|
Ik wil een phpbb forum includen in deze template (http://www.all-stars-clan.com). Ik gebruik deze code:
<?php
$pag == $_GET['pag'];
if ($pag = forum) {
include ("./forum/index.php");
} else; {
include ("./content.php");
}
?>
Hij geeft deze fouten:
Warning: include(./extension.inc) [function.include]: failed to open stream: No such file or directory in /home/lcallaert/domains/all-stars-clan.com/public_html/forum/index.php on line 25
Warning: include() [function.include]: Failed opening './extension.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/lcallaert/domains/all-stars-clan.com/public_html/forum/index.php on line 25
Warning: include(./common.) [function.include]: failed to open stream: No such file or directory in /home/lcallaert/domains/all-stars-clan.com/public_html/forum/index.php on line 26
Warning: include() [function.include]: Failed opening './common.' for inclusion (include_path='.:/usr/local/lib/php') in /home/lcallaert/domains/all-stars-clan.com/public_html/forum/index.php on line 26
Fatal error: Call to undefined function session_pagestart() in /home/lcallaert/domains/all-stars-clan.com/public_html/forum/index.php on line 31
Als ik de directory ./forum/index.php verander in ./forum/ dan krijg enkel deze 2 fouten:
Warning: include(./forum/) [function.include]: failed to open stream: Success in /home/lcallaert/domains/all-stars-clan.com/public_html/index.php on line 258
Warning: include() [function.include]: Failed opening './forum/' for inclusion (include_path='.:/usr/local/lib/php') in /home/lcallaert/domains/all-stars-clan.com/public_html/index.php on line 258
Heeft er iemand een oplossing miss een volledige nieuwe manier?
Bedankt,
Duckness
|