andrzejch
04-02-2007, 03:20
Witam,
Po instalacji, zoom galery Version: 2.5 Beta2, usunięciu kilku popularnych błędów, natknąłem się na błąd pojawiający się w oknie popup po kliknięcu na miniaturę zdjęcia:
Fatal error: Cannot redeclare class database in /home/.../public_html/Serwis/includes/database.php on line 23
fragment pliku database.php
linia 23: class database {
/** @var string Internal variable to hold the query sql */
var $_sql = '';
(
............
)
function database( $host='localhost', $user, $pass, $db='', $table_prefix='', $goOffline=true ) {
// perform a number of fatality checks, then die gracefully
if (!function_exists( 'mysql_connect' )) {
$mosSystemError = 1;
if ($goOffline) {
$basePath = dirname( __FILE__ );
include $basePath . '/../configuration.php';
include $basePath . '/../offline.php';
exit();
}
}
..........
Joomla! 1.0.12 PL
Proszę o pomoc.
Andrzej
Po instalacji, zoom galery Version: 2.5 Beta2, usunięciu kilku popularnych błędów, natknąłem się na błąd pojawiający się w oknie popup po kliknięcu na miniaturę zdjęcia:
Fatal error: Cannot redeclare class database in /home/.../public_html/Serwis/includes/database.php on line 23
fragment pliku database.php
linia 23: class database {
/** @var string Internal variable to hold the query sql */
var $_sql = '';
(
............
)
function database( $host='localhost', $user, $pass, $db='', $table_prefix='', $goOffline=true ) {
// perform a number of fatality checks, then die gracefully
if (!function_exists( 'mysql_connect' )) {
$mosSystemError = 1;
if ($goOffline) {
$basePath = dirname( __FILE__ );
include $basePath . '/../configuration.php';
include $basePath . '/../offline.php';
exit();
}
}
..........
Joomla! 1.0.12 PL
Proszę o pomoc.
Andrzej