1 (edited by achtungbaby 2012-02-13 10:39)

Topic: punbb 1.4.2 db_udpdate not work

Hello,

Hello, I tried updating 1.4.1 to 1.4.2, and run db_update. I have a blank page and the update does not work.

Sorry! The page could not be loaded.

Your PunBB database is out-of-date and must be upgraded in order to continue.
Please run db_update.php in order to complete the upgrade process.

Re: punbb 1.4.2 db_udpdate not work

Check web server error logs.

3 (edited by achtungbaby 2012-02-13 12:19)

Re: punbb 1.4.2 db_udpdate not work

[Mon Feb 13 11:31:16 2012] [error] [client xxxx] PHP Parse error:  syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/alicebox-news.fr/forums/admin/db_update.php on line 2242,

A part of code is missing at the end, and partiel duplicate

<?php

                break;
}

$forum_db->end_transaction();
$forum_db->close();

if ($query_str != '')
        exit('<script type="text/javascript">window.location="db_update.php'.$query_str.'"</script><br />JavaScript seems to be disabled. <a href="db_update.php'.$query_str.'">Click here to continue</a>.');
ate.php'.$query_str.'">Click here to continue</a>.');

This part is too

ate.php'.$query_str.'">Click here to continue</a>.');

After modify :

Sorry! The page could not be loaded.

Your database is already as up-to-date as this script can make it.

There is no error, but the update still does not work

line 13 :

define('UPDATE_TO', '1.4.1');

must be 1.4.2 I think.

after correction, it works

Re: punbb 1.4.2 db_udpdate not work

Sorry, it was a broken upload for admin repertory.