Witam dostałem takie komunikaty a wszystko zrobiłem poprawnie.
Use of undefined
constant DB_POKAZ_ZDJEC
- assumed
'DB_POKAZ_ZDJEC' Linia
: 50 lipiec 23 2019 12
:26
:54
slider/infusion.php
Use of undefined
constant DB_POKAZ_ZDJEC
- assumed
'DB_POKAZ_ZDJEC' Linia
: 52 lipiec 23 2019 12
:26
:54
slider/infusion.php
include(../infusions
/slider
/infusion_db
.php
): failed to open stream
: No such
file or directory Linia
: 21 lipiec 23 2019 12
:26
:54
slider/infusion.php
Use of undefined
constant DB_POKAZ_ZDJEC
- assumed
'DB_POKAZ_ZDJEC' Linia
: 43
a tak wygląda plikinfusion.php
if (!defined("IN_FUSION")) { die("Access Denied"); }
include INFUSIONS."slider/infusion_db.php";
// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS
."slider/locale/".$settings['locale'].".php")) { // Load the locale file matching the current site locale setting.
include INFUSIONS."slider/locale/".$settings['locale'].".php";
} else {
// Load the infusion's default locale file.
include INFUSIONS."slider/locale/English.php";
}
// Infusion general information
$inf_title = $locale['001_nazwa'];
$inf_description = $locale['002_opis'];
$inf_version = "1.0";
$inf_developer = "E-comp";
$inf_email = "programista@twoj-host.pl";
$inf_weburl = "http://e-comp.net.pl";
$inf_folder = "slider";
$inf_image = "slider.svg";
// Delete any items not required below.
$inf_newtable[1] = DB_POKAZ_ZDJEC." (
slide_setting_id smallint(6) NOT NULL,
slide_setting_wlacz_slide tinyint(4) NOT NULL DEFAULT 0,
slide_setting_obrazek_tlo varchar(250) NOT NULL,
slide_setting_version varchar(250) NOT NULL DEFAULT '1.0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1";
$inf_insertdbrow[1] = DB_POKAZ_ZDJEC."(slide_setting_wlacz_slide, slide_setting_obrazek_tlo, slide_setting_version ) VALUES (1, '', '1.0')";
$inf_droptable[1] = DB_POKAZ_ZDJEC;
$inf_adminpanel[1
] = array( "title" => $locale['020_admin'],
"image" => "../../infusions/slider/slider.svg",
"panel" => "slider_admin.php",
"rights" => "SLI"
);
a tak wygląda plik infusdion_db.php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("DB_POKAZ_ZDJEC", DB_PREFIX
."pokaz zdjec_setting"); }
Co jest nie tak w pliku (IMG:
style_emoticons/default/questionmark.gif)
Ten post edytował pawel06281990 23.07.2019, 12:47:25