<?php
/***************************************************************************
 *   awToDo                                                                *
 *                                                                         *
 *   Copyright (C) 2007 Artur Wiebe                                        *
 *   [email protected]                                                          *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/
if(!defined("IN_FUSION")) {
	die("");
}


require_once("class.awtodo.php");
$awtodo = new awToDo();

require_once("class.project.php");
$project = new awToDoProject();



if(file_exists(INFUSIONS."aw_todo/locale/".$settings['locale'].".php")) {
	include INFUSIONS."aw_todo/locale/".$settings['locale'].".php";
} else {
	include INFUSIONS."aw_todo/locale/German.php";
}



function awtodo_admin_menu() {
	global $locale, $awtodo;

echo "<span style='float:right;'><strong>".$awtodo->settings['version']
	."</strong></span>
<a href='../index.php'>".$locale['AWTD002']."</a>
| <a href='settings.php'>".$locale['AWTD750']."</a>
| <a href='projects.php'>".$locale['AWTD700']."</a>
<hr style='clear:both;'>\n";
}

function awtodo_del_attachment($comment_id) {
	$query_id = dbquery("SELECT file_name"
		." FROM ".DB_PREFIX."awtodo_attachment"
		." WHERE comment_id='".$comment_id."'");
	while($data = dbarray($query_id)) {
		@unlink(AWTODO_ATTACHMENTS.$data['file_name']);
	}
	$query_id = dbquery("DELETE"
		." FROM ".DB_PREFIX."awtodo_attachment"
		." WHERE comment_id='".$comment_id."'");
	return true;
}
?>


staat in include/


Warning: main(class.awtodo.php) [function.main]: failed to open stream: No such file or directory in /var/www/vhosts/phphulp.nl/httpdocs/x/infusions/aw_todo/include/common.php on line 18

Fatal error: main() [function.require]: Failed opening required 'class.awtodo.php' (include_path='') in /var/www/vhosts/phphulp.nl/httpdocs/x/infusions/aw_todo/include/common.php on line 18

deze error krijg ik

maar
class.awtodo.php
staat ook in include/

dus wat is er nu fout?!
Naja das simpel het bestand bestaat niet. Doe eens include_once();

Reageren