Hiya,

I'm going to provide a bit of history on what I did:

  • On local server, create configuration.
  • Pull down db from live to local.
  • Install configuration and load datastore to active store. Successful.
  • Push codebase to staging server and attempt to repeat.
    • Go to 'check for new configurations'. Get wsod.
    • Try to track items. Starts tracking.
    • Go to 'check for new configurations'. Get wsod.
    • Go to 'admin/config/system/configuration/migrate'. Get wsod.

I was checking through the error logs trying to see what could be the issue but no such luck. In fact, when I look at the access logs, the pages are actually returning a code 200 (which seems to imply something else is going on but I am unsure). I had some luck when I changed the include $file lines to get the stream-uri version of the file. But I also see config:// is registered correctly so it should be working just fine (and it passes the is_file() check). The two environments are set up differently (locally, I am running php 5.3.6 while the server runs 5.3.10. I was running apache locally while running nginx on the server but I later switched it to apache and ended up with the same errors) but I am at a loss on what could be going on. Any help on this would be greatly appreciated.

Comments

btmash’s picture

Status: Active » Needs review
StatusFileSize
new6.45 KB

I can't believe this actually worked - there is definitely something going on with the include_once and config:// between 5.3.6 and 5.3.10. As a workaround, I am wrapping the files for include in drupal_realpath. Attaching a patch which is, unfortunately, in svn format. But should still be able to apply it.

btmash’s picture

As a note, I've also filed an issue at https://bugs.php.net/bug.php?id=61665 as I think that may ultimately be the culprit.

jerrac’s picture

Um, I can't get that patch to apply.

On the command line, in the configuration module directory, I run:

patch < config-stream.patch

And get nothing. On my dev server.

Do the same on my prod server (yes, I know bad idea) I get this:

sites/all/modules/contrib/configuration$ patch < config-stream.patch 
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: includes/configuration.image.inc
|===================================================================
|--- includes/configuration.image.inc	(revision 1871)
|+++ includes/configuration.image.inc	(working copy)
--------------------------
File to patch: 

What am I missing?

btmash’s picture

Hmm, I'm not sure why it won't see the diff. Lets see if I create a git diff instead. I've updated more stuff since there were a few other weird issues that came up.

misc’s picture

StatusFileSize
new6.92 KB

Redid the patch, it should now work with standard patching (git apply -v xxx.patch or patch -p1 < xxx.patch).

lsolesen’s picture

Status: Needs review » Needs work

The patch works for me. However, I think a drupal_set_message() is needed to give the end user an indication on what has happened.

lucascaro’s picture

This patch does not apply anymore :(

lucascaro’s picture

Status: Needs work » Needs review
StatusFileSize
new6.89 KB

updated for the current dev

dagmar’s picture

Priority: Normal » Critical
Status: Needs review » Reviewed & tested by the community

This patch is critical to test the last dev version. It still applies and looks good.

lucascaro’s picture

Status: Reviewed & tested by the community » Closed (fixed)

committed, thanks.

lucascaro’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.