[Solved]: 2 upgrades- one returning page full of sql [Solved]: 2 upgrades- one returning page full of sql
 

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]

Main Menu

[Solved]: 2 upgrades- one returning page full of sql

Started by auroramae, June 10, 2008, 05:46:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

auroramae

I have two instances of coppermine running on the same hosting account in different domains.
One upgrade went without a hitch and the other is returning this message at the top of the page. 
Can anyone what I screwed up from this message?
I would be grateful for  advice on what I can do to fix this without taking everything off and starting over?
version 1.4.18
aurora

Quote# 'username']} = '$username' AND BINARY {$this->field['password']} = '$encpassword'"; $results = cpg_db_query($sql); if (mysql_num_rows($results)) { $USER_DATA = mysql_fetch_assoc($results); mysql_free_result($results); return $USER_DATA; } else { return false; } } // Used for sorting (usort) the userlist by criteria that are not directly in the udb user table, callback function. function adv_sort($a, $b) { global $cpg_udb; if ($cpg_udb->sortdir == 'ASC'){ return strcmp($a[$cpg_udb->sortfield], $b[$cpg_udb->sortfield]); } else { return strcmp($b[$cpg_udb->sortfield], $a[$cpg_udb->sortfield]); } } } ?>oups as $i_group_id => $i_group_name) { if ($cpg_groups[$i_group_id] != $i_group_name) { cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET group_name = '" . addslashes($i_group_name) . "' WHERE group_id = '$i_group_id' LIMIT 1"); } } // fix admin grp if (!$this->use_post_based_groups) cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1"); } } // and go ! $cpg_udb = new coppermine_udb; ?> selection. Click on Next.In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed cpg_pub_wizard.reg as described above.
# Input your login information if required.
# Select the target album for your pictures or create a new one.
# Click on next. The upload of your pictures starts.
# When it is completed, check your gallery to see if pictures have been properly added.
EOT; $lang_xp_publish_notes = <<
Notes :

    * Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.
    * If the upload fails, enable "Debug mode" on the Coppermine admin page, try with one single picture and check error messages in the EOT; $lang_xp_publish_flood = <<
    * In order to avoid that the gallery be flooded by pictures uploaded through the wizard, only the gallery admins and users that can have their own albums can use this feature.
      EOT; $lang_xp_publish_php = array( 'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4 'welcome' => 'Welcome %s,', //cpg1.4 'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.

      When you login don\'t forget to select the remember me option if it is present.', //cpg1.4 'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4 'upload' => 'Upload your pictures into an existing album', //cpg1.4 'create_new' => 'Create a new album for your pictures', //cpg1.4 'album' => 'Album', //cpg1.4 'category' => 'Category', //cpg1.4 'new_alb_created' => 'Your new album "%s" was created.', //cpg1.4 'continue' => 'Press "Next" to start to upload your pictures', //cpg1.4 'link' => 'this link', //cpg1.4 ); } ?>

Nibbler

The php files got corrupted. Upload clean copies.

auroramae

That's what I thought. I've done that twice already. I'll try again.  Thanks much!

auroramae

Thanks for the help.  I uploaded the files yet again and it worked.  Third time was the charm.
Love Coppermine!