I followed the installation instruction meticulously and resolved several installation issues to this point and I can not make any further progress. I keep on getting this error message:
Warning: main(genieConfiguration.inc.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 1
Warning: main(): Failed opening 'genieConfiguration.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 1
Warning: main(CLASS_DATABASE_CONNECTION_POOL): failed to open stream: No such file or directory in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 2
Warning: main(): Failed opening 'CLASS_DATABASE_CONNECTION_POOL' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 2
Fatal error: Cannot instantiate non-existent class: databaseconnectionpool in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 13
I've searched the forums using the keywords and the solutions I found is not really related to the actial problem but workarounds not addressing the real issue.
The issue seems to be related to a class being used in the application that is not installed on my server. If this is the case, what is the name of the class and where do I get it? Is it a PHP class? Can one of the developers shed some light on this issue.
Best regards
Jattie van der Linde
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your problem stems from the fact that PCG cannot find the file genieConfiguration.inc.php. The most probable reason for this is that you have set your include_path directive in your php.ini file or .htacess file correctly. Sorry you seem to be having trouble, but it may be of small comfort that quite alot of people find it difficult to get started with PCG. It is quite good once you get it configured.
Freakaziod
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just had a look at what I did to get started several months ago. This may help you get off the mark (I'm assuming you are using apache):
create a .htacccess file in the folder/directory of your PCG code. Within the file create an entry such as: php_value include_path /path/to/PCG/app/settings
This should get you started.
Freakazoid
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found that one has to create an 'includes' folder in the php root directory. Then copy the genieConfiguration.inc.php into it.
Then I got similar error messages. Thing I found was that the 'genieConfiguration.inc.php' file is delivered ready for running on an apache sever assumed to be running on a Linux OS. It did this by the /************ used to comment out the Windows OS code.**********/
I swapped them so they look like this:-
/*****************
// Linux Server
define("SITE_PATH","/usr/local/apache/htdocs/phpCodeGenie3.0");
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
***************/
// Windows Server
define("SITE_PATH","C:\\public_html\\phpCodeGenie3"); // no trailing slashes
define("FILE_SEPARATOR", "\\");
// win or nix
define("OS_TYPE","win");
So the windows is the OS. I took it that the 'SITE_PATH' is the same as Apache 'Document_Root' and it seems to work!
Regards
Andy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I followed the installation instruction meticulously and resolved several installation issues to this point and I can not make any further progress. I keep on getting this error message:
Cannot instantiate non-existent class: databaseconnectionpool
The full error code returned is:
Warning: main(genieConfiguration.inc.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 1
Warning: main(): Failed opening 'genieConfiguration.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 1
Warning: main(CLASS_DATABASE_CONNECTION_POOL): failed to open stream: No such file or directory in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 2
Warning: main(): Failed opening 'CLASS_DATABASE_CONNECTION_POOL' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 2
Fatal error: Cannot instantiate non-existent class: databaseconnectionpool in /home/xxxxxx/public_html/phpCodeGenie/web/common/invokeGenie.php on line 13
I've searched the forums using the keywords and the solutions I found is not really related to the actial problem but workarounds not addressing the real issue.
https://sourceforge.net/forum/message.php?msg_id=3087378
https://sourceforge.net/forum/forum.php?thread_id=1173979&forum_id=397705.
The issue seems to be related to a class being used in the application that is not installed on my server. If this is the case, what is the name of the class and where do I get it? Is it a PHP class? Can one of the developers shed some light on this issue.
Best regards
Jattie van der Linde
Your problem stems from the fact that PCG cannot find the file genieConfiguration.inc.php. The most probable reason for this is that you have set your include_path directive in your php.ini file or .htacess file correctly. Sorry you seem to be having trouble, but it may be of small comfort that quite alot of people find it difficult to get started with PCG. It is quite good once you get it configured.
Freakaziod
I've just had a look at what I did to get started several months ago. This may help you get off the mark (I'm assuming you are using apache):
create a .htacccess file in the folder/directory of your PCG code. Within the file create an entry such as: php_value include_path /path/to/PCG/app/settings
This should get you started.
Freakazoid
I found that one has to create an 'includes' folder in the php root directory. Then copy the genieConfiguration.inc.php into it.
Then I got similar error messages. Thing I found was that the 'genieConfiguration.inc.php' file is delivered ready for running on an apache sever assumed to be running on a Linux OS. It did this by the /************ used to comment out the Windows OS code.**********/
I swapped them so they look like this:-
/*****************
// Linux Server
define("SITE_PATH","/usr/local/apache/htdocs/phpCodeGenie3.0");
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
***************/
// Windows Server
define("SITE_PATH","C:\\public_html\\phpCodeGenie3"); // no trailing slashes
define("FILE_SEPARATOR", "\\");
// win or nix
define("OS_TYPE","win");
So the windows is the OS. I took it that the 'SITE_PATH' is the same as Apache 'Document_Root' and it seems to work!
Regards
Andy