Changement de serveur, page blanche
10 messages • Page 1 sur 1
Consultez la formation au référencement naturel Google de WebRankInfo / Ranking Metrics
- fredquebec
- WRInaute impliqué

- Messages: 303
- Inscription: Ven Juil 16, 2004 12:23
Changement de serveur, page blanche
Bonjour,
Je viens de changer de serveur qui utilise maintenant le php5.
Cependant, mon album photo ne fonctionne plus!
J'ai une simple page blanche!
Est-ce qu'il y a quelqu'un ici qui peut m'aider ???
merci
Je viens de changer de serveur qui utilise maintenant le php5.
Cependant, mon album photo ne fonctionne plus!
J'ai une simple page blanche!
Est-ce qu'il y a quelqu'un ici qui peut m'aider ???
merci
-

bproductiv - WRInaute accro

- Messages: 2824
- Inscription: Lun Déc 27, 2004 16:29
migrer de php4 vers php5, PS: y'a des livres très bien sur amazon 
- fredquebec
- WRInaute impliqué

- Messages: 303
- Inscription: Ven Juil 16, 2004 12:23
J'ai essayé de changé les <?php par <?
Cela n'aide pas plus!
Cela n'aide pas plus!
-

bproductiv - WRInaute accro

- Messages: 2824
- Inscription: Lun Déc 27, 2004 16:29
paye un développeur si tu ne l'est pas...ou trouve une âme charitable
- fredquebec
- WRInaute impliqué

- Messages: 303
- Inscription: Ven Juil 16, 2004 12:23
paye un développeur si tu ne l'est pas...ou trouve une âme charitable
Euh ...
Développeur est un bien grand mot, il y a plusieurs niveaux de développeur!
J'ai toujours trouvé mes réponses sur les forums comme un grand garçon.
Ton commentaire n'est pas tellement utile au fait!
Merci
Re: Changement de serveur, page blanche
fredquebec a écrit:Est-ce qu'il y a quelqu'un ici qui peut m'aider ???
Sans le code, c'est quand même compliqué
Fait une recherche sur google sur les différences entre php4 et php5.
- fredquebec
- WRInaute impliqué

