Jump to content
xt:Commerce Community Forum

Installationsprobleme


MarcS

Recommended Posts

Hallo,

bin auf einen neuen Server umgezogen. Nun wollte ich den Shop dort noch mal neu installieren. Nach dem Upload, der Rechtevergabe und aufruf von .../xtc_installer bekomme ich dies hier:

<?php

/* --------------------------------------------------------------

$Id: index.php,v 1.9 2004/04/25 13:58:08 fanta2k Exp $

XT-Commerce - community made shopping

http://www.xt-commerce.com

Copyright © 2003 XT-Commerce

--------------------------------------------------------------

based on:

© 2003 nextcommerce (index.php,v 1.18 2003/08/17); www.nextcommerce.org

Released under the GNU General Public License

--------------------------------------------------------------*/

require('includes/application.php');

// include needed functions

require_once(DIR_FS_INC.'xtc_image.inc.php');

require_once(DIR_FS_INC.'xtc_draw_separator.inc.php');

require_once(DIR_FS_INC.'xtc_redirect.inc.php');

require_once(DIR_FS_INC.'xtc_href_link.inc.php');

include('language/english.php');

// Include Developer - standard settings for installer

// require('developer_settings.php');

define('HTTP_SERVER','');

define('HTTPS_SERVER','');

define('DIR_WS_CATALOG','');

$messageStack = new messageStack();

$process = false;

if (isset($_POST['action']) && ($_POST['action'] == 'process')) {

$process = true;

$_SESSION['language'] = xtc_db_prepare_input($_POST['LANGUAGE']);

$error = false;

if ( ($_SESSION['language'] != 'german') && ($_SESSION['language'] != 'english') ) {

$error = true;

$messageStack->add('index', SELECT_LANGUAGE_ERROR);

}

if ($error == false) {

xtc_redirect(xtc_href_link('install_step1.php', '', 'NONSSL'));

}

}

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title>XT-Commerce Installer - Welcome</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">

<!--

.messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-weight: bold; font-size: 10px; background-color: #; }

-->

</style>

</head>

<body>

<table width="800" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td height="95" colspan="2" ><table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>

<td width="1">logo.gif</td>

<td background="images/bg_top.jpg"></td>

</tr>

</table>

</td>

</tr>

<tr>

<td width="180" valign="top" bgcolor="F3F3F3" style="border-bottom: 1px solid; border-left: 1px solid; border-right: 1px solid; border-color: #6D6D6D;">

<table width="180" border="0" cellspacing="0" cellpadding="0">

<tr>

<td height="17" background="images/bg_left_blocktitle.gif">

<div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><font color="FFAF00">xtc:</font><font color="#999999">Install</font></font></div></td>

</tr>

<tr>

<td bgcolor="F3F3F3" >

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="10"></td>

<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif">arrow02.gif<?php echo BOX_LANGUAGE; ?></font></td>

</tr>

</table>

</td>

</tr>

</table>

</td>

<td align="right" valign="top" style="border-top: 1px solid; border-bottom: 1px solid; border-right: 1px solid; border-color: #6D6D6D;">

<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td>title_index.gif

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">

<?php echo TEXT_WELCOME_INDEX; ?></font>

</td>

</tr>

<tr>

<?php

// permission check to prevent DAU faults.

$error_flag=false;

$message='';

$ok_message='';

// config files

if (!is_writeable(DIR_FS_CATALOG . 'includes/configure.php')) {

$error_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'includes/configure.php

';

}

if (!is_writeable(DIR_FS_CATALOG . 'includes/configure.org.php')) {

$error_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'includes/configure.org.php

';

}

if (!is_writeable(DIR_FS_CATALOG . 'admin/includes/configure.php')) {

$error_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'admin/includes/configure.php

';

}

if (!is_writeable(DIR_FS_CATALOG . 'admin/includes/configure.org.php')) {

$error_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'admin/includes/configure.org.php

';

}

$status='OK';

if ($error_flag==true) $status='<font color="ff0000">ERROR</font>';

$ok_message.='FILE Permissions .............................. '.$status.'

<hr noshade>';

// smarty folders

$folder_flag==false;

if (!is_writeable(DIR_FS_CATALOG . 'templates_c/')) {

$error_flag=true;

$folder_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'templates_c/

';

}

if (!is_writeable(DIR_FS_CATALOG . 'cache/')) {

$error_flag=true;

$folder_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'cache/

';

}

// image folders

if (!is_writeable(DIR_FS_CATALOG . 'images/')) {

$error_flag=true;

$folder_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'images/

';

}

if (!is_writeable(DIR_FS_CATALOG . 'images/categories/')) {

$error_flag=true;

$folder_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'images/categories/

';

}

