Easy Attachment Mod 4.0.0. Fehlermeldungen im Adminbereich
Verfasst: 24.10.2007 18:48
Hi.
Ich habe den Easy Attachment Mod installiert und bekomme zur Zeit im Admin Bereich diese Fehlermeldung:
Warning: opendir(../attachments/) [function.opendir]: failed to open dir: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/harryportal/admin/admin_attaches.php on line 46
Warning: readdir(): supplied argument is not a valid Directory resource in /usr/export/www/vhosts/funnetwork/hosting/harryportal/admin/admin_attaches.php on line 48
Warning: closedir(): supplied argument is not a valid Directory resource in /usr/export/www/vhosts/funnetwork/hosting/harryportal/admin/admin_attaches.php on line 58
Hier die Datei dazu:
Hochladen kann ich auch nichts.
wer selber probieren will:
Hier Klicken
Wisst ihr was diese Meldungen bedeuten?
Bin schon am verzweifeln.
gruß
pctin
Ich habe den Easy Attachment Mod installiert und bekomme zur Zeit im Admin Bereich diese Fehlermeldung:
Warning: opendir(../attachments/) [function.opendir]: failed to open dir: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/harryportal/admin/admin_attaches.php on line 46
Warning: readdir(): supplied argument is not a valid Directory resource in /usr/export/www/vhosts/funnetwork/hosting/harryportal/admin/admin_attaches.php on line 48
Warning: closedir(): supplied argument is not a valid Directory resource in /usr/export/www/vhosts/funnetwork/hosting/harryportal/admin/admin_attaches.php on line 58
Hier die Datei dazu:
Code: Alles auswählen
<?php
/**
*
* mod package Download Mod 5
* file admin_downloads.php v 1.2 2006/07/19 OXPUS
* copyright (c) 2005 oxpus (Karsten Ude) <webmaster@oxpus.de> http://www.oxpus.de
* copyright mod (c) hotschi / demolition fabi / oxpus
* license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/*
* build ACP navi module
*/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['General']['Attachments'] = $filename;
return;
}
/*
* connect to phpBB
*/
$phpbb_root_path = './../';
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);
if(isset($_GET['delete'])) {
@unlink("../attachments/".$_GET['delete']);
echo '<h3><center>Datei gelöscht - File deleted</center></h3>';
}
?>
<center><table class="forumline" align="center" border="0" cellpadding="4" cellspacing="1" width="300">
<tr>
<th colspan="3" class="thTop" align="left" nowrap="nowrap"><div align="center">Attachment Administration</div></th>
</tr>
<?php
$verz=opendir('../attachments/');
while($file = readdir($verz)){
if($file != '.' && $file != '..') {
?>
<tr><td><a href="../attachments/<?=$file ?>" target="_blank"><?=$file ?></a></td><td><a href="admin_attaches.php?delete=<?=$file ?>&sid=<?=$userdata['session_id'] ?>" target="_self" name="DELETE" title="DELETE"><font size="3"><b>X</b></font></a></td></tr>
<?php
}
}
closedir($verz);
?>
</table></center>
<?php
include('./page_footer_admin.'.$phpEx);
?>
wer selber probieren will:
Hier Klicken
Wisst ihr was diese Meldungen bedeuten?
Bin schon am verzweifeln.
gruß
pctin