- Messages: 303
- Inscription: Ven Juil 16, 2004 12:23
<?
/***************************************************************************
* album.php
* -------------------
* begin : Tuesday, February 04, 2003
* copyright : (C) 2003 Smartor
* email : smartor_xp@hotmail.com
*
* $Id: album.php,v 2.0.7 2003/03/15 10:16:30 ngoctu Exp $
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
/***************************************************************************
* MODIFICATIONS
* ---------------
* started : Saturday, January 18, 2004
* copyright : © Volodymyr (CLowN) Skoryk
* email : blaatimmy72@yahoo.com
* version : 1.5
*
* MODIFICATIONS:
* -added images to rating, insted of number for rating
* -added random pictures
* -added highest rated pictures (@ MarkFulton.com)
* -coment # for categories
* -last comment in categories
*
***************************************************************************/
/***************************************************************************
* MODIFICATIONS
* ---------------
* copyright : (C) 2004 IdleVoid
* email : idlevoid@slater.dk
* file version : 1.0.8
* release : 1.3.0
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
$album_root_path = $phpbb_root_path . 'album_mod/';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_ALBUM);
init_userprefs($userdata);
//
// End session management
//
//
// Get general album information
//
include($album_root_path . 'album_common.'.$phpEx);
//--- Album Category Hierarchy : begin
//--- version : 1.1.0
// ------------------------------------
// Check $album_user_id
// ------------------------------------
if (isset ($HTTP_POST_VARS['user_id']))
{
$album_user_id = intval($HTTP_POST_VARS['user_id']);
}
elseif (isset ($HTTP_GET_VARS['user_id']))
{
$album_user_id = intval($HTTP_GET_VARS['user_id']);
}
else
{
// if no user_id was supplied then we aren't going to show a personal gallery category
$album_user_id = ALBUM_PUBLIC_GALLERY;
}
//--- version : 1.3.0
if ($album_user_id != ALBUM_PUBLIC_GALLERY)
{
$cat_id = ALBUM_ROOT_CATEGORY;
if (isset ($HTTP_POST_VARS['mode']))
{
$album_view_mode = strtolower($HTTP_POST_VARS['mode']);
}
elseif (isset ($HTTP_GET_VARS['mode']))
{
$album_view_mode = strtolower($HTTP_GET_VARS['mode']);
}
// make sure that it only contains some valid value
switch ($album_view_mode)
{
case ALBUM_VIEW_ALL:
$album_view_mode = ALBUM_VIEW_ALL;
break;
case ALBUM_VIEW_LIST:
$album_view_mode = ALBUM_VIEW_LIST;
break;
default:
$album_view_mode = '';
}
if (isset ($HTTP_POST_VARS['cat_id']))
{
$cat_id = intval($HTTP_POST_VARS['cat_id']);
}
elseif (isset ($HTTP_GET_VARS['cat_id']))
{
$cat_id = intval($HTTP_GET_VARS['cat_id']);
}
if ($album_user_id < 1)
{
if (!$userdata['session_logged_in'])
{
redirect(append_sid(album_append_uid("login.$phpEx?redirect=album.$phpEx", true)));
}
else
{
$album_user_id = $userdata['user_id'];
redirect(append_sid(album_append_uid("album.$phpEx", true)));
}
}
if ($cat_id != ALBUM_ROOT_CATEGORY && $cat_id != album_get_personal_root_id($album_user_id))
{
redirect(append_sid(album_append_uid("album_cat.$phpEx" . album_build_url_parameters($HTTP_GET_VARS), true)));
}
}
//--- Album Category Hierarchy : end
$catrows = array ();
//--- version : 1.3.0
$options = ($album_view_mode == ALBUM_VIEW_LIST ) ? ALBUM_READ_ALL_CATEGORIES|ALBUM_AUTH_VIEW : ALBUM_AUTH_VIEW;
$catrows = album_read_tree($album_user_id, $options);
//--- version : <= 1.1.0
// --------------------------------
// Build allowed category-list (for recent pics after here)
// $catrows array now stores all categories which this user can view.
// --------------------------------
$allowed_cat = ''; // For Recent Public Pics below
for ($i = 0; $i < count($catrows); $i ++)
{
// --------------------------------
// build list of allowd category id's
// --------------------------------
$allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ','.$catrows[$i]['cat_id'];
}
//--- Album Category Hierarchy : end
//
// END of Categories Index
//
// ------------------------------------
// Build the sort method and sort order
// information
// ------------------------------------
if (isset ($HTTP_GET_VARS['start']))
{
$start = intval($HTTP_GET_VARS['start']);
}
elseif (isset ($HTTP_POST_VARS['start']))
{
$start = intval($HTTP_POST_VARS['start']);
}
else
{
$start = 0;
}
if (isset ($HTTP_GET_VARS['sort_method']))
{
switch ($HTTP_GET_VARS['sort_method'])
{
case 'pic_time' :
$sort_method = 'pic_time';
break;
case 'pic_title' :
$sort_method = 'pic_title';
break;
case 'username' :
$sort_method = 'username';
break;
case 'pic_view_count' :
$sort_method = 'pic_view_count';
break;
case 'rating' :
$sort_method = 'rating';
break;
case 'comments' :
$sort_method = 'comments';
break;
case 'new_comment' :
$sort_method = 'new_comment';
break;
default :
$sort_method = $album_config['sort_method'];
}
}
elseif (isset ($HTTP_POST_VARS['sort_method']))
{
switch ($HTTP_POST_VARS['sort_method'])
{
case 'pic_time' :
$sort_method = 'pic_time';
break;
case 'pic_title' :
$sort_method = 'pic_title';
break;
case 'username' :
$sort_method = 'username';
break;
case 'pic_view_count' :
$sort_method = 'pic_view_count';
break;
case 'rating' :
$sort_method = 'rating';
break;
case 'comments' :
$sort_method = 'comments';
break;
case 'new_comment' :
$sort_method = 'new_comment';
break;
default :
$sort_method = $album_config['sort_method'];
}
}
else
{
$sort_method = $album_config['sort_method'];
}
if (isset ($HTTP_GET_VARS['sort_order']))
{
switch ($HTTP_GET_VARS['sort_order'])
{
case 'ASC' :
$sort_order = 'ASC';
break;
case 'DESC' :
$sort_order = 'DESC';
break;
default :
$sort_order = $album_config['sort_order'];
}
}
elseif (isset ($HTTP_POST_VARS['sort_order']))
{
switch ($HTTP_POST_VARS['sort_order'])
{
case 'ASC' :
$sort_order = 'ASC';
break;
case 'DESC' :
$sort_order = 'DESC';
break;
default :
$sort_order = $album_config['sort_order'];
}
}
else
{
$sort_order = $album_config['sort_order'];
}
// ------------------------------------
// additional sorting options
// ------------------------------------
if ($album_user_id != ALBUM_PUBLIC_GALLERY)
{
$sort_rating_option = '';
$sort_comments_option = '';
$sort_new_comment_option = '';
if ($album_config['rate'] == 1)
{
$sort_rating_option = '<option value="rating" ';
$sort_rating_option .= ($sort_method == 'rating') ? 'selected="selected"' : '';
$sort_rating_option .= '>'.$lang['Rating'].'</option>';
}
if ($album_config['comment'] == 1)
{
$sort_comments_option = '<option value="comments" ';
$sort_comments_option .= ($sort_method == 'comments') ? 'selected="selected"' : '';
$sort_comments_option .= '>'.$lang['Comments'].'</option>';
$sort_new_comment_option = '<option value="new_comment" ';
$sort_new_comment_option .= ($sort_method == 'new_comment') ? 'selected="selected"' : '';
$sort_new_comment_option .= '>'.$lang['New_Comment'].'</option>';
}
}
/*
+----------------------------------------------------------
| Start output the page
+----------------------------------------------------------
*/
$page_title = $lang['Album'];
//--- Album Category Hierarchy : begin
//--- version : 1.1.0
// is it a public gallery ?
if ($album_user_id == ALBUM_PUBLIC_GALLERY)
{
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
'body' => 'album_index_body.tpl')
);
if (defined('ALBUM_SP_CONFIG_TABLE'))
{
$cols = $album_sp_config['img_cols'];
$cols_width = (100/$album_sp_config['img_cols']) . '%';
//----------------------------------------------------------
// Recent Public Pics
//----------------------------------------------------------
if ($album_sp_config['disp_late'] == 1)
{
album_build_recent_pics($allowed_cat);
}
//----------------------------------------------------------
// Highest Rated Pics
// by MarkFulton.com ...added RAND() part so highest pics dont always appear in same order.
//----------------------------------------------------------
if ($album_sp_config['disp_high'] == 1)
{
album_build_highest_rated_pics($allowed_cat);
}
//----------------------------------------------------------
// Most Viewed Pics
//----------------------------------------------------------
if ($album_sp_config['disp_mostv'] == 1)
{
album_build_most_viewed_pics($allowed_cat);
}
//----------------------------------------------------------
//Random Pics by CLowN
//----------------------------------------------------------
if ($album_sp_config['disp_rand'] == 1)
{
album_build_random_pics($allowed_cat);
}
}
else
{
$cols = $album_config['cols_per_page'];
$cols_width = (100/$album_config['cols_per_page']) . '%';
//----------------------------------------------------------
// recent pictures are always on when not using CLowN's Super Charged Pack
album_build_recent_pics($allowed_cat);
// these aren't enabled since they are infact part of CLowN's Super Charged Pack;
// they do work even if you haven't installed his mod.
//album_build_highest_rated_pics($cat_id, $allowed_cat);
//album_build_random_pics($cat_id, $allowed_cat);
}
$template->assign_vars(array(
'S_COLS' => $cols,
'S_COL_WIDTH' => $cols_width,
'TARGET_BLANK' => ($album_config['fullpic_popup']) ? 'target="_blank"' : '',
'L_RAND_PICS' => $lang['Random_Pictures'],
'L_HI_RATINGS' => $lang['Highest_Rated_Pictures'],
'L_RECENT_PUBLIC_PICS' => $lang['Recent_Public_Pics'],
'L_MOST_VIEWED' => $lang['Most_Viewed_Pictures'],
'L_NO_PICS' => $lang['No_Pics'],
'L_PIC_TITLE' => $lang['Pic_Title'],
'L_VIEW' => $lang['View'],
'L_POSTER' => $lang['Poster'],
'L_POSTED' => $lang['Posted']
)
);
}
// it's a personal gallery, and in the root folder
else
{
if ($album_view_mode == ALBUM_VIEW_LIST)
{
include ($album_root_path.'album_memberlist.'.$phpEx);
}
else
{
// include our special personal gallery files
// this file holds all the code to handle personal galleries
// except moderation and management of personal gallery categories.
include ($album_root_path.'album_personal.'.$phpEx);
}
}
if (empty($album_view_mode))
{
album_display_index($album_user_id, ALBUM_ROOT_CATEGORY, true, true, true);
}
//--- Album Category Hierarchy : end
//
// Generate the page
//
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
// +-------------------------------------------------------------+
// | Powered by Photo Album 2.x.x (c) 2002-2003 Smartor |
// | with Volodymyr (CLowN) Skoryk's Service Pack 1 © 2003-2004 |
// +-------------------------------------------------------------+
echo (hello);
?>
-

bproductiv - WRInaute accro

- Messages: 2824
- Inscription: Lun Déc 27, 2004 16:29
Hummm, merci pour les robots spammeurs, quelques petites adresses emails 'en clair' à sa portée 
10 messages • Page 1 sur 1
Formation recommandée sur ce thème :
Formation Référencement naturel Google : apprenez une méthode efficace pour optimiser à fond le référencement naturel dans Google de façon durable... Formation animée par Olivier Duffez et Fabien Facériès, experts en référencement naturel.
Tous les détails sur le site Ranking Metrics : programme, prix, dates et lieux, inscription en ligne.
Lectures recommandées sur ce thème :
- Changements de nom de domaine et TrustRank
- Changer d'hébergeur web sans pénaliser son référencement
- Redirection (PHP, JavaScript, serveur...)
- Petit changement pour Slurp (le robot de Yahoo)
- Google Dance : c'est parti ! Update de juillet 2002
- Passage à l'heure d'été/hiver sur un forum phpBB
- Comment créer une page web en PHP
- Configurer les options de passage de Googlebot sur son site
- Optimiser ses codes HTTP pour le référencement
- Les changements de Googlebot fin 2003
- Changement de domaine le temps du changement de serveur DNS
- [WRI] Changement de serveur : WRI passe sur un serveur dédié
- Changement serveur
- Changement de serveur (Fr -> Eu)
- Changement de serveur...
- changement de serveur
- Changement de serveur: que faire?
- conséquences du changement de serveur ?
- Changement de serveur et réferencement
- Dotclear changement de serveur
- Googlebot et changement de serveur
- referencement : changement de serveur
- Changement de serveur et d'IP
- Changement de serveur risqué ?
- changement hebergeur serveur perso
Consultez la description détaillée des produits ou services de Google suivants : JotSpot, Google Web Accelerator
- La classe C de l'adresse IP
Cet outil vous permet de vérifier si plusieurs sites sont hébergés sur la même classe C (adresse IP du serveur). - Test du code HTTP d'une page
Cet outil vous permet de connaître le code HTTP renvoyé par le serveur pour une page donnée.
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités


le forum