Advertisement:

Author Topic: Error When Adding Locations  (Read 1403 times)

millipedeman

  • Newbie
  • *
  • Posts: 1
Error When Adding Locations
« on: January 23, 2011, 01:44:09 am »
When adding a region from the admin panel, I get this message.

Quote
Fatal error: Uncaught exception 'Exception' with message '1452' in /home/teenjobn/public_html/jobs/oc-includes/osclass/db.php:127 Stack trace: #0 /home/teenjobn/public_html/jobs/oc-includes/osclass/classes/DAO.php(192): DB->osc_dbExec('INSERT INTO oc_...') #1 /home/teenjobn/public_html/jobs/oc-admin/settings.php(563): DAO->insert(Array) #2 /home/teenjobn/public_html/jobs/oc-admin/settings.php(116): install_location_by_region() #3 {main} thrown in /home/teenjobn/public_html/jobs/oc-includes/osclass/db.php on line 127

How can I fix this?

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Error When Adding Locations
« Reply #1 on: January 25, 2011, 12:39:40 pm »
Ok, it's happening to me also but only with some countries. Which one have you tried to add when you've got this error?