Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Problème lors de la mise à jour  (Read 3804 times)

0 Members and 1 Guest are viewing this topic.

the worms

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Problème lors de la mise à jour
« 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 :

Code: [Select]
<?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  ???
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Problème lors de la mise à jour
« Reply #1 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
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.