Setup.php wont start

So i downloaded the latest version of Zenphoto and uploaded it into a new webspace with mysql etc. enabled.
But when i tried to start setup.php i just got this

<?php
if (is_dir(dirname(__FILE__).'/setup')) {
header('Location: setup/index.php');
} else {
require_once(dirname(__FILE__).'/version.php');
header('Last-Modified: ' . ZP_LAST_MODIFIED);
header('Content-Type: text/html; charset=' . LOCAL_CHARSET);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="<?php echo WEBPATH.'/'.ZENFOLDER; ?>/admin.css" type="text/css" />
<?php reconfigureCS(); ?>
</head>
<body>
<div id="main">
<div id="content">
<div class="tabbox">
<p>
<?php printf(gettext('Please reinstall the setup files from the %1$s [%2$s] release:'),ZENPHOTO_VERSION,ZENPHOTO_RELEASE); ?>
</p>
</div>
</div>
</div>
</body>
</html>
<?php
}
?>

if you need phpinfo please tell me where to find it (D: Sry im totally new to this :)

Comments

  • acrylian Administrator, Developer
    So you openend `http://yourdomain.com/zp-core/setup.php` and got the display of the code as text? That could mean your server is not supporting PHP or it is not configured correctly. Best you contact your host about that.
  • somehow i doubt that it doesnt support php because i have installed wbb3.1.x on another account on the same webspace provider. i will check it anyway just to make sure
  • acrylian Administrator, Developer
    It sounds pretty weird indeed but that is the only thing that comes to mind if you get php code as text.
Sign In or Register to comment.