if (!is_writeable(DIR_FS_CATALOG . 'images/banner/')) {

$error_flag=true;

$folder_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'images/banner/

';

}

if (!is_writeable(DIR_FS_CATALOG . 'images/product_images/info_images/')) {

$error_flag=true;

$folder_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'images/product_images/info_images/

';

}

if (!is_writeable(DIR_FS_CATALOG . 'images/product_images/original_images/')) {

$error_flag=true;

$folder_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'images/product_images/original_images/

';

}

if (!is_writeable(DIR_FS_CATALOG . 'images/product_images/popup_images/')) {

$error_flag=true;

$folder_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'images/product_images/popup_images/

';

}

if (!is_writeable(DIR_FS_CATALOG . 'images/product_images/thumbnail_images/')) {

$error_flag=true;

$folder_flag=true;

$message .= 'WRONG PERMISSION on '.DIR_FS_CATALOG . 'images/product_images/thumbnail_images/

';

}

$status='OK';

if ($folder_flag==true) $status='<font color="ff0000">ERROR</font>';

$ok_message.='FOLDER Permissions .............................. '.$status.'

<hr noshade>';

// check PHP-Version

$php_flag==false;

if (xtc_check_version()!=1) {

$error_flag=true;

$php_flag=true;

$message .='ATTENTION!, your PHP Version is to old, XT-Commerce requires atleast PHP 4.1.3.

Your php Version: <?php echo phpversion(); ?>

XT-Commerce wont work on this server, update PHP or change Server.';

}

$status='OK';

if ($php_flag==true) $status='<font color="ff0000">ERROR</font>';

$ok_message.='PHP VERSION .............................. '.$status.'

<hr noshade>';

$gd=gd_info();

if ($gd['GD Version']=='') $gd['GD Version']='<font color="ff0000">ERROR NO GDLIB FOUND!</font>';

$status=$gd['GD Version'].'

if GDlib Version < 2+ , klick here for further instructions';

// display GDlibversion

$ok_message.='GDlib VERSION .............................. '.$status.'

<hr noshade>';

if ($gd['GIF Read Support']==1 or $gd['GIF Support']==1) {

$status='OK';

} else {

$status='<font color="ff0000">ERROR</font>

You don\'t have GIF support within your GDlib, you won\'t be able to use GIF images, and GIF overlayfunctions in XT-Commerce!';

}

$ok_message.='GDlib GIF-Support .............................. '.$status.'

<hr noshade>';

if ($error_flag==true) {

?>

<td style="border: 1px solid; border-color: #ff0000;" bgcolor="#FFCCCC">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">Attention:

<?php echo $message; ?>

</font>

</td>

<?php } ?>

</tr>

<tr>

<?php

if ($ok_message!='') {

?>

<td height="20"></td></tr><tr>

<td style="border: 1px solid; border-color: #4CC534;" bgcolor="#C2FFB6">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">Checking:

<?php echo $ok_message; ?>

</font>

</td>

<?php } ?>

</tr>

</table>

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">break-el.gif</font></p>

<table width="98%" border="0" align="right" cellpadding="0" cellspacing="0">

<tr>

<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><font size="2">arrow-setup.jpg

<?php echo TITLE_SELECT_LANGUAGE; ?></font>

break-el.gif

<?php

if ($messageStack->size('index') > 0) {

?>

<table border="0" cellpadding="0" cellspacing="0" bgcolor="f3f3f3">

<tr>

<td><?php echo $messageStack->output('index'); ?></td>

</tr>

</table>

<?php

}

?>

</font> <form name="language" method="post" action="index.php">

<table width="300" border="0" cellpadding="0" cellspacing="4">

<tr>

<td width="98"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">arrow02.gifGerman</font></td>

<td width="192">icon-deu.gif

<?php echo xtc_draw_radio_field_installer('LANGUAGE', 'german'); ?>

</td>

</tr>

<tr>

<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif">arrow02.gifEnglish</font></td>

<td>icon-eng.gif

<?php echo xtc_draw_radio_field_installer('LANGUAGE', 'english'); ?> </td>

</tr>

</table>

<input type="hidden" name="action" value="process">

<?php if ($error_flag==false) { ?><input type="image" src="images/button_continue.gif" border="0" alt="Continue"> <?php } ?>

</p>

</form>

</td>

</tr>

</table></td>

</tr>

</table>

<p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo TEXT_FOOTER; ?> </font></p>

<p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">

</font></p>

</body>

</html>

</body>

</html>

Sieht aus wie die index.php. Was ja auch oben steht. Was mache ich bzw habe ich falsch gemacht.

F?r Hilfe w?re ich dankbar.

MfG

Marc

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...