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

TOPIC:

[CLOSED] Table 'appartement.w8nby_trouwers_trouwers' doesn' 06 Aug 2012 06:01 #3019

- When i try to use the component in a menu entry (front end) I get the following message :
Table 'appartement.w8nby_trouwers_trouwers' doesn't exist SQL=SELECT `gebruiker` FROM w8nby_trouwers_trouwers WHERE id = 0
- When i use the freshly installed component in the back-end i works good

- When I look i PHPMyAdmin I see a table ' 'appartement.w8nby_trouwers'

- when I the create a table 'appartement.w8nby_trouwers_trouwers' everthing functions as expected.

Did I do something wrong while creating the component ?

herman

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

Last edit: by hermanvancauwelaert.

Re: Table 'appartement.w8nby_trouwers_trouwers' doesn' 06 Aug 2012 11:08 #3025

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
It is because if the 'view name' = 'component name', the created table is shortest. It is a natural feature to simplify the db names.

I see it should issue in your case.

TODO :
in the builder change your 'collection view alias' OR the 'component alias'.
Coding is now a piece of cake
The following user(s) said Thank You: hermanvancauwelaert

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

Re: Table 'appartement.w8nby_trouwers_trouwers' doesn' 08 Aug 2012 13:47 #3068

thankx very much
herman

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

  • Page:
  • 1
Time to create page: 0.224 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