Parašė SonicMaster· 2008 Rugp. 4 23:08:32
#1
Pas vokecius saite radau shop.php koda kuris yra zemiau insidejau i saita ir meta stai ka:
Fatal error: require_once() [function.require]: Failed opening required 'BASEDIRmaincore.php' (include_path='.:') in /home/zxcvb/mh.xz.lt/infusions/user_gold_panel/shop.php on line 5
Zemiau yra tas kodas kur eroras yra sutvarkykit jai nesunku ;)
<?php
$id = $_GET['id'];
$root = $_SERVER['DOCUMENT_ROOT'];
require_once BASEDIR."maincore.php";
require_once BASEDIR."subheader.php";
require_once BASEDIR."side_left.php";
if(file_exists(INFUSIONS."user_gold_panel/shop/locale/".$settings['locale'].".php")) {
include INFUSIONS."user_gold_panel/shop/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."user_gold_panel/shop/locale/Danish.php";
}
opentable($shop['title1']. " : " .$shop['title2']);
echo "".$shop['1']." : ".$shop['cost1']."<br>";
echo "".$shop['2']." : ".$shop['cost2']."<br>";
echo "".$shop['3']." : ".$shop['cost3']."<br>";
echo "".$shop['4']." : ".$shop['cost4']."<br>";
echo "".$shop['5']." : ".$shop['cost5']."<br>";
echo "".$shop['6']." : ".$shop['cost6']."<br>";
echo "".$shop['7']." : ".$shop['cost7']."<br>";
echo "".$shop['8']." : ".$shop['cost8']."<br>";
echo "".$shop['9']." : ".$shop['cost9']."<br><br>";
echo "<a href='".INFUSIONS."user_gold_panel/shop/buy.php'>".$shop['frz1']."</a>";
closetable();
require_once BASEDIR."side_right.php";
require_once BASEDIR."footer.php";
?>
Redagavo SonicMaster· 2008 Rugp. 4 23:08:40