Hola ledesma, ¿el código que has puesto es todo el código que hay en el archivo conexionlicale.php?
¿puedes poner el código que tienes en el archivo index.php para echarle un vistazo? (Si es largo ponlo usando el botón # del editor del foro, o bien como archivo adjunto)
Hola Alex (el buen samaritano)

, gracias por ser tan buena onda loko

-voy a separar por secciones para que se pueda entender mejor alex.
-en el include slider.php y publicidades.php puse en asteriscos donde pienso que esta el error "*"
**************Index.php****************************
En el Index.php no tengo ningún código explicito que corresponda a la conexión con la base de datos, solo tiene includes, y esos includes si tienen la conexión con la base de datos
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/plantillabase.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Documento sin título</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="css/estiloprincipal.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/menu.css" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Milonga&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<?php include("includes/google.php"); ?>
</head>
<body>
<div class="container">
<div class="header"><!-- InstanceBeginEditable name="partesuperior" -->
<?php include("includes/cabecera2.php"); ?>
<?php include("includes/cabecera.php"); ?>
<?php include("includes/menu.php"); ?>
<?php include("includes/slider.php"); ?>
<div class="clearfloat"></div>
<?php include("includes/publicidades.php"); ?>
<!-- InstanceEndEditable --></div>
<div class="sidebar1">
<!-- InstanceBeginEditable name="parteizq" -->
<h1>Cómo somos como empresa?</h1>
<p> Somos una empresa seria, cumplimos con la parametros estadares del mercado laboral, nuestra aspiración es satisfacer al cliete. Tratamos de avanzar constantemente para ofrecer lo mas novedoso posible. </p>
<p>Si desea una fiesta con motivos diferentas a las cuales se encuentran en nuestras fotografias siempre estamos abiertos a ampliar nuestros trabajos, así como ideas que udted quisiese implementar. </p>
<!-- InstanceEndEditable --><!-- end .sidebar1 --></div>
<div class="content"><!-- InstanceBeginEditable name="partedere" -->
<?php include("includes/like.php"); ?>
<!-- InstanceEndEditable --><!-- end .content --></div>
<div class="footer">
<?php include("includes/pie.php"); ?>
</div>
<!-- end .container --></div>
</body>
<!-- InstanceEnd --></html>
********************includes/slider.php*****************************
en este include existe una conexión
<?php require_once('Connections/conexionlicale.php'); ?>
<?phpif (!function_exists("GetSQLValueString")) {function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue;}}$maxRows_DatosSlider = 4; ****creo que el error*****$pageNum_DatosSlider = 0; *****esta aca**********if (isset($_GET['pageNum_DatosSlider'])) { $pageNum_DatosSlider = $_GET['pageNum_DatosSlider'];}$startRow_DatosSlider = $pageNum_DatosSlider * $maxRows_DatosSlider;mysql_select_db($database_conexionlicale, $conexionlicale);$query_DatosSlider = "SELECT * FROM tablaslider WHERE tablaslider.intEstado = 1 ORDER BY tablaslider.intOrden ASC";$query_limit_DatosSlider = sprintf("%s LIMIT %d, %d", $query_DatosSlider, $startRow_DatosSlider, $maxRows_DatosSlider);$DatosSlider = mysql_query($query_limit_DatosSlider, $conexionlicale) or die(mysql_error());$row_DatosSlider = mysql_fetch_assoc($DatosSlider);if (isset($_GET['totalRows_DatosSlider'])) { $totalRows_DatosSlider = $_GET['totalRows_DatosSlider'];} else { $all_DatosSlider = mysql_query($query_DatosSlider); $totalRows_DatosSlider = mysql_num_rows($all_DatosSlider);}$totalPages_DatosSlider = ceil($totalRows_DatosSlider/$maxRows_DatosSlider)-1;?>
<link rel="stylesheet" type="text/css" href="css/slider-stilo.css" />
<style type="text/css" >
#featured .ui-tabs-panel .info{
display:none;
}
</style>
<script type="text/javascript" src="js/jquery-1.3.2.min.js" ></script>
<script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js" ></script>
<script type="text/javascript">
$(document).ready(function(){
$("#featured").tabs({fx:[{opacity: "toggle", duration: 'slow'}, {opacity: "toggle", duration: 'normal'}],
show: function(event, ui){
$('#featured .ui-tabs-panel .info').hide();
var infoheight=$('.info', ui.panel).height();
$('.info', ui.panel).css('height', '0px').animate({ 'height': infoheight }, 500);
}
}).tabs("rotate", 9000, true);
$('#featured').hover(
function(){ $('#featured').tabs('rotate', 0, true); },
function(){ $('#featured').tabs('rotate', 9000, true); }
);
$('#featured .ui-tabs-panel a.hideshow').click(function(){
if($(this).text()=='Hide'){
$(this).parent('.info').animate({ 'height': '0px' }, 500);
$(this).text('Show');
}
else{
$(this).parent('.info').animate({ 'height': '70px' }, 500);
$(this).text('Hide');
}
return false;
});
});
</script>
<div id="featured" >
<ul class="ui-tabs-nav">
<?php $contador=1; ?>
<?php do { ?>
<li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-<?php echo $contador; ?>
"><a href="#fragment-<?php echo $contador; ?>
"><img src="images/imgslider/<?php echo $row_DatosSlider['strimagenpequena']; ?>
" alt="" /><span><?php echo $row_DatosSlider['strmenu']; ?>
</span></a></li>
<?php $contador++; } while ($row_DatosSlider = mysql_fetch_assoc($DatosSlider)); ?>
</ul>
<?php mysql_data_seek($DatosSlider,0);$row_DatosSlider = mysql_fetch_assoc($DatosSlider);?>
<!-- First Content -->
<?php $contador=1; ?>
<?php do { ?>
<div id="fragment-<?php echo $contador; ?>
" class="ui-tabs-panel" style="">
<img src="images/imgslider/<?php echo $row_DatosSlider['strimagengrande']; ?>
" alt="" />
<div class="info" >
<a class="hideshow" href="<?php echo $row_DatosSlider['strlink']; ?>
" ></a>
<h2><a href="#" ><?php echo $row_DatosSlider['strtitulo']; ?>
</a></h2>
<p><?php echo $row_DatosSlider['strsubtitulo']; ?>
<a href="<?php echo $row_DatosSlider['strlink']; ?>
" >Leer más</a></p>
</div>
</div>
<?php $contador++; } while ($row_DatosSlider = mysql_fetch_assoc($DatosSlider)); ?>
</div>
<?phpmysql_free_result($DatosSlider);?>
************************includes/publicidades.php*******************
En este también existe una conexión con la base de datos
<?php require_once('Connections/conexionlicale.php'); ?>
<?phpif (!function_exists("GetSQLValueString")) {function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue;}}$maxRows_datoscuadros = 4; ***creo que el error*****$pageNum_datoscuadros = 0; ***esta aca*********if (isset($_GET['pageNum_datoscuadros'])) { $pageNum_datoscuadros = $_GET['pageNum_datoscuadros'];}$startRow_datoscuadros = $pageNum_datoscuadros * $maxRows_datoscuadros;mysql_select_db($database_conexionlicale, $conexionlicale);$query_datoscuadros = "SELECT * FROM tablacuadros ORDER BY intOrden ASC";$query_limit_datoscuadros = sprintf("%s LIMIT %d, %d", $query_datoscuadros, $startRow_datoscuadros, $maxRows_datoscuadros);$datoscuadros = mysql_query($query_limit_datoscuadros, $conexionlicale) or die(mysql_error());$row_datoscuadros = mysql_fetch_assoc($datoscuadros);if (isset($_GET['totalRows_datoscuadros'])) { $totalRows_datoscuadros = $_GET['totalRows_datoscuadros'];} else { $all_datoscuadros = mysql_query($query_datoscuadros); $totalRows_datoscuadros = mysql_num_rows($all_datoscuadros);}$totalPages_datoscuadros = ceil($totalRows_datoscuadros/$maxRows_datoscuadros)-1;?>
<div class="gralpublicidades">
<?php $contador=1; ?>
<?php do { ?>
<div class="publi1" id="publi-<?php echo $contador; ?>
">
<div class="titulopubli"><h1><?php echo $row_datoscuadros['strTitulo']; ?>
</h1></div>
<div class="subtitulopubli"><?php echo $row_datoscuadros['strParrafo']; ?>
</div>
<a class="button" href="<?php echo $row_datoscuadros['strLink']; ?>
";><span>ver más</span></a>
</div>
<?php $contador++; } while ($row_datoscuadros = mysql_fetch_assoc($datoscuadros)); ?>
</div>
<?phpmysql_free_result($datoscuadros);?>
******************* conexión con la base de datos*******************
<?php# FileName="Connection_php_mysql.htm"# Type="MYSQL"# HTTP="true"$hostname_conexionlicale = "mysql.hostinger.mx";$database_conexionlicale = "u149747847_lical";$username_conexionlicale = "u149747847_jose";$password_conexionlicale = "contraseña";esta es la linea que lanza el error------>$conexionlicale = mysql_pconnect($hostname_conexionlicale, $username_conexionlicale, $password_conexionlicale) or trigger_error(mysql_error(),E_USER_ERROR); ?>
gracias de vuelta por tomarte la molestia de leer esto!!!!
