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.

Wont let me promote to front page

When ever I try to Promote selected content to front page or save a post edit, the page will refresh but nothing will happen. The only time this works is if I try it on the MOST RECENT POST I made, I was trying to edit/promote a post I made two weeks ago, and that's when it just refreshes after I hit save, but does nothing. Does anyone know why and how I can fix this? The only thing I've installed since was Mollom, would this have anything to do with it? If so, what do I change? THANKS

Error message confusion

Sorry for asking such an obtuse question but I'm rather new to this game. I've done an update to 7.10 from 7.2, as recommended. I ran the update.php and got this message. Here is where I am confused, "but are not currently available". Does this mean that an update is not available? If none is available How do I correct this error? Any suggestions or advice will be appreciated

The following updates returned messages
uc_store module
Update #7007

Drupal 7 upgrade menu problem

Upgrading from Drupal 6 to Drupal 7 I found that the menus were still the old style 6. I went to menus and reset every menu item for all menus. Then cleared (truncate, empty) all caches and menu router and menu links. Ran update.php and all is fixed. This cleared out old links and restructured it to Drupal 7 default and style. Looked high and low for this info. Thought it might be useful to someone.

Upgrading 7.9 to 7.10: running update.php freezes

I am fairly new to Drupal. I was updating from 7.9 to 7.10. Finally, I ran update.php and see a screen stating "Drupal database update" with "Verify Requirements" checked in green. Now it is on "Overview". I read the overview and clicked continue. Nothing happens. Any idea what is wrong?

Here is what I did...

1. Backed up the database and files via module and via softalicious.
2. Deleted all files and directories except for /sites
3. Added the non-core modules back
4. Ran update.php

No dice... Please help.

6.20 to 6.22 user.module SQL error on PostgreSQL

Aside from needing to manually patch the buggy comment.module thanks to this very very old bug:
https://drupal.org/node/97327

...upgrading from 6.20 to 6.22 exposed a SQL error in the system/user.module roundabout line 789 on my PostgreSQL configuration.

The error:
pg_query(): Query failed: ERROR: column "s.timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...559 AND s.uid > 0 GROUP BY u.uid, u.name ORDER BY s.timestam... ^ in /www/drupal/[deleted]-6.22/includes/database.pgsql.inc on line 138.

The query:
query: SELECT u.uid, u.name, MAX(s.timestamp) AS timestamp FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.timestamp >= 1325818559 AND s.uid > 0 GROUP BY u.uid, u.name ORDER BY s.timestamp DESC LIMIT 10 OFFSET 0 in /www/drupal/farbot-6.22/modules/user/user.module on line 789.

The solution:
modify user/user.module so that the line 789 query goes from this:

// Display a list of currently online users.
$max_users = variable_get('user_block_max_list_count', 10);
if ($authenticated_count && $max_users) {
$authenticated_users = db_query_range('SELECT u.uid, u.name, MAX(s.timestamp) AS timestamp FROM {users} u INNER JOIN {sessions} s ON u.uid = s.uid

6.20 - > 6.21 Upgrade Lockout

When I got my current job, the company website was running Drupal 6.20. I have since tried to update it to 6.21 or 6.22, and every time I do, it locks all content. Everything returns an access denied error to any user who does not have the Administer All Nodes. This happens with ACL, Nodeaccess, etc. turned off. Any ideas what could be causing the problem? I end up having to roll back the entire server, a half-day process.

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal