Witam
Instaluje pierwszy raz w życiu Presto doszedłem do punktu 7 gdzie mam wejść na stronę:
http://www.mojastrona.pl/prestashop/install).
Oczywiście /install do swojej domeny i otrzymałem taki oto błąd:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/d4b/domains/mojastrona.pl/public_html/install/classes/ToolsInstall.php on line 4
<?php
class ToolsInstall
{
public static function checkDB ($srv, $login, $password, $name, $posted = true)
{
include_once(INSTALL_PATH.'/../classes/Validate.php');
include_once(INSTALL_PATH.'/../classes/Db.php');
include_once(INSTALL_PATH.'/../classes/MySQL.php');
if($posted)
{
// Check POST data...
$data_check = array(
!isset($_GET['server']) OR empty($_GET['server']),
!Validate::isMailName($_GET['server']),
!isset($_GET['type']) OR empty($_GET['type']),
!Validate::isMailName($_GET['type']),
!isset($_GET['name']) OR empty($_GET['name']),
!Validate::isMailName($_GET['name']),
!isset($_GET['login']) OR empty($_GET['login']),
!Validate::isMailName($_GET['login']),
!isset($_GET['password'])
);
foreach ($data_check AS $data)
if ($data)
return 8;
}
Pozdrawiam
damian