Project is unusable (to me)

whatistocome - July 13, 2006 - 02:17
Project:Project
Version:4.7.x-1.x-dev
Component:Projects
Category:support request
Priority:critical
Assigned:dww
Status:closed
Description

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

#1

dww - July 23, 2006 - 07:10
Category:bug report» support request
Assigned to:Anonymous» dww

hi 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.

#2

aclight - December 26, 2007 - 23:09
Status:active» fixed

This issue is essentially dead.

#3

dww - December 26, 2007 - 23:11
Status:fixed» closed

Yup.

 
 

Drupal is a registered trademark of Dries Buytaert.