CFCS Drupal Camp Site Assistance

Events happening in the community are now at Drupal community events on www.drupal.org.
CherylJoy's picture

After all this time the site created by Drupal Camp has been migrated to Pantheon and now has Drupal core 7.23.
CFCS hosting is up 13th of July and we are hoping Pantheon will donate hosting for us, but need to get the site live etc.

I have been trying for a week to update the modules and even add content.
I have run into many error messages which I am not able to resolve.
Would anyone be willing to get the site up to date and working so we can start and add content and put live?

thank you all in advance
Cheryl

Examples of what has been happening

Trying to add a new Location threw the following error message which Pantheon said was the media module. They sent me a link to read and suggested I post to Drupal.org.

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'vid' cannot be null: INSERT INTO {node} (vid, type, language, title, uid, status, created, changed, comment, promote, sticky) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => location [:db_insert_placeholder_2] => und [:db_insert_placeholder_3] => Maitland Public Library [:db_insert_placeholder_4] => 1 [:db_insert_placeholder_5] => 1 [:db_insert_placeholder_6] => 1403715444 [:db_insert_placeholder_7] => 1403715444 [:db_insert_placeholder_8] => 1 [:db_insert_placeholder_9] => 0 [:db_insert_placeholder_10] => 0 ) in drupal_write_record() (line 7224 of /srv/bindings/2288ce72557d4d148e5b6169d12b1744/code/includes/common.inc).

The modules are just as bad...
I do not know if it has to do with the custom coding or the way Pantheon put the files on the server.

On Pantheon - Code is under a folder called code
The sites/default/files are in another location.

I also saw this in admin on the media settings -files settings path.. Would this the problem?

Home » Administration » Configuration » Media
Public File system Path sites/default/files
Private File System Path sites/default/files/private
Temp Directory /srv/bindings/2288ce72557d4d148e5b6169d12b1744/tmp

Default download method
Public local files served by the webserver.

Comments

Hey Cheryl, Did you remember

mherchel's picture

Hey Cheryl,

Did you remember to do the database updates (update.php) after updating the modules?

I could not update any of the

CherylJoy's picture

I could not update any of the modules.
The first time out did not see the error messages did update php and it crashed the site.

Had to reclone the test site(which I used as back up) to the dev site on Panetheon
I tried 1 module at a time and each one had an error message. So it was no use there going forward.

I then though I would try and do at least content. That is when the media error message came up.
So completely at a loss

Have you tried updating a

c13l0's picture

Have you tried updating a module with $ drush pm-update modulename
or are you trying to use the UI to update? Such as downloading the module locally then using the ui to "upload"?

I am using the interface from

CherylJoy's picture

I am using the interface from the Pantheon Dashboard to update..I switched to sftp on Pantheon to do this. I did not want to create a local site on windows if I did not have to

It would be my guess that the

c13l0's picture

It would be my guess that the majority of the issue lies in updating on the "live" dev site instead of working locally.

I would never ever recommend to update a module this way but if you insist:

  1. Put the site into maintenance mode
  2. Disable the module through the UI (do not uninstall or it will delete the database info)
  3. Go to the modules drupal.org page and check for any update directions or potential issues in the queue.
  4. FTP to the live "dev" site and remove the folder of the module you are going to update
  5. Download the updated module via drupal.org
  6. Go to the drupal UI and upload the updated module
  7. Make sure to run the update.php when it asks you
  8. Clear the cache
  9. Enable the module
  10. Test
  11. Take the site out of maintenance mode

Only update 1 module at a time

Rules Module Update glitch

CherylJoy's picture

Updating Rules 7x 2.0 to 7x2.7
Drupal Core is current version.

Received this error message.
Fatal error: Class 'RulesEventHandlerEntityBundle' not found in /srv/bindings/2288ce72557d4d148e5b6169d12b1744/code/sites/all/modules/rules/modules/node.rules.inc on line 147

Anyone had any idea what I should do. I reverted to the original 7x2.0

Module Organic Groups - need input

CherylJoy's picture

Installed Version 2x1.3 Need to update to 7x 2.7 Following message re this module.
This update is a major version update which means that it may not be backwards compatible with your currently running version. It is recommended that you read the release notes and proceed at your own risk.

Does anyone have any input re this

thanks
Cheryl

Module Fast Permissions Admin - need input

CherylJoy's picture

Updating from version 7 x2.0 to 7x 2.5
Crashed site
error message
Fatal error: Cannot redeclare theme_file_styles_image() (previously declared in /srv/bindings/2288ce72557d4d148e5b6169d12b1744/code/sites/all/modules/styles/contrib/file_styles/file_styles.theme.inc:66) in /srv/bindings/2288ce72557d4d148e5b6169d12b1744/code/sites/all/modules/styles/contrib/file_styles/includes/themes/file_styles.theme.inc on line 21

Are you not deleting the old

digitalfrontiersmedia's picture

Are you not deleting the old code before FTP'ing or adding the new code?

deleting old code

CherylJoy's picture

I followed the instructions given by Cielo.
I did delete the old code.

Actually, this, too, is a

digitalfrontiersmedia's picture

Actually, this, too, is a known issue with the module ( https://www.drupal.org/node/2250205 ) however, the maintainer has not provided an update for this problem.

I'm guessing you either

digitalfrontiersmedia's picture

I'm guessing you either missed steps #1, #4, or #7 in the advice given or you need to apply patches #169 & #171 from here: https://www.drupal.org/node/2090511

[Edit: this was in reference to the Rules module update only.]

Rules Module

CherylJoy's picture

thanks for the link...Did not miss the steps....
Will work on it

Florida

Group organizers

Group categories

Florida Topics

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: