It produced a number of errors.

#1

drush @pantheon.luthierbuilt2.dev updb
Flag dialog requires this module and version. Currently using Flag [warning]
version 2.1 (Currently using Unresolved dependency Flag (Version 3.x
required))
Flagging form requires this module and version. Currently using Flag [warning]
version 2.1 (Currently using Unresolved dependency Flag (Version 3.x
required))
No database updates required [success]
Finished performing updates. [ok]

#2

Fatal error: require_once(): Failed opening required '/srv/bindings/799979edb88344b0b50e569d55fd51b5/code/sites/all/modules/contrib/flag/includes/flag.entity.inc' (include_path='.:/usr/share/pear:/usr/share/php') in /srv/bindings/799979edb88344b0b50e569d55fd51b5/code/includes/bootstrap.inc on line 3125

#3

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pantheon.flags' doesn't exist: SELECT f.fid AS fid, f.content_type AS content_type, f.name AS name, f.title AS title, f.global AS global, f.options AS options, fn.type AS type FROM {flags} f LEFT OUTER JOIN {flag_types} fn ON fn.fid = f.fid; Array ( ) in flag_get_flags() (line 1665 of /srv/bindings/799979edb88344b0b50e569d55fd51b5/code/sites/all/modules/contrib/flag/flag.module).

Therefore I have reverted to 7.x-3.0-alpha4, and the above errors are now gone.

Bob

Comments

joachim’s picture

The first looks like a problem with other modules.

The second I don't know -- that file is present in the tarball for beta 1. Can you check you properly unzipped it?

Third --

> Table 'pantheon.flags' doesn't exist: SELECT f.fid

we haven't had a table called 'flags' for ages, and since long before 3.0 alpha 4. So I can't think who would be checking for that! Are you sure your versions are what you say they are?

joachim’s picture

Also:

> flag_get_flags() (line 1665 of /srv/bindings/799979edb88344b0b50e569d55fd51b5/code/sites/all/modules/contrib/flag/flag.module).

That looks nothing like line 1665 of flag.module. Your versions are going weird!

Anonymous’s picture

All my updates are put in place using 'drush dl [module]', so we can assume everything was properly extracted in this case. Also, this is always immediately followed by 'drush updb'.

Nonetheless, I will attempt to update again, and see what happens.

Anonymous’s picture

Here is the contents of my 7.x-3.0-alpha4's info file:

name = Flag
description = Create customized flags that users can set on entities.
core = 7.x
package = Flags
configure = admin/structure/flags

; Files that contain classes.
; Flag classes
files[] = includes/flag/flag_flag.inc
files[] = includes/flag/flag_entity.inc
files[] = includes/flag/flag_node.inc
files[] = includes/flag/flag_comment.inc
files[] = includes/flag/flag_user.inc
files[] = includes/flag.cookie_storage.inc

files[] = includes/flag.entity.inc
files[] = flag.rules.inc

; Views
files[] = includes/views/flag_handler_argument_entity_id.inc
files[] = includes/views/flag_handler_field_ops.inc
files[] = includes/views/flag_handler_field_flagged.inc
files[] = includes/views/flag_handler_filter_flagged.inc
files[] = includes/views/flag_handler_sort_flagged.inc
files[] = includes/views/flag_handler_relationships.inc
files[] = includes/views/flag_plugin_argument_validate_flaggability.inc
files[] = tests/flag.test

; Information added by drupal.org packaging script on 2012-11-26
version = "7.x-3.0-alpha4"
core = "7.x"
project = "flag"
datestamp = "1353961058"

Anonymous’s picture

A couple of additional .infos from the flagging_form project:

name = Flag dialog
description = Makes the flag form show in a dialog box.
core = 7.x
package = Flags
dependencies[] = flagging_form
dependencies[] = dialog

; Information added by drupal.org packaging script on 2013-04-22
version = "7.x-3.x-dev"
core = "7.x"
project = "flagging_form"
datestamp = "1366633167"

name = Flagging form
description = Provides a form for filling-out fields attached to flags.
core = 7.x
package = Flags
dependencies[] = flag (3.x)

; Information added by drupal.org packaging script on 2013-04-22
version = "7.x-3.x-dev"
core = "7.x"
project = "flagging_form"
datestamp = "1366633167"

Anonymous’s picture

So, I did attempt to move to flag-7.x-3.0-beta1 again, with exactly the same problem manifestations.

Take a careful look at its .info file:

name = Flag
description = Create customized flags that users can set on content.
core = 7.x
package = Flags
configure = admin/structure/flags

; Files that contain classes.
files[] = flag.inc
files[] = flag.rules.inc
files[] = includes/flag_handler_argument_content_id.inc
files[] = includes/flag_handler_field_ops.inc
files[] = includes/flag_handler_filter_flagged.inc
files[] = includes/flag_handler_sort_flagged.inc
files[] = includes/flag_handler_relationships.inc
files[] = includes/flag_plugin_argument_validate_flaggability.inc
files[] = tests/flag.test

; Information added by drupal.org packaging script on 2013-05-09
version = "7.x-2.1"
core = "7.x"
project = "flag"
datestamp = "1368081620"

Of course, its version number is wrong.

Maybe it is not even the release it is supposed to be?

joachim’s picture

Status: Active » Postponed (maintainer needs more info)

Check line 1665 of your flag.module? And also whether flag.entity.inc is in the tarball?

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Oops! My bad.

I was using:

  • drush dl flag

as opposed to:

  • drush dl flag-7.x-3.0-beta1

Sorry to have diverted your time from productive work.

Bob

joachim’s picture

Thanks for reporting back. I like bugs that close themselves! :)