Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[SOLVED] Error Loading Component with Foreign Key 03 Dec 2012 14:42 #5785

Hi,

PTL = Stock List - Models - item



I think the foreign key from the table "Manufacturers" is messing this up somehow. On entering the item layout in the table "Models" I get an error:

"Error loading component: com_demo7073modelmanufacturer, 1"

The foreign key works in the item layout, so I can select the manufacturer but when I try to save it takes me to a blank screen (index.php).

Hope you can help!

Many thanks

Please Log in or Create an account to join the conversation.

Re: Error Loading Component with Foreign Key 04 Dec 2012 11:36 #5808

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
When you added your foreign key to your form, did you select a field from the table to display in the combo?

Are you using ajax filtering? With a groupby?

What are your COOK config options?

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

Please Log in or Create an account to join the conversation.

Re: Error Loading Component with Foreign Key 04 Dec 2012 11:39 #5810

Just got it working - it was because of my table naming conventions!

I feel silly now!

Many thanks :)

Please Log in or Create an account to join the conversation.

Re: Error Loading Component with Foreign Key 04 Dec 2012 11:43 #5812

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
We're all only human and it is in our nature! ;)

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.168 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started