Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/06/2011, 15:20
krrt
 
Fecha de Ingreso: diciembre-2007
Mensajes: 11
Antigüedad: 17 años
Puntos: 0
Galeria no carga

hola, me llamos oscar y antes tenia una galeria con php funcionando ok en un dominio, al transladar el dominio, copie todos los datos del hosting pero no se porque no se me ve correctamente. Me aparece la pagina bien pero en la galeria , deberia pillar una gallerya por carpeta y no me muestra ninguna.
Porfavor estoy desesperado.
Os subo mi codigo y adjunto los archivos gracias.
La web es http://buracadasgrellas.es y es en fotografias.
Ya os digo estaba funcionando bien , hasta transladar el dominio a 1and1, subo los archivos adjuntos, en la misma carpeta hay otra que pone gallerys y dentro las galerias. Ayudenme please.

El index es:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<?php


## error reporting ##
error_reporting(E_ALL);

## setting: debug flag ##
//$debug_main_flag = true; // NOT IN USE

## setting: include header/footer ##
## set to TRUE to embed the add_header.php and/or add_footer.php files
$include_header = true;
$include_footer = false;


#### DO NOT CHANGE FROM HERE ####################################
#### UNLESS YOU KNOW WHAT YOU'RE DOING, OF COURSE ###############

## import init file
require_once("libraries/general.bootstrap.php");

## DO NOT REMOVE THIS CODE, PLEASE :) ##
include("config/version.php");
#print("<!-- \n\tminishowcase $version\n\tby victor zambrano\n\thttp://minishowcase.frwrd.net/\n -->\n");
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $locale_string?>" lang="<?php echo $locale_string?>">

<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>::Imaxes de Asoc Xuv Buraca das Grellas - Teixeira::</title>

<!-- START CPAINT:JSRS ( http://cpaint.sourceforge.net/ ) -->
<script type="text/javascript" src="libraries/cpaint2.inc.compressed.js"></script>
<!-- END CPAINT:JSRS -->

<!-- START AJAX SCRIPTS -->
<script src="libraries/script.loader.php?load=init" type="text/javascript"></script>
<script src="libraries/ajax.functions.js" type="text/javascript"></script>
<!-- END AJAX SCRIPTS -->

<?php if($settings['preview_mode'] == 1
&& file_exists("extensions/slimbox/" )) { ?>
<!-- START SLIMBOX -->
<script type="text/javascript" src="extensions/slimbox/js/mootools.r83.js"></script>
<script type="text/javascript" src="extensions/slimbox/js/slimbox.js"></script>

<link rel="stylesheet" href="extensions/slimbox/css/slimbox.css" type="text/css" media="screen" />
<!-- END SLIMBOX -->

<?php } else if($settings['preview_mode'] == 2
&& file_exists("extensions/thickbox_2/" )) { ?>
<!-- START THICKBOX_2 -->
<script type="text/javascript" src="extensions/thickbox_2/jquery.js"></script>
<script type="text/javascript" src="extensions/thickbox_2/thickbox.js"></script>

<link rel="stylesheet" href="extensions/thickbox_2/thickbox.css" type="text/css" media="screen" />
<!-- END THICKBOX_2 -->
<?php } ?>

<!-- START GALLERY CSS -->
<link rel="stylesheet" href="libraries/script.loader.php?load=gallery" type="text/css" media="screen" />
<!-- END GALLERY CSS -->

<?php if ($include_header | $include_footer) { ?>
<!-- START HEADER/FOOTER CSS -->
<link rel="stylesheet" href="styles/includes.css" type="text/css" media="screen" />
<!-- END HEADER/FOOTER CSS -->
<?php } ?>

<!-- START SCRIPTS/STYLESHEETS FOR IE PC -->
<!--[if IE]>
<link href="styles/gallery_ie.css" rel="stylesheet" type="text/css" media="screen" />
<!--[if gte IE 5.5]>
<style type="text/css">
div#msc_image {
/* IE5.5+/Win - this is more specific
than the IE 5.0 version */
left: expression( ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) + 'px' );
top: expression( ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) + 'px' );
right: auto;
bottom: auto;
}
</style>
<![endif]-->
<![endif]-->
<!-- END SCRIPTS/STYLESHEETS FOR IE PC -->
</head>

<body>

