This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

User pictures got forgotten on D7 upgrade

I did an upgrate from D6.22 to D7.12.
Now the user pictures are not available anymore.
In the 'users' table of the DB the 'picture' column is just filled with zeros.
While in in the 'file_managed' table there aren't any user pictures to be found.

How can I fix that problem?
(It's a site with 5000 users.)

Thanks in advance
Achim

I need to rewrite pagerquery...stuck very bad

I need to rewrite pagerquery, i have tried out several options adding tags, extend(PagerDefault) but nothing worked for me:
Please help.

My version 6 code is:

if ($vid == 'my_cases' or $vid == 'my') { // including private
switch ($sort_by) {
case 'rated':
$order = 'n.sticky DESC, vc.value DESC';
$sort_join = 'LEFT OUTER JOIN {votingapi_cache} vc ON n.nid = vc.content_id AND vc.content_type = "node" AND vc.function = "average"';
break;
case 'discussed':
$order = 'n.sticky DESC, nc.comment_count DESC';
$sort_join = 'LEFT OUTER JOIN {node_comment_statistics} nc ON n.nid = nc.nid';
break;
case 'viewed':
$order = 'n.sticky DESC, nc.totalcount DESC';
$sort_join = 'LEFT OUTER JOIN {node_counter} nc ON n.nid = nc.nid';
break;
case 'recent':
default:
$order = 'n.sticky DESC, n.created DESC';
$sort_join = '';
break;
}
// from taxonomy_select_nodes
$sql = 'SELECT DISTINCT(n.nid), n.sticky, n.title, n.created FROM {node} n '.$sort_join.' WHERE n.uid = %d AND n.type = "case" AND n.status = 1 ORDER BY '. $order;
$sql_count = 'SELECT COUNT(DISTINCT(n.nid)) FROM {node} n WHERE n.uid = %d AND n.type = "case" AND n.status = 1';
$args = array('uid' => $user->uid);
$sql = db_rewrite_sql($sql);
$sql_count = db_rewrite_sql($sql_count);
if ($pager) {

Nice Menus 6.x-1.3 No longer supported!

Hello All,

I am getting following message on "admin/reports/updates" page. I am using Nice Menus 6.x-1.3.

Nice Menus Not supported!

I am curious to know what exactly this message means, does it mean that,

I can use this module, but I can't have any more security updates Or upgrade in 6.x-1.x series?
Or
I must upgrade to 6.x-2.1 version?

Say I dont want to upgrade it to 6.x-2.1, is that fine If I stick to existing 6.x-1.3 module?

Thanks,
Sajal

Upgrading from 6.29 --> 7.14, duplicate indexes and fields

I've been trying to upgrade my 6.29 installation to 7.14.

My original database was PHP4, so I had to import all data into a new PHP5 database. When I try to update to Drupal 7.14 I keep getting error messages about duplicate indexes, fields and tables:

index system.system_list
table role_permission
url_alias: fields source and alias
menu_router: fields context, theme_arguments, theme_callback and delivery_callback

fail to update module

successfully update i18n, but when update database i get this

The requested page "/update.php?op=selection&token=T4g2Ks7JtXswJyvmQT_d3EHi6nsmmLCeJNtKDd-qiPQ&id=108&op=finished" could not be found.

what should i do now?

Can't upgrade to drupal 7.14!

solved :)

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal