Seite 1 von 1

Coppermine ins Forum einbauen ?

Verfasst: 27.09.2010 19:22
von finsrok
Hallo ich möchte gern Coppermine Gallery in mein vorhandenes Forum einbauen und habe da folgende möglichkeit gefunden:

man soll eine .php Datei erstellen mit folgenden Inhalt:

Code: Alles auswählen

<?php
define('IN_PHPBB', true);

$phpbb_root_path = './'; // <--
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

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

include($phpbb_root_path . 'includes/page_header.'.$phpEx);
?>

<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>www. dreckiges-dutzend-clan.de - Fotoalbum</th>
</tr>
<tr>
<td class="row1" align="center"><span class="genmed">
         <iframe src="http://http://dreckiges-dutzend-clan.de/gallery/index.php" marginwidth="0" marginheight="0" width="100%" height="2000" border="0" frameborder="0" style="border:none;" scrolling="no"></iframe>
</span>
</td>
<tr>
<td align="center" class="row2"><span class="gensmall"> </td>
</tr>
<tr>
<td align="center" class="row2"><span class="gensmall">Amazon-Shop powerd by<a href="http://www.amazon.de/exec/obidos/redirect-home?tag=revolworldofw-21&site=home" target="_blank">Amazon.de</a><br /></span></td>
</tr>
</table>

<?
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
und dann die .php über einen link ansprechen soweit so gut nur leider bekomme ich da folgenden Fehlermeldungen.

Warning: include(./extension.inc) [function.include]: failed to open stream: No such file or directory in /home/www/web88/html/ddd/coppermine.php on line 5

Warning: include(./extension.inc) [function.include]: failed to open stream: No such file or directory in /home/www/web88/html/ddd/coppermine.php on line 5

Warning: include() [function.include]: Failed opening './extension.inc' for inclusion (include_path='.') in /home/www/web88/html/ddd/coppermine.php on line 5

Warning: include(./common.) [function.include]: failed to open stream: No such file or directory in /home/www/web88/html/ddd/coppermine.php on line 6

Warning: include(./common.) [function.include]: failed to open stream: No such file or directory in /home/www/web88/html/ddd/coppermine.php on line 6

Warning: include() [function.include]: Failed opening './common.' for inclusion (include_path='.') in /home/www/web88/html/ddd/coppermine.php on line 6

Fatal error: Call to undefined function session_pagestart() in /home/www/web88/html/ddd/coppermine.php on line 8

Kann mir iregendwer helfen und mir sagen was ich falsch mache oder kennt jemand eine andere Möglichkeit ?
Bitte helft mir.