Updating (queries failed)

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
GilaMonster
Registered User
Posts: 83
Joined: Mon Jan 10, 2005 12:52 am
Location: CSC Scania, Iraq - Silver City, NM
Contact:

Updating (queries failed)

Post by GilaMonster »

Anyone know what this error means or how to correct it?
I got this when I ran the update_to_latest.php after updating the files.
Updating database schema\n";
echo "Progress :: "; flush(); $error_ary = array(); $errored = false; if (count($sql)) { for ($i = 0; $i < count($sql); $i++) { _sql($sql[$i], $errored, $error_ary); } echo " DoneResult :: \n"; if ($errored) { echo " Some queries failed, the statements and errors are listing below\n";

for ($i = 0; $i < count($error_ary['sql']); $i++)
{
echo "Error :: " . $error_ary['error_code'][$i]['message'] . ""; echo "SQL :: " . $error_ary['sql'][$i] . ""; } echo "\nThis is probably nothing to worry about, update will continue. Should this fail to complete you may need to seek help at our development board. See README for details on how to obtain advice.\n";
}
else
{
echo "No errors\n";


Thanks for any help!
User avatar
Lumpy Burgertushie
Registered User
Posts: 68116
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Updating (queries failed)

Post by Lumpy Burgertushie »

GilaMonster wrote: Anyone know what this error means or how to correct it?
I got this when I ran the update_to_latest.php after updating the files.
Updating database schema\n";
echo "Progress :: "; flush(); $error_ary = array(); $errored = false; if (count($sql)) { for ($i = 0; $i < count($sql); $i++) { _sql($sql[$i], $errored, $error_ary); } echo " DoneResult :: \n"; if ($errored) { echo " Some queries failed, the statements and errors are listing below\n";

for ($i = 0; $i < count($error_ary['sql']); $i++)
{
echo "Error :: " . $error_ary['error_code'][$i]['message'] . ""; echo "SQL :: " . $error_ary['sql'][$i] . ""; } echo "\nThis is probably nothing to worry about, update will continue. Should this fail to complete you may need to seek help at our development board. See README for details on how to obtain advice.\n";
}
else
{
echo "No errors\n";


Thanks for any help!


what are you doing? that is just the code from the update file. ;you should not be seeing that at all.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
Locked

Return to “2.0.x Support Forum”