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.081 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started