Menu

Problems running

2003-02-06
2013-04-17
  • Alessandro Oehler

    Hi !!

    I have downloaded 1.4 Version and followed the instructions. So far so good.

    After setting settings.php i startet loading the Website.

    This is what i get:

    \n\n"; $pagefooter="\n\n"; $genieVersion = "1.4"; // Language settings // Still in Development include("./lang/lang_english.inc.php"); ?> The host name is empty!

    any idea ???

    I saw someone reportet it allready as bug.

    Thanks for help

    Alessandro

     
    • Nilesh Dosooye

      Nilesh Dosooye - 2003-02-06

      cant reproduce this error... please make sure that there's no typo in ur settings.php file.. and that you are not closing the php tag ( ?> ) before the last one.

       
    • Alessandro Oehler

      This is the original File from 1.4 version.Not Cvs.

      The only thing i have changed are these two settings, to connect to my Database.

      $MySqlUsername = "xxxx";
      $MySqlPassword = "xxxxxx";

      The rest i left unchanged.

      any Ideas

      ----------------------------------cut-------------------------------------
      <?
            // MySQL Settings
            // Change thee to your current Db Settings

            $MySqlHostname = "localhost";
            $MySqlUsername = "xxxx";
            $MySqlPassword = "xxxxxx";

                // This is the string appended to formElements
                // and used in scripts needing them
                $stringToAppendToField = "Field";

                // Row Colors
                $row1BgColor = "#FFFFFF";
                $row2BgColor = "#C0C0C0";

                // Database connection
                // this indicates whether you want full database connection script in your code
                // or an include statement for the connection script
                $fullDbConnectionCode = "y";

                // if you want to include a connection script for your database
                // please put the your database connection script file here
                $dbConnectionFile = "include(\&quot;datacon.php\&quot;);";

                // header and footer of generated Code
                $pageheader="<?\ninclude(\&quot;head.php\&quot;);\n $dbConnectionFile \n?>\n\n";
                $pagefooter="\n\n<?\ninclude(\&quot;foot.php\&quot;);\n?>";

                $genieVersion = "1.4";

                // Language settings
                // Still in Development
                include("./lang/lang_english.inc.php");
      ?>
      ---------------------------cut-----------------------------

       
    • Anonymous

      Anonymous - 2003-02-07

      I don't know if this will help you at all, I was getting the same error on my system and I changed the settings.php to match this. The changes were to some of the syntax doublequote to single and inserting the "php" elements after "<?", mainly on the header and footer include lines. Don't know why but this got me further than before. Now I've just got a "cannot load MySQL extension" error. But I'm pretty sure that's to do with my php setup (which has been heavily modified till it resembles something the cat dragged in, thought twice about and then threw outside again).

      Cheers.

      ----cut----
      <?php

            // MySQL Settings
            // Change thee to your current Db Settings

            $MySqlHostname = "localhost";
            $MySqlUsername = "******";
            $MySqlPassword = "******";

                // This is the string appended to formElements
                // and used in scripts needing them
                $stringToAppendToField = "Field";

                // Row Colors
                $row1BgColor = "#FFFFFF";
                $row2BgColor = "#C0C0C0";

                // Database connection
                // this indicates whether you want full database connection script in your code
                // or an include statement for the connection script
                $fullDbConnectionCode = "y";

                // if you want to include a connection script for your database
                // please put the your database connection script file here
                $dbConnectionFile = "include(\&quot;datacon.php\&quot;);";

                // header and footer of generated Code
                $pageheader="<?php  include(\'head.php\'); $dbConnectionFile ?> ";
                $pagefooter="\n\n <?php \n include(\'foot.php\'); \n ?> ";

                $genieVersion = "1.4";

                // Language settings
                // Still in Development
                include("./lang/lang_english.inc.php");
      ?>
      ----cut----

       
    • Dan Jost

      Dan Jost - 2003-10-23

      Check your php.ini file, it probably is not set to allow the <? tags (I know this is an old post, but perhaps it will help someone else down the road with this problem...)

      Dan

       
  • arizmendi

    arizmendi - 2010-08-26

    as djost said, it could probably help some one, as did with me, Using Fedora Core 13 64 bits (latest fedora from augu 2010)
    so the only thing was left was reading this post.

    Th eline you have to put to solve this to modify /etc/php.ini (or whatever path you use to this file ), and modify the line
    short_open_tag = on    (be default is off) so pcg can work with this set to off.

    Thanks again  to PCG for this incredible work, i am using it since 2004, and still the best ..

    Thaks dudes
    Hope this helps other people as did with me.

     
  • mamiju

    mamiju - 2011-11-11

    I would say the sourcecode is between 5 and 6 years old.
    I received plenty of deprectated message when running the scripts with php5.3.
    Despite this error messages e.g. the script for Database Lister did work.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.