Menu

#39 Incorrectly generated code (3.0.2)

PCG v3.0
closed-fixed
nobody
5
2005-05-01
2005-04-08
fshsweden
No

I used the Generate All CRUD code... from the Advanced
section.

in the config\classConstants.inc.php file, the
LIB_COMPONENT is incorrectly defined. Apparently yopu
have moved the directory.

Here is my fix:

//define("LIB_COMPONENT",COMMON_COMPONENT.FILE_SEPARATOR."lib");
define("LIB_COMPONENT",APP_PATH.FILE_SEPARATOR."lib");

Also, if you run the genie with display_errors="1" you
will get a number of warnings about undefined variables
etc.

Is a fix planned, because I was thinking of using this
tool for my development.

Also, how about an option generating "<?php" instead of
just "<?"

Thanks
Peter

Discussion

  • Nilesh Dosooye

    Nilesh Dosooye - 2005-05-01
    • status: open --> closed-fixed
     
  • Nilesh Dosooye

    Nilesh Dosooye - 2005-05-01

    Logged In: YES
    user_id=398388

    LIB COMPONENT FIXED...

    will try to make all generate <?php eventually.. have had
    some issues myself when using XML in php... with the <?

     

Log in to post a comment.