Bu gün Crestudan WHMCS tema satın aldım siteme kurdum Ana Sayfa duyurular vs bölümlerde sorun yok fakat Web Hosting Bayi Hosting sayfalarına girdiğimde.
Warning: require(init.php) [function.require]: failed to open stream: No such file or directory in /home/kadı/public_html/linux-web-hosting.php on line 5
Warning: require(init.php) [function.require]: failed to open stream: No such file or directory in /home/kadı/public_html/linux-web-hosting.php on line 5
Fatal error: require() [function.require]: Failed opening required 'init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kadı/public_html/linux-web-hosting.php on line 5
şeklinde hatalar alıyorum nedeni nedir ?
WHMCS Hata
6
●3.023
- 17-06-2013, 08:25:39
- 17-06-2013, 08:45:48bunlar arkıdaşın sorunu nasıl çözülecekOrdubilisim adlı üyeden alıntı: mesajı görüntüle
- 17-06-2013, 09:29:48Arkadaşın sanırım ek sayfa kodları son versiyon için kodlanmış
Eğerki Whmcs Sürümünüz 4.x veyada 5.0.x , 5.1.x ise:
<?php define("CLIENTAREA",true); //define("FORCESSL",true); # Uncomment to force the page to use https:// require("dbconnect.php"); require("includes/functions.php"); require("includes/clientareafunctions.php"); $pagetitle = $_LANG['clientareatitle']; $breadcrumbnav = '<a href="index.php">'.$_LANG['globalsystemname'].'</a>'; $breadcrumbnav .= ' > <a href="mypage.php">My Page</a>'; initialiseClientArea($pagetitle,'',$breadcrumbnav); # To assign variables to the template system use the following syntax. # These can then be referenced using {$variablename} in the template. $smartyvalues["variablename"] = $value; # Check login status if ($_SESSION['uid']) { # User is logged in - put any code you like here # Here's an example to get the currently logged in clients first name $result = mysql_query("SELECT firstname FROM tblclients WHERE id=".(int)$_SESSION['uid']); $data = mysql_fetch_array($result); $clientname = $data[0]; $smartyvalues["clientname"] = $clientname; } else { # User is not logged in } # Define the template filename to be used without the .tpl extension $templatefile = "TPLDOSYASININADI"; outputClientArea($templatefile); ?>