Closed (fixed)
Project:
Domain
Version:
7.x-3.10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2013 at 17:49 UTC
Updated:
3 Aug 2013 at 22:51 UTC
Jump to comment: Most recent file
I have disabled all the domain modules, added the new module files then when running update.php i keep getting a couple of errors, causing the upgrade to fail.
Notice: Use of undefined constant DOMAIN_ALL - assumed 'DOMAIN_ALL' in domain_update_7309() (line 412 of ..\sites\all\modules\domain\domain.install).
Notice: Undefined index: all in domain_update_7309() (line 412 of ..\sites\all\modules\domain\domain.install).
anyone any ideas on this? what other information would you need to work out what is wrong?
thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2042461-domain-update-7309.patch | 590 bytes | agentrickard |
Comments
Comment #1
agentrickardYou can only mark "needs review" items that have patches.
I suspect the problem is that the module is disabled while you are running the updates. DOMAIN_ALL is set in the domain.module file.
So we can't use that constant reliably.
For a quick fix change DOMAIN_ALL to 'DOMAIN_ALL' in the function. That's what the patch will do.
Comment #2
agentrickardAnd a patch.
Comment #3
agentrickardCommitted.