Advertisement:

Author Topic: Fatal Error After Submission  (Read 2027 times)

dezinerite

  • Guest
Fatal Error After Submission
« on: June 11, 2010, 04:17:10 pm »
Hi guys, I just want to let you know that I was so happy to have found this open source classifieds, I know that it's still under development but I decided to test it anyway. :D

I noticed that I get this error:

Code: [Select]
Fatal error: Uncaught exception 'DatabaseException' with message 'Column 's_city' cannot be null' in /var/www/osclass_demo/oc-includes/osclass/db.php:94 Stack trace: #0 /var/www/osclass_demo/oc-includes/osclass/classes/DAO.php(157): osc_dbExec('INSERT INTO osc...') #1 /var/www/osclass_demo/item.php(143): DAO->insert(Array) #2 {main} thrown in /var/www/osclass_demo/oc-includes/osclass/db.php on line 94
If I don't fill out every field in the form.  I was wondering if there's a way to make these fields optional instead of compulsory?

Thanks so much.

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Fatal Error After Submission
« Reply #1 on: August 03, 2010, 06:54:42 pm »
Hi,

We're working on it, and it'll be optional soon. Stay tuned, soon will be more updates in google code: http://code.google.com/p/osclass/