I'm using Drupal 4.7 and fresh Project 4.7 install
I click on create project and receive (i generalize the domain and subdomain names here):
Warning: Invalid argument supplied for foreach() in /home/domain/public_html/subdomain/modules/_contrib/project/issue.inc on line 775
Warning: Invalid argument supplied for foreach() in /home/domain/public_html/subdomain/modules/_contrib/project/project.inc on line 268
It still lets me submit a new project and when I do, it comes up with this and i cannot go any further:
Warning: Invalid argument supplied for foreach() in /home/domain/public_html/subdomain/modules/_contrib/project/issue.inc on line 775
Warning: Invalid argument supplied for foreach() in /home/domain/public_html/subdomain/modules/_contrib/project/project.inc on line 268
I know that Project CAN work (because isn't drupal.org running 4.7 with project 4.7??) so what the heck is going on here?
- Jason
Comments
Comment #1
dwwhi there. i found the problems you're having. somehow your DB is stale, and the {project_issue_state} table was never populated with any records.
when you say "I'm using Drupal 4.7 and fresh Project 4.7 install", did you completely re-create your DB, too? or do you have an old DB you're using?
if you enable the dba.module (http://drupal.org/project/dba), it'll help you inspect the state of your DB, and even repair things, directly from your drupal site. i highly recommend it.
anyway, you either need to start with a *clean* database, and then everything should be fine, or, you need to try to repair your existing DB.
is this enough info for you, or do you need more of an explaination? i'm not sure how familiar you are with drupal, DB administration, etc. if you need more help, just let me know. also, it might be faster to solve your problems via IRC. if you're ever in #drupal, i'm "dww" in there, too. just ping me and we can go over into #drupal-support to get your problems straightened out.
Comment #2
aclight commentedThis issue is essentially dead.
Comment #3
dwwYup.