Closed (fixed)
Project:
Domain
Version:
6.x-2.0-rc6
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2009 at 18:02 UTC
Updated:
25 Mar 2009 at 18:22 UTC
Jump to comment: Most recent file
I'm currently looking at the domain module and it looks very promising for my use case. Thanks!
I've found two places where an E_NOTICE gets thrown:
domain_get_user_domains gets called through domain_user($op="register").domain_get_user_domains()
$www_replaced needs to get initialized to FALSE. I wonder why this notice has not been recognized/fixed before?
The patch is against CVS HEAD.
I'm running Drupal 6 from CVS.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 356614-3_php_notices.patch | 2.15 KB | pasqualle |
| #2 | 3566114_php_notices.patch | 1.94 KB | pasqualle |
| domain-notices.patch | 1005 bytes | blueyed |
Comments
Comment #1
agentrickardThanks.
Add also -- notice: Undefined variable: extra in domain_content\domain_content.module on line 38.
Comment #2
pasqualleComment #3
pasqualleanother
notice: Undefined property: stdClass::$domain_site in domain\domain.module on line 935.
Comment #4
agentrickardCommitted to HEAD.
Comment #5
pasqualleanother one:
displayed when listing nodes with views for every row in the view. I am not sure what should domain_node_grants() return in this case, empty array or something else?
Comment #6
agentrickardWe never initialize the $grants array, which should happen at line 834.
/me goes to turn on Coder module.
Comment #7
pasqualleI don't think that coder module would help you to catch php notices, but using d6-dev or hacking common.inc (by removing E_NOTICE check) definitely helps.
more details here: #291026: change E_NOTICE to warning and allow selection of error level
Comment #8
agentrickardYes, I recall.
http://drupal.org/node/34341
Comment #9
agentrickard