<a id="hash" name="null"></a>
<?php
if ($include_header
&& file_exists("add_header.php")) {
include("add_header.php");
}
?>

<div id="global_container">

<div id="debug"><p>[DEBUG] <span id="debug_content"><?php echo $_SERVER["HTTP_USER_AGENT"];?></span></p></div>

<!-- tooltip -->
<div id="tooltip"></div>

<!-- alert container -->
<div id="alert">
<span id="msg"><!-- Alert goes here --></span>
<p><a id="dismiss" href="javascript:;" onclick="hideDiv('alert');"><?php echo $lang['alert_dismiss']?>...</a></p>
</div>
<!-- alert container -->


<div id="msc_container">

<!-- menu div -->
<div id="msc_menu">
<h1><?php echo $lang['menu_title']?></h1>

<!-- menu items div -->
<div id="galleries_menu"></div>
<div id="subir">
<form method="post" action="index.php">
<input type="text" title="Só se tes clave para subir imaxes, se desexas subir imaxes escribenos a [email protected]" name="archivo" class="subir_imput"/>
<p><input type="submit" name="Submit" value="Entrar"> </p>
</form>
</div>
<!-- menu div -->

<!-- thumbs div -->
<div id="msc_thumbs">

<!-- top menu -->
<div id="top_menu" class="<?php echo ($settings['use_select_menu']);?>">
<div id="tools_menu">Creado por krrt

</div>
</div>

<!-- gallery info div -->
<div id="gallery_data">
<div id="gallery_title"></div>
</div>
<!-- gallery description div -->
<div id="gallery_description">
<?php
if (file_exists("galleries/".$settings['info_file'])) {
echo get_include_contents("galleries/".$settings['info_file']);

}HOLA
?></div>

<!-- thumbs wrapper -->
<div id ="thumbs_div">

<!-- gallery block nav div -->
<div id="gallery_nav">
<div id="gallery_block"></div>
</div>

<!-- thumbs loader data -->
<div id="thumbs_load"></div>

<!-- thumbs container -->
<div id="thumbs_cont"></div>

<div id="gallery_nav2">
<div id="gallery_block2"></div>
</div>

</div>

<!-- footer div -->
<div id="msc_foot">
</div>

</div>
<!-- thumbs div -->

</div>
<!-- msc_container div -->

<!-- image container -->
<div id="msc_image">

<div id="image_url"></div>

<!-- image div -->
<div id="image_div">
<div id="image_container">
<div id="image_menu">
<span id="close_win">
<a href="javascript:;" onclick="closeImageWin();">« <?php echo $lang['lightbox_back']?></a>
</span>

<div id="nav_container">
<div id="prev">
<a id="a_prev" href="javascript:;" onclick="prevImage()"><img src="./themes/<?php echo $selected_theme?>/<?php echo $theme_image_prev?>" alt="" /></a>
</div>
<div id="next">
<a id="a_next" href="javascript:;" onclick="nextImage()"><img src="./themes/<?php echo $selected_theme?>/<?php echo $theme_image_next?>" alt="" /></a>
</div>
<div id="nav_thumbs"></div>
</div>

</div>

<div id="image_header">

<div id="timer"><span id="time">[ <?php echo $settings['slideshow_seconds']?>]</span> | <span><a id="toggle_show" href="javascript:;" onclick="startSlideshow()"><?php echo $lang['slideshow_pause']?> <?php echo $lang['slideshow_name']?></a></span></div>
<div id="image_title"></div>

<div id="mainimg_desc" class="imagen_desc"></div>

</div>

<div id="img">
<img id="mainimg" class="imagen" src="images/spacer.gif" alt="" />
</div>

</div>

</div>
<!-- image div -->

<!-- image bg -->
<div id="image_bg"></div>

</div>
<!-- image container -->

</div>

<?php
if ($include_footer
&& file_exists("add_footer.php")) {
include("add_footer.php");
}
?>

<?php
/**** DEBUG INFO ****/
if ($settings['gallery_debug']) {
echo ('<div id="debug_information">');
phpinfo(INFO_CONFIGURATION);
phpinfo(INFO_CONFIGURATION);
phpinfo(INFO_ENVIRONMENT);
phpinfo(INFO_VARIABLES);
echo ('</div>');
}
?>

</body>
</html>