This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Askeet day 2 - problem when trying to save question

Discussion around this tutorial for symfony 1.0.x

Askeet day 2 - problem when trying to save question

by kelfaa » Sat Sep 27, 2008 4:55 am

When I try to click save to add a question I get:

[PropelException]
Unable to execute DELETE statement. [wrapped: Could not execute update [Native Error: Table 'askeet.ask_interest' doesn't exist] [User Info: DELETE FROM ask_interest WHERE ask_interest.QUESTION_ID=1]]
stack trace

* at ()
in SF_SYMFONY_LIB_DIR/plugins/sfPropelPlugin/lib/vendor/propel/ util/BasePeer.php line 182 ...
179. $affectedRows = $stmt->executeUpdate();
180. } catch (Exception $e) {
181. Propel::log($e->getMessage(), Propel::LOG_ERR);
182. throw new PropelException("Unable to execute DELETE statement.",$e);
183. }
184.
185. } // for each table

Does anyone have any ideas of what my problem might be?
Thanks
kelfaa
Junior Member
 
Posts: 3
Joined: Wed Sep 17, 2008 6:00 am

Re: Askeet day 2 - problem when trying to save question

by halfer » Sat Sep 27, 2008 11:40 am

It says what the problem is in the second line. Your table doesn't exist!
halfer
Faithful Member
 
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK