coppermine-gallery.com/forum

Support => Français (French) => Language Specific Support => cpg1.4.x Français (French) => Topic started by: the worms on November 29, 2005, 09:54:02 PM

Title: Problème lors de la mise à jour
Post by: the worms on November 29, 2005, 09:54:02 PM
bonsoir,

j'viens de mettre ma gallerie à jour de 1.3 à 1.4.2 tout c'est bien déroulé (bon biensûr j'ai le thème à refaire ;)

mais mon problème viens de Fatal error: anycontent.php

lors de la vérification de mise à jours via versioncheck.php

il me signale que anycontent est encore en version 1.3

et lorsque je vais dessus pour voir ses options voici le message d'erreur :

Call to undefined function: starttable() in /home/httpd/vhosts/www.monsite/web/gmagallerie/anycontent.php on line 20

et voici mon fichier anycontent :

<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.0                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002,2003 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// 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.                                       //
// ------------------------------------------------------------------------- //
/*
$Id: anycontent.php,v 1.7 2004/03/16 09:26:18 gaugau Exp $
*/

starttable("100%""Welcome");

?>

<tr><td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td></tr>
<?php
endtable
();

?>


j'comprend pas trop  ???
Title: Re: Problème lors de la mise à jour
Post by: artistsinhawaii on November 29, 2005, 10:02:31 PM

if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');    <--il est ici


Quote

if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');

starttable("100%", "Welcome");

?>
<tr><td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td></tr>
<?php
endtable();

?>

Dennis