Witam serdecznie, po przeniesieniu strony na serwer lokalny wamp pojawia się krzaczek zamiast strony. Przeniosłem stronę wraz z bazą danych. Na serwerze www działa wszystko poprawnie a na lokalnym wyświetla mi się:
setting['skin_dir'] ); $email = new Email(ROOT.'/language/'.$user->setting[language].'/emails'); $email->admin_email =$user->setting['adminemail']; # sending emails via SMTP? if($user->setting[use_smtp]) { $email->handler->IsSMTP(); $email->handler->SMTPAuth = true; $email->handler->Host = $user->setting[smtp_host]; $email->handler->Username = $user->setting[smtp_user]; $email->handler->Password = $user->setting[smtp_pass]; $email->handler->SMTPDebug = $user->setting['debug']=='yes' ? 2 : 0; # unset($DATASTORE[setting][smtp_user]); unset($user->setting[smtp_pass]); } # compile HTML template into PHP executable file $template->reuse_code = $user->setting[reuse_code]; # cache site pages into static pages to boost performence for your site! $user->setting[cached] = $user->setting[cached] && in_array(IN_PAGE,$CachedPages); if($user->setting[cached]) $template->use_cache(array('USER_BEGINCACHE_CALLBACK','USER_ENDCACHE_CALLBACK')); # all using PHP code in HTML template? $template->use_php=$user->setting['allow_php']=='1'; ($hook = YABPlugin::fetch_hook('template_init',__FILE__,__LINE__)) ? eval($hook) : ''; } $user->initiate(); } # enable debug mode for admin panel if(defined('IN_ADMIN')&&IN_ADMIN==1) { $db->debug = true; } # rebuild baseWeb to be compactable Javascript cross domain issue! if(defined("IN_MAIN_SERVER")&&IN_MAIN_SERVER==1) { $parts=parse_url($baseWeb); $parts['host'] = $_SERVER['HTTP_HOST']; $baseWeb = "$parts[scheme]://$parts[host]$parts[path]"; } # build lang url $langWeb = $baseWeb.($user->setting['lang_page']=='static'?'/'.$user->langcode:''); $baseWebskin = ($baseWeb . '/skin/' . $user->setting['skin_dir']); //addy by phamtoan1904@gmail.com /*if($user->setting['lang_page']=='static'&&!isset($input[setlang])&&IN_PAGE!='index') { header("HTTP/1.1 301 Moved Permanently"); header("location:$langWeb/"); exit; }*/ # debug mode $DEMOMODE=0; $DEMOTEXT='Some function is disabled in demo mode!'; $debug = $user->setting['debug']=='yes' ? 100 : 0; if($_SERVER[HTTP_X_REQUESTED_WITH]=='XMLHttpRequest'||$input[inline]==1) { define('IGNORE_HEADER',1); } # send headers if(!IS_POST&&IN_PAGE!='GETFILE'&&IN_PAGE!='GETLINKS'&&IN_DOWNLOAD!=1) { //@header('HTTP/1.1 200 OK'); if(!$nocache) { @header("Cache-Control: private"); @header("Pragma: private"); } else { @header("Expires: 0"); // Date in the past @header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified @header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 @header("Pragma: no-cache"); // HTTP/1.0 } } ?>
( ! ) Notice: Use of undefined constant logout - assumed 'logout' in C:\wamp\www\index.php on line 24
Call Stack
# Time Memory Function Location
1 0.0007 248208 {main}( ) ..\index.php:0
( ! ) Notice: Undefined variable: input in C:\wamp\www\index.php on line 24
Call Stack
# Time Memory Function Location
1 0.0007 248208 {main}( ) ..\index.php:0
( ! ) Fatal error: Call to undefined function showUploadForm() in C:\wamp\www\index.php on line 29
Call Stack
# Time Memory Function Location
1 0.0007 248208 {main}( ) ..\index.php:0