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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
// 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(\"datacon.php\");";
// header and footer of generated Code
$pageheader="<?\ninclude(\"head.php\");\n $dbConnectionFile \n?>\n\n";
$pagefooter="\n\n<?\ninclude(\"foot.php\");\n?>";
$genieVersion = "1.4";
// Language settings
// Still in Development
include("./lang/lang_english.inc.php");
?>
---------------------------cut-----------------------------
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
// 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(\"datacon.php\");";
// 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----
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
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(\"datacon.php\");";
// header and footer of generated Code
$pageheader="<?\ninclude(\"head.php\");\n $dbConnectionFile \n?>\n\n";
$pagefooter="\n\n<?\ninclude(\"foot.php\");\n?>";
$genieVersion = "1.4";
// Language settings
// Still in Development
include("./lang/lang_english.inc.php");
?>
---------------------------cut-----------------------------
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(\"datacon.php\");";
// 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----
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
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.
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.