Examples and qcodo-0.3.32

thread: 3 messages  |  last: about 3 years ago  |  started: sunday, march 16, 2008, 11:49 pm pdt


#1  |  hellsa (Brooklyn, NY) United States of America
Sunday, March 16, 2008, 11:49 PM PDT

Never mind!

I had installed the tables as something other than InnoDB. Once I corrected that the error went away.

Thx!
-------------------------------

Hi!

I've been able to codegen the examples in qcodo-0.3.32 successfully (no errors). However when I click the link for “Many-to-Many Relationships” I get the following error:

Fatal error: Call to undefined method Person::GetProjectAsTeamMemberArray() in C:\data\htdocs\qcodo-0.3.32\wwwroot\examples\code_generator\relationships_many.php on line 69

Please let me know how to correct this.

Thx!

#2  |  mager33 (HB) Germany
Monday, March 24, 2008, 11:52 AM PDT

There's a XML file with settings where you can manually define relationships if you don't go with INNODB
You'll find it here: _devtools/codegen_settings.xml

Look at this example from me:
           <relationships>
               tag.search_id => search.id
               tag.article_id => article.id
           </relationships>

#3  |  hellsa (Brooklyn, NY) United States of America
Monday, March 24, 2008, 11:10 PM PDT

Hi mager33,

Thank you! This is extremely good to know.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.