|
You last visited: Today at 22:35
Advertisement
(HELP) No database connection (WEBSITE)
Discussion on (HELP) No database connection (WEBSITE) within the Flyff Private Server forum part of the Flyff category.
03/24/2020, 01:58
|
#1
|
elite*gold: 0
Join Date: Jan 2012
Posts: 34
Received Thanks: 0
|
(HELP) No database connection (WEBSITE)
**Title: Error SITE**
** edit**
Arcana Flyff Files and Website
index.php
Code:
<?php
session_start();
define('access', true);
require_once('includes/xinc_config.php');
require_once('includes/xinc_lang.php');
require_once('includes/xinc_functions.php');
require_once('includes/xinc_detection.php');
require_once('includes/xinc_login.php');
?>
<!DOCTYPE html>
<html lang="de-de">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="author" content="xBlubbs" />
<meta name="publisher" content="" />
<meta name="robots" content="index, follow"/>
<meta name="keywords" content="<?php echo $_CONFIG['web_seo_tags'];?>"/>
<meta name="description" content="<?php echo $_CONFIG['web_seo_desc'];?>"/>
<title><?php echo $_CONFIG['allg_svr_name'];?> » <?php echo $_CONFIG['allg_svr_desc'];?></title>
<link rel="canonical" href="http://<?php echo $_CONFIG['allg_svr_domain'];?>" />
<link rel="shortcut icon" href="https://www.elitepvpers.com/forum/images/icons/misc/Icon.png" type="image/png" />
<link rel="stylesheet" type="text/css" href="styles/reset.css" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Archivo+Narrow:400,400italic,700,700italic" />
<link rel="stylesheet" type="text/css" href="styles/style.css" />
<link rel="stylesheet" type="text/css" href="styles/additional.css" />
<link rel="stylesheet" type="text/css" href="styles/lightbox.css" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/functions.js"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<?php
if($_CONFIG['web_slider_enabled'] AND ($_CONFIG['web_slider_sites'] == 'all' OR in_array($_GET['site'], $_CONFIG['web_slider_sites']))) {
echo '
<link rel="stylesheet" type="text/css" href="styles/slider.css" />
<script type="text/javascript" src="js/jcarousellite_1.0.1c5.js"></script>
<script type="text/javascript">
jQuery(function() {
jQuery(".slider").jCarouselLite({
vertical: false,
hoverPause: true,
btnPrev: ".previousImage",
btnNext: ".nextImage",
visible: 1,
start: 0,
scroll: 1,
circular: true,
auto: 2500,
speed: 200,
btnGo: [".1", ".2"],
afterEnd: function(a, to, btnGo) {
if(btnGo.length <= to){to = 0;}
jQuery(".thumbActive").removeClass("thumbActive");
jQuery(btnGo[to]).addClass("thumbActive");
}
});
});
</script>';
}
if(empty($_GET['site']) OR $_GET['site'] == 'news') {
echo '
<script type="text/javascript" src="js/news_1.0.1c5.js"></script>
<script type="text/javascript">
ddaccordion.init({
headerclass: "newsTitle", //Shared CSS class name of headers group
contentclass: "newsContent", //Shared CSS class name of contents group
revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover"
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content.
onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
animatedefault: false, //Should contents open by default be animated into view?
persiststate: false, //persist state of opened contents within browser session?
toggleclass: ["", "newsOpened"], //Two CSS classes to be applied to the header when its collapsed and expanded, respectively ["class1", "class2"]
togglehtml: ["none", "", ""], //Additional HTML added to the header when its collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)
animatespeed: "slow", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(expandedindices){ //custom code to run when headers have initalized
//do nothing
},
onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
//do nothing
}
});
</script>
</head>
<body>';
}
elseif($_GET['site'] == 'shop') {
echo '<script type="text/javascript" src="js/shop.js"></script>';
}
else {
echo '
</head>
<body>';
}
if(0 == odbc_result(odbc_exec($odbc_connect, '
DECLARE [MENTION=3807069]ReTuRn_[/MENTION]value int
EXEC [MENTION=3807069]ReTuRn_[/MENTION]value = ' . $_CONFIG['db_databases']['web'] . '.[dbo].[checkDatabaseConnection]
SELECT \'Return\' = [MENTION=3807069]ReTuRn_[/MENTION]value
'), 'Return')) {
echo createMessage($_LANG['no_database_connection'] ,'hint' ,'margin: 10px; float: left; position: absolute; z-index: 9999;');
}
?>
<div class="website">
<div class="page">
<?php require_once('includes/site_navigation.phtml'); ?>
<div class="header">
</div>
<div class="pageContainer">
<div class="contents">
<div class="col">
<div class="boxContainer">
<?php require_once('includes/site_boxes.phtml'); ?>
</div>
<div class="socialNetworks">
<?php
if(!empty($_CONFIG['web_footer_networks']['facebook'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['facebook'] . '" title="Facebook" class="fb" target="_blank"></a>';
}
if(!empty($_CONFIG['web_footer_networks']['twitter'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['twitter'] . '" title="Twitter" class="tw" target="_blank"></a>';
}
if(!empty($_CONFIG['web_footer_networks']['youtube'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['youtube'] . '" title="YouTube" class="yt" target="_blank"></a>';
}
if(!empty($_CONFIG['web_footer_networks']['rss'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['rss'] . '" title="RSS-Feed" class="rs" target="_blank"></a>';
}
?>
<div class="clear"></div>
</div>
</div>
<?php
if($_CONFIG['web_slider_enabled'] AND ($_CONFIG['web_slider_sites'] == 'all' OR in_array($_GET['site'], $_CONFIG['web_slider_sites']))) {
require_once('includes/site_slider.phtml');
}
?>
<div class="main-col">
<div class="contentContainer">
<div class="content">
<?php
if(!$_CONFIG['web_maintenance_enabled'] OR ($_CONFIG['web_maintenance_enabled'] AND in_array($_SESSION['user'], $_CONFIG['allg_svr_admins']))) {
if(!empty($_GET['site'])) {
$_GET['site'] = preg_replace('/[^A-Za-z0-9]/', '', $_GET['site']);
if(in_array($_GET['site'], $_CONFIG['web_allowed_sites']) AND file_exists('sites/' . $_GET['site'] . '.php') OR in_array($_SESSION['user'], $_CONFIG['allg_svr_admins'])) {
require_once('sites/' . $_GET['site'] . '.php');
}
else {require_once('sites/fehlerseite.php');}
} else {require_once('sites/news.php');}
} else {
echo '<p class="page_title">' . $_LANG['maintenance_title'] . '</p>';
echo createMessage($_LANG['notify_maintenance'] , 'hint');
}
?>
</div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<?php require_once('includes/site_footer.phtml'); ?>
</body>
</html>
help pls
|
|
|
03/24/2020, 06:07
|
#2
|
elite*gold: 0
Join Date: Feb 2020
Posts: 64
Received Thanks: 23
|
Quote:
Originally Posted by brunoi123
**Title: Error SITE**
** edit**
Arcana Flyff Files and Website
index.php
Code:
<?php
session_start();
define('access', true);
require_once('includes/xinc_config.php');
require_once('includes/xinc_lang.php');
require_once('includes/xinc_functions.php');
require_once('includes/xinc_detection.php');
require_once('includes/xinc_login.php');
?>
<!DOCTYPE html>
<html lang="de-de">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="author" content="xBlubbs" />
<meta name="publisher" content="" />
<meta name="robots" content="index, follow"/>
<meta name="keywords" content="<?php echo $_CONFIG['web_seo_tags'];?>"/>
<meta name="description" content="<?php echo $_CONFIG['web_seo_desc'];?>"/>
<title><?php echo $_CONFIG['allg_svr_name'];?> » <?php echo $_CONFIG['allg_svr_desc'];?></title>
<link rel="canonical" href="http://<?php echo $_CONFIG['allg_svr_domain'];?>" />
<link rel="shortcut icon" href="https://www.elitepvpers.com/forum/images/icons/misc/Icon.png" type="image/png" />
<link rel="stylesheet" type="text/css" href="styles/reset.css" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Archivo+Narrow:400,400italic,700,700italic" />
<link rel="stylesheet" type="text/css" href="styles/style.css" />
<link rel="stylesheet" type="text/css" href="styles/additional.css" />
<link rel="stylesheet" type="text/css" href="styles/lightbox.css" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/functions.js"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<?php
if($_CONFIG['web_slider_enabled'] AND ($_CONFIG['web_slider_sites'] == 'all' OR in_array($_GET['site'], $_CONFIG['web_slider_sites']))) {
echo '
<link rel="stylesheet" type="text/css" href="styles/slider.css" />
<script type="text/javascript" src="js/jcarousellite_1.0.1c5.js"></script>
<script type="text/javascript">
jQuery(function() {
jQuery(".slider").jCarouselLite({
vertical: false,
hoverPause: true,
btnPrev: ".previousImage",
btnNext: ".nextImage",
visible: 1,
start: 0,
scroll: 1,
circular: true,
auto: 2500,
speed: 200,
btnGo: [".1", ".2"],
afterEnd: function(a, to, btnGo) {
if(btnGo.length <= to){to = 0;}
jQuery(".thumbActive").removeClass("thumbActive");
jQuery(btnGo[to]).addClass("thumbActive");
}
});
});
</script>';
}
if(empty($_GET['site']) OR $_GET['site'] == 'news') {
echo '
<script type="text/javascript" src="js/news_1.0.1c5.js"></script>
<script type="text/javascript">
ddaccordion.init({
headerclass: "newsTitle", //Shared CSS class name of headers group
contentclass: "newsContent", //Shared CSS class name of contents group
revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover"
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content.
onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
animatedefault: false, //Should contents open by default be animated into view?
persiststate: false, //persist state of opened contents within browser session?
toggleclass: ["", "newsOpened"], //Two CSS classes to be applied to the header when its collapsed and expanded, respectively ["class1", "class2"]
togglehtml: ["none", "", ""], //Additional HTML added to the header when its collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)
animatespeed: "slow", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(expandedindices){ //custom code to run when headers have initalized
//do nothing
},
onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
//do nothing
}
});
</script>
</head>
<body>';
}
elseif($_GET['site'] == 'shop') {
echo '<script type="text/javascript" src="js/shop.js"></script>';
}
else {
echo '
</head>
<body>';
}
if(0 == odbc_result(odbc_exec($odbc_connect, '
DECLARE [MENTION=3807069]ReTuRn_[/MENTION]value int
EXEC [MENTION=3807069]ReTuRn_[/MENTION]value = ' . $_CONFIG['db_databases']['web'] . '.[dbo].[checkDatabaseConnection]
SELECT \'Return\' = [MENTION=3807069]ReTuRn_[/MENTION]value
'), 'Return')) {
echo createMessage($_LANG['no_database_connection'] ,'hint' ,'margin: 10px; float: left; position: absolute; z-index: 9999;');
}
?>
<div class="website">
<div class="page">
<?php require_once('includes/site_navigation.phtml'); ?>
<div class="header">
</div>
<div class="pageContainer">
<div class="contents">
<div class="col">
<div class="boxContainer">
<?php require_once('includes/site_boxes.phtml'); ?>
</div>
<div class="socialNetworks">
<?php
if(!empty($_CONFIG['web_footer_networks']['facebook'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['facebook'] . '" title="Facebook" class="fb" target="_blank"></a>';
}
if(!empty($_CONFIG['web_footer_networks']['twitter'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['twitter'] . '" title="Twitter" class="tw" target="_blank"></a>';
}
if(!empty($_CONFIG['web_footer_networks']['youtube'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['youtube'] . '" title="YouTube" class="yt" target="_blank"></a>';
}
if(!empty($_CONFIG['web_footer_networks']['rss'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['rss'] . '" title="RSS-Feed" class="rs" target="_blank"></a>';
}
?>
<div class="clear"></div>
</div>
</div>
<?php
if($_CONFIG['web_slider_enabled'] AND ($_CONFIG['web_slider_sites'] == 'all' OR in_array($_GET['site'], $_CONFIG['web_slider_sites']))) {
require_once('includes/site_slider.phtml');
}
?>
<div class="main-col">
<div class="contentContainer">
<div class="content">
<?php
if(!$_CONFIG['web_maintenance_enabled'] OR ($_CONFIG['web_maintenance_enabled'] AND in_array($_SESSION['user'], $_CONFIG['allg_svr_admins']))) {
if(!empty($_GET['site'])) {
$_GET['site'] = preg_replace('/[^A-Za-z0-9]/', '', $_GET['site']);
if(in_array($_GET['site'], $_CONFIG['web_allowed_sites']) AND file_exists('sites/' . $_GET['site'] . '.php') OR in_array($_SESSION['user'], $_CONFIG['allg_svr_admins'])) {
require_once('sites/' . $_GET['site'] . '.php');
}
else {require_once('sites/fehlerseite.php');}
} else {require_once('sites/news.php');}
} else {
echo '<p class="page_title">' . $_LANG['maintenance_title'] . '</p>';
echo createMessage($_LANG['notify_maintenance'] , 'hint');
}
?>
</div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<?php require_once('includes/site_footer.phtml'); ?>
</body>
</html>
help pls
|
TRY THIS
USE [WEBSITE_DBF]
GO
/****** Object: StoredProcedure [dbo].[checkDatabaseConnection] Script Date: 08/22/2013 12:03:32 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[checkDatabaseConnection]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[checkDatabaseConnection]
GO
USE [WEBSITE_DBF]
GO
/****** Object: StoredProcedure [dbo].[checkDatabaseConnection] Script Date: 08/22/2013 12:03:32 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date,,>
-- Description: <Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[checkDatabaseConnection]
AS
BEGIN
SET NOCOUNT ON;
IF (EXISTS(SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'web_news'))
BEGIN
RETURN 1
END
ELSE
RETURN 0
END
GO
|
|
|
03/26/2020, 02:41
|
#3
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
its in function.php
Quote:
Originally Posted by brunoi123
**Title: Error SITE**
** edit**
Arcana Flyff Files and Website
index.php
Code:
<?php
session_start();
define('access', true);
require_once('includes/xinc_config.php');
require_once('includes/xinc_lang.php');
require_once('includes/xinc_functions.php');
require_once('includes/xinc_detection.php');
require_once('includes/xinc_login.php');
?>
<!DOCTYPE html>
<html lang="de-de">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="author" content="xBlubbs" />
<meta name="publisher" content="" />
<meta name="robots" content="index, follow"/>
<meta name="keywords" content="<?php echo $_CONFIG['web_seo_tags'];?>"/>
<meta name="description" content="<?php echo $_CONFIG['web_seo_desc'];?>"/>
<title><?php echo $_CONFIG['allg_svr_name'];?> » <?php echo $_CONFIG['allg_svr_desc'];?></title>
<link rel="canonical" href="http://<?php echo $_CONFIG['allg_svr_domain'];?>" />
<link rel="shortcut icon" href="https://www.elitepvpers.com/forum/images/icons/misc/Icon.png" type="image/png" />
<link rel="stylesheet" type="text/css" href="styles/reset.css" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Archivo+Narrow:400,400italic,700,700italic" />
<link rel="stylesheet" type="text/css" href="styles/style.css" />
<link rel="stylesheet" type="text/css" href="styles/additional.css" />
<link rel="stylesheet" type="text/css" href="styles/lightbox.css" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/functions.js"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<?php
if($_CONFIG['web_slider_enabled'] AND ($_CONFIG['web_slider_sites'] == 'all' OR in_array($_GET['site'], $_CONFIG['web_slider_sites']))) {
echo '
<link rel="stylesheet" type="text/css" href="styles/slider.css" />
<script type="text/javascript" src="js/jcarousellite_1.0.1c5.js"></script>
<script type="text/javascript">
jQuery(function() {
jQuery(".slider").jCarouselLite({
vertical: false,
hoverPause: true,
btnPrev: ".previousImage",
btnNext: ".nextImage",
visible: 1,
start: 0,
scroll: 1,
circular: true,
auto: 2500,
speed: 200,
btnGo: [".1", ".2"],
afterEnd: function(a, to, btnGo) {
if(btnGo.length <= to){to = 0;}
jQuery(".thumbActive").removeClass("thumbActive");
jQuery(btnGo[to]).addClass("thumbActive");
}
});
});
</script>';
}
if(empty($_GET['site']) OR $_GET['site'] == 'news') {
echo '
<script type="text/javascript" src="js/news_1.0.1c5.js"></script>
<script type="text/javascript">
ddaccordion.init({
headerclass: "newsTitle", //Shared CSS class name of headers group
contentclass: "newsContent", //Shared CSS class name of contents group
revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover"
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content.
onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
animatedefault: false, //Should contents open by default be animated into view?
persiststate: false, //persist state of opened contents within browser session?
toggleclass: ["", "newsOpened"], //Two CSS classes to be applied to the header when its collapsed and expanded, respectively ["class1", "class2"]
togglehtml: ["none", "", ""], //Additional HTML added to the header when its collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)
animatespeed: "slow", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(expandedindices){ //custom code to run when headers have initalized
//do nothing
},
onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
//do nothing
}
});
</script>
</head>
<body>';
}
elseif($_GET['site'] == 'shop') {
echo '<script type="text/javascript" src="js/shop.js"></script>';
}
else {
echo '
</head>
<body>';
}
if(0 == odbc_result(odbc_exec($odbc_connect, '
DECLARE [MENTION=3807069]ReTuRn_[/MENTION]value int
EXEC [MENTION=3807069]ReTuRn_[/MENTION]value = ' . $_CONFIG['db_databases']['web'] . '.[dbo].[checkDatabaseConnection]
SELECT \'Return\' = [MENTION=3807069]ReTuRn_[/MENTION]value
'), 'Return')) {
echo createMessage($_LANG['no_database_connection'] ,'hint' ,'margin: 10px; float: left; position: absolute; z-index: 9999;');
}
?>
<div class="website">
<div class="page">
<?php require_once('includes/site_navigation.phtml'); ?>
<div class="header">
</div>
<div class="pageContainer">
<div class="contents">
<div class="col">
<div class="boxContainer">
<?php require_once('includes/site_boxes.phtml'); ?>
</div>
<div class="socialNetworks">
<?php
if(!empty($_CONFIG['web_footer_networks']['facebook'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['facebook'] . '" title="Facebook" class="fb" target="_blank"></a>';
}
if(!empty($_CONFIG['web_footer_networks']['twitter'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['twitter'] . '" title="Twitter" class="tw" target="_blank"></a>';
}
if(!empty($_CONFIG['web_footer_networks']['youtube'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['youtube'] . '" title="YouTube" class="yt" target="_blank"></a>';
}
if(!empty($_CONFIG['web_footer_networks']['rss'])) {
echo '<a href="' . $_CONFIG['web_footer_networks']['rss'] . '" title="RSS-Feed" class="rs" target="_blank"></a>';
}
?>
<div class="clear"></div>
</div>
</div>
<?php
if($_CONFIG['web_slider_enabled'] AND ($_CONFIG['web_slider_sites'] == 'all' OR in_array($_GET['site'], $_CONFIG['web_slider_sites']))) {
require_once('includes/site_slider.phtml');
}
?>
<div class="main-col">
<div class="contentContainer">
<div class="content">
<?php
if(!$_CONFIG['web_maintenance_enabled'] OR ($_CONFIG['web_maintenance_enabled'] AND in_array($_SESSION['user'], $_CONFIG['allg_svr_admins']))) {
if(!empty($_GET['site'])) {
$_GET['site'] = preg_replace('/[^A-Za-z0-9]/', '', $_GET['site']);
if(in_array($_GET['site'], $_CONFIG['web_allowed_sites']) AND file_exists('sites/' . $_GET['site'] . '.php') OR in_array($_SESSION['user'], $_CONFIG['allg_svr_admins'])) {
require_once('sites/' . $_GET['site'] . '.php');
}
else {require_once('sites/fehlerseite.php');}
} else {require_once('sites/news.php');}
} else {
echo '<p class="page_title">' . $_LANG['maintenance_title'] . '</p>';
echo createMessage($_LANG['notify_maintenance'] , 'hint');
}
?>
</div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<?php require_once('includes/site_footer.phtml'); ?>
</body>
</html>
help pls
|
|
|
|
04/08/2020, 01:14
|
#4
|
elite*gold: 0
Join Date: Jan 2012
Posts: 34
Received Thanks: 0
|
Quote:
Originally Posted by Hyellow
TRY THIS
USE [WEBSITE_DBF]
GO
/****** Object: StoredProcedure [dbo].[checkDatabaseConnection] Script Date: 08/22/2013 12:03:32 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[checkDatabaseConnection]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[checkDatabaseConnection]
GO
USE [WEBSITE_DBF]
GO
/****** Object: StoredProcedure [dbo].[checkDatabaseConnection] Script Date: 08/22/2013 12:03:32 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date,,>
-- Description: <Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[checkDatabaseConnection]
AS
BEGIN
SET NOCOUNT ON;
IF (EXISTS(SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'web_news'))
BEGIN
RETURN 1
END
ELSE
RETURN 0
END
GO
|
it didn't work, sorry I'm late.
|
|
|
04/08/2020, 04:52
|
#5
|
elite*gold: 0
Join Date: Feb 2020
Posts: 64
Received Thanks: 23
|
Quote:
Originally Posted by brunoi123
it didn't work, sorry I'm late.
|
Title says that the problem is No Database Connection.
Check functions or xinc_function.php
|
|
|
04/08/2020, 07:20
|
#6
|
elite*gold: 0
Join Date: Mar 2018
Posts: 155
Received Thanks: 54
|
Use a Lower version of xampp (php version to be specific) or upgrade your website codes.
|
|
|
04/08/2020, 18:30
|
#7
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Quote:
Originally Posted by brunoi123
it didn't work, sorry I'm late.
|
go to index.php line 2 just hide the function like this // so this will not read.
|
|
|
04/08/2020, 22:28
|
#8
|
elite*gold: 0
Join Date: Jan 2012
Posts: 34
Received Thanks: 0
|
Quote:
Originally Posted by Ecrypter
go to index.php line 2 just hide the function like this // so this will not read.
|
all the links that I click inside the site it disconnects from my account
|
|
|
04/09/2020, 06:34
|
#9
|
elite*gold: 0
Join Date: Jan 2013
Posts: 24
Received Thanks: 0
|
that is a xampp problem ser.. use lower version of xampp
|
|
|
04/09/2020, 09:12
|
#10
|
elite*gold: 0
Join Date: Mar 2018
Posts: 155
Received Thanks: 54
|
Quote:
Originally Posted by Tweeney
Use a Lower version of xampp (php version to be specific) or upgrade your website codes.
|
......
|
|
|
04/10/2020, 04:43
|
#11
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Quote:
Originally Posted by brunoi123
all the links that I click inside the site it disconnects from my account
|
used mamp server that what i use in my test server.
|
|
|
 |
Similar Threads
|
[HELP] Website (No connection to the Database.)
03/27/2017 - Flyff Private Server - 11 Replies
Hi guys.. I have a problem with my website configuration...
I already edit my xinc_config.
And I am using Plesk Host, I really don't know how I can fix this one.
Everytime I open my website it gives me alot of errors.
I'am 100% sure that the SQL Password "MY SQL PASSWORD" is correct then the "IP ADDRESS,1433" is also 100% correct
http://i.epvpimg.com/LsQMbab.png
|
ERROR: Connection failed. Host 'Mcncc.com' is blocked because of many connection erro
04/10/2010 - Metin2 Private Server - 8 Replies
Hab ein Problem mit meinem DynDns Server nach einiger Zeit kommt bei der DB und Regi immer olgendes "ERROR: Connection failed. Host 'Mcncc.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'" kann mir jemand sagen woran das liegt?
|
CONNECTION REFUSED CONNECTION REFUSED
01/12/2010 - Metin2 Private Server - 4 Replies
ehm leute
also ich hatte mal nen eigenen p server..
und hab den virtuellen pc bei virtual pc aber gelöscht weil ich nen neuen machen will
ich hab die instant files ja mal runtergeladen
|
CONNECTION REFUSED CONNECTION REFUSED
12/28/2009 - Metin2 Private Server - 6 Replies
.... bevor ich anfange.. ja ich hab die sufu benutzt aber das sind nicht genau meine probleme so... dann fang ich mal an
ich hab nen eigenen server .
habe den auf 650 ram eingestellt besitze 827.
ich hatte nicht so coole npcs.
ich habe 2 neue npcs gemacht mit sachen drin.aber ich habs so eingestellt , dass die npcs nicht ingame sofort stehen nach dem reboot,, sondern dass ich die rufen muss erst ...
|
connection: Connection refused
11/21/2009 - Metin2 Private Server - 16 Replies
Hi Leute,
ich wollte meinen server neu starten und dann kam etwas wie das hier.
http://www2.pic-upload.de/thumb/05.10.09/ug5fybhq f9b.jpg
Dann habe ich es neu versucht und dann kamen manchmal Core Fehler!!
Weiß jemand wie man diese Fehler beheben kann?
|
All times are GMT +1. The time now is 22:35.
|
|