Hallo,
Ik heb het goed staan maar hij link niet naar die map hoe?
Bestand class.xdbSmarty.php
  • <?php
    /**
    * OBST, a tool for the multilingual browsergame TribalWars.
    * Copyright (C) 2006-2007 Robert Nitsch
    *
    * 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.
    *
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    * GNU General Public License for more details.
    *
    * You should have received a copy of the GNU General Public License
    * along with this program; if not, write to the Free Software
    * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
    **/

    // stellt die Smartyklasse bereit
    // URL: http://smarty.php.net

    require(OBST_SMARTYDIR.'/Smarty.class.php');

    class xdbSmarty extends Smarty {

    function xdbSmarty()
    {
    $this->template_dir = OBST_DIR_TEMPLATE.'/';
    $this->compile_dir = OBST_ROOT.'/cache/compiled';
    $this->cache_dir = OBST_ROOT.'/cache';

    $this->assign('obst_root', OBST_ROOT);
    }

    }

    ?>

En dit geeft die aan.
Warning: main(./../smarty/smarty.class.php) [function.main]: failed to open stream: No such file or directory in /home/www/tktribal.100webspace.net/include/class.xdbSmarty.php on line 24

Fatal error: main() [function.require]: Failed opening required './../smarty/smarty.class.php' (include_path='.:/usr/local/lib/php') in /home/www/tktribal.100webspace.net/include/class.xdbSmarty.php on line 24
@robin;
Hoezo...? En bumpen mag niet.

je bestand (smarty.class.php) staat in de map /smarty/, nu moet je nog de plek vinden waar de constante wordt gedefined :)
Wat mag dit betekenen ??
constante gedefined
Uhm, zoiets:
define("CONSTANTENAAM", "constantewaarde");
Is gewoon PHP?
Ok ik weet niet
NIET BUMPEN!
En wat zei Karl?
robin schreef op 28.08.2008 18:28
[quote='Karl schreef op 28.08.2008 17:49'][color=red]Kop dicht.
PHP Beginners handleiding[/color]


Dat zij die ;)[/quote]
Als je nou eens kapt met dat gekut van je en gewoon op die links van mij klikt en gelijk leest en leert....
(En leer d'r gelijk nederlands bij, het is zei.)
En ik ben het volledig met hem eens..

Wat je zou kunnen doen om nu het probleem op te lossen is error reporting aanzetten.

Edit: Lijkt een beetje gek deze post, was bedoeld om na Robin te komen.
Luister Robin, vrolijke vriend. DOE ZELF OOK EENS EEN BEETJE MOEITE EN LEES DIE 2 LINKS!

Stop met bumpen, lees die links.

Reageren