Installation auf localhost
Verfasst: Mo 11. Nov 2013, 11:06
Hallöchen,
so, beginne gerade mal auf localhost, den WebsShop Testweise zu installieren, dabei kommt eine Fehlermeldung: ( meine PHP Version 5.4.7 auf localhost )
bei dieser Seite:
localhost/basteldehs-onlineshop/shop_installer/install_step3.php
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\basteldehs-onlineshop\includes\classes\mysql.php on line 92
nun habe ich mir mal die Datei angeschaut ( mysql.php )
im Konstruktor der Funktion __construct sieht das nicht ganz richtig aus ( rot markiert ) oder? da ist ein & zeichen vor der Variable $this und beim return ist die Variable $link mit zwei Dollarzeichen
public function __construct($server, $username, $password=NULL, $database=NULL, $link='db_link') {
if (USE_PCONNECT == 'true') {
$this->link = @mysql_pconnect($server, $username, $password) or die('can not connect to Database!');
} else {
$this->link = @mysql_connect($server, $username, $password) or die('can not connect to Database!');
}
if ($this->link and isset($database)) {
$this->selectDb($database);
}
// for compatibility
$GLOBALS[$link] = &$this->link;
// well, we think we use utf8
$this->setCharset('utf8');
return $$link;
}
und in zeile 215 ist auch nochmal sowas mit dem & zeichen
function xtc_db_fetch_array(&$db_query, $cq = false) {
global $database;
.
.
.
oder hat dies mit meiner PHP Version zu tun?
Danke und grüssle basteldehs
so, beginne gerade mal auf localhost, den WebsShop Testweise zu installieren, dabei kommt eine Fehlermeldung: ( meine PHP Version 5.4.7 auf localhost )
bei dieser Seite:
localhost/basteldehs-onlineshop/shop_installer/install_step3.php
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\basteldehs-onlineshop\includes\classes\mysql.php on line 92
nun habe ich mir mal die Datei angeschaut ( mysql.php )
im Konstruktor der Funktion __construct sieht das nicht ganz richtig aus ( rot markiert ) oder? da ist ein & zeichen vor der Variable $this und beim return ist die Variable $link mit zwei Dollarzeichen
public function __construct($server, $username, $password=NULL, $database=NULL, $link='db_link') {
if (USE_PCONNECT == 'true') {
$this->link = @mysql_pconnect($server, $username, $password) or die('can not connect to Database!');
} else {
$this->link = @mysql_connect($server, $username, $password) or die('can not connect to Database!');
}
if ($this->link and isset($database)) {
$this->selectDb($database);
}
// for compatibility
$GLOBALS[$link] = &$this->link;
// well, we think we use utf8
$this->setCharset('utf8');
return $$link;
}
und in zeile 215 ist auch nochmal sowas mit dem & zeichen
function xtc_db_fetch_array(&$db_query, $cq = false) {
global $database;
.
.
.
oder hat dies mit meiner PHP Version zu tun?
Danke und grüssle basteldehs