i don`t know how to instal please give me an exemple. I have: FoxServ3.1Beta1 installed and the folowing folders:
C:\EasyServ\apache\Apache.exe
C:\EasyServ\php\php.exe
C:\EasyServ\mysql\bin\mysqld-nt.exe
C:\EasyServ\www\phpCodeGenie\index.php
please make a config file for me :D , I tried everything and I get the error: <html>Warning: open(/tmp\sess_b27dc04452769bd7e632c7e19ab7a4e0, O_RDWR) failed: No such file or directory (2) in C:\EasyServ\www\phpCodeGenie\app\settings\genieConfiguration.inc.php on line 2 </html>
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this is not a phpCodegnie bug.. this is problem in your server configuration.. edit ur php.ini file and change the session temp directory from /tmp to c:\temp.. or else ur php installation wont accept sessions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-08-14
Yessss ! :) It`s working , thank you very much. Here is my config files, for who need it:
.htaccess :
php_value include_path "C:/EasyServ/www/phpCodeGenie/app/settings/"
genieConfiguration.inc.php :
/* // Linux Server
define("SITE_PATH","/path/to/phpCodeGenie"); // no trailing slashes
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
*/
// Windows Server
define("SITE_PATH","C:\\EasyServ\\www\\phpCodeGenie"); // no trailing slashes
define("FILE_SEPARATOR", "\\");
// win or nix
define("OS_TYPE","win");
..................
thanks again nileshd :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
<?
session_start();
define("URL_ADDRESS","http://localhost/phpCodeGenie3/web/");
// Windows Server
define("SITE_PATH","D:\\www\\phpCodeGenie3"); // no trailing slashes
define("FILE_SEPARATOR", "\\");
// win or nix
define("OS_TYPE","win");
?>
my error =
Warning: main(INC_MAIN_PAGE) [function.main]: failed to open stream: No such file or directory in D:\www\phpCodeGenie3\index.php on line 2
Warning: main() [function.include]: Failed opening 'INC_MAIN_PAGE' for inclusion (include_path='.;C:\Program Files\PHP Home Edition 2\Apache2\php\') in D:\www\phpCodeGenie3\index.php on line
email: marc.vanockerhout@knokke-heist.be
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
// Specify the language that you want to use phpCodeGenie in
// You can make your own language file if it does exist yet
// and send your contribution back to phpCodeGenie
define("LANGUAGE_FILE",APP_PATH.FILE_SEPARATOR."language".FILE_SEPARATOR."lang_english.inc.php");
// Linux Server
define("SITE_PATH","file:/srv/www/htdocs/phpCodeGenie3"); // no trailing slashes
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
/*
// Windows Server
define("SITE_PATH","D:\\projects\\phpCodeGenie3.0"); // no trailing slashes
define("FILE_SEPARATOR", "\\");
// win or nix
define("OS_TYPE","win");
*/
// Specify the language that you want to use phpCodeGenie in
// You can make your own language file if it does exist yet
// and send your contribution back to phpCodeGenie
define("LANGUAGE_FILE",APP_PATH.FILE_SEPARATOR."language".FILE_SEPARATOR."lang_english.inc.php");
Warning: main(file:/srv/www/htdocs/phpCodeGenie3/app/settings/definitions.inc.php): failed to open stream: No such file or directory in /usr/include/genieConfiguration.inc.php on line 31
Warning: main(): Failed opening 'file:/srv/www/htdocs/phpCodeGenie3/app/settings/definitions.inc.php' for inclusion (include_path='/usr/include') in /usr/include/genieConfiguration.inc.php on line 31
Warning: main(INC_LOGIN_PAGE): failed to open stream: No such file or directory in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22
Warning: main(): Failed opening 'INC_LOGIN_PAGE' for inclusion (include_path='/usr/include') in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22
email: k.bammert@harry-roth.de
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
// Linux Server
define("SITE_PATH","/srv/www/htdocs/phpCodeGenie3"); // no trailing slashes
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
// Specify the language that you want to use phpCodeGenie in
// You can make your own language file if it does exist yet
// and send your contribution back to phpCodeGenie
define("LANGUAGE_FILE",APP_PATH.FILE_SEPARATOR."language".FILE_SEPARATOR."lang_english.inc.php");
Warning: main(genieConfiguration.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 1
Warning: main(): Failed opening 'genieConfiguration.inc.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 1
Warning: main(INC_LOGIN_PAGE): failed to open stream: No such file or directory in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22
Warning: main(): Failed opening 'INC_LOGIN_PAGE' for inclusion (include_path='.:') in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-08-20
It works!!!
It was a problem with the include_path directory. I set it to .../phpCodeGenie/app/settings/.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i don`t know how to instal please give me an exemple. I have: FoxServ3.1Beta1 installed and the folowing folders:
C:\EasyServ\apache\Apache.exe
C:\EasyServ\php\php.exe
C:\EasyServ\mysql\bin\mysqld-nt.exe
C:\EasyServ\www\phpCodeGenie\index.php
please make a config file for me :D , I tried everything and I get the error: <html>Warning: open(/tmp\sess_b27dc04452769bd7e632c7e19ab7a4e0, O_RDWR) failed: No such file or directory (2) in C:\EasyServ\www\phpCodeGenie\app\settings\genieConfiguration.inc.php on line 2 </html>
thanks
this is not a phpCodegnie bug.. this is problem in your server configuration.. edit ur php.ini file and change the session temp directory from /tmp to c:\temp.. or else ur php installation wont accept sessions.
Yessss ! :) It`s working , thank you very much. Here is my config files, for who need it:
.htaccess :
php_value include_path "C:/EasyServ/www/phpCodeGenie/app/settings/"
genieConfiguration.inc.php :
<?
session_start();
define("URL_ADDRESS","http://localhost/phpCodeGenie/web/");
/* // Linux Server
define("SITE_PATH","/path/to/phpCodeGenie"); // no trailing slashes
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
*/
// Windows Server
define("SITE_PATH","C:\\EasyServ\\www\\phpCodeGenie"); // no trailing slashes
define("FILE_SEPARATOR", "\\");
// win or nix
define("OS_TYPE","win");
..................
thanks again nileshd :)
Help
my genieConfiguration.inc.php =
<?
session_start();
define("URL_ADDRESS","http://localhost/phpCodeGenie3/web/");
// Windows Server
define("SITE_PATH","D:\\www\\phpCodeGenie3"); // no trailing slashes
define("FILE_SEPARATOR", "\\");
// win or nix
define("OS_TYPE","win");
?>
my error =
Warning: main(INC_MAIN_PAGE) [function.main]: failed to open stream: No such file or directory in D:\www\phpCodeGenie3\index.php on line 2
Warning: main() [function.include]: Failed opening 'INC_MAIN_PAGE' for inclusion (include_path='.;C:\Program Files\PHP Home Edition 2\Apache2\php\') in D:\www\phpCodeGenie3\index.php on line
email: marc.vanockerhout@knokke-heist.be
how about the rest of ur configuration file.. do you have this after waht u have..
define("WEB_SEPARATOR","/");
define("APP_PATH",SITE_PATH.FILE_SEPARATOR."app");
define("WEB_PATH",SITE_PATH.FILE_SEPARATOR."web");
// Specify the language that you want to use phpCodeGenie in
// You can make your own language file if it does exist yet
// and send your contribution back to phpCodeGenie
define("LANGUAGE_FILE",APP_PATH.FILE_SEPARATOR."language".FILE_SEPARATOR."lang_english.inc.php");
define("CONFIG_COMPONENT",APP_PATH.FILE_SEPARATOR."settings");
define("CONFIG_FILE",CONFIG_COMPONENT.FILE_SEPARATOR."definitions.inc.php");
include_once(CONFIG_FILE);
You need these also in ur file..
I found it,
I had to simply remove the unix lines
Thankx anyway, great program
Please Help me....
my genieConfiguration.inc.php:
<?
session_start();
define("URL_ADDRESS","http://localhost/phpCodeGenie3/web/");
// Linux Server
define("SITE_PATH","file:/srv/www/htdocs/phpCodeGenie3"); // no trailing slashes
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
/*
// Windows Server
define("SITE_PATH","D:\\projects\\phpCodeGenie3.0"); // no trailing slashes
define("FILE_SEPARATOR", "\\");
// win or nix
define("OS_TYPE","win");
*/
define("WEB_SEPARATOR","/");
define("APP_PATH",SITE_PATH.FILE_SEPARATOR."app");
define("WEB_PATH",SITE_PATH.FILE_SEPARATOR."web");
// Specify the language that you want to use phpCodeGenie in
// You can make your own language file if it does exist yet
// and send your contribution back to phpCodeGenie
define("LANGUAGE_FILE",APP_PATH.FILE_SEPARATOR."language".FILE_SEPARATOR."lang_english.inc.php");
define("CONFIG_COMPONENT",APP_PATH.FILE_SEPARATOR."settings");
define("CONFIG_FILE",CONFIG_COMPONENT.FILE_SEPARATOR."definitions.inc.php");
include_once(CONFIG_FILE);
?>
my errors:
Warning: main(file:/srv/www/htdocs/phpCodeGenie3/app/settings/definitions.inc.php): failed to open stream: No such file or directory in /usr/include/genieConfiguration.inc.php on line 31
Warning: main(): Failed opening 'file:/srv/www/htdocs/phpCodeGenie3/app/settings/definitions.inc.php' for inclusion (include_path='/usr/include') in /usr/include/genieConfiguration.inc.php on line 31
Warning: main(INC_LOGIN_PAGE): failed to open stream: No such file or directory in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22
Warning: main(): Failed opening 'INC_LOGIN_PAGE' for inclusion (include_path='/usr/include') in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22
email: k.bammert@harry-roth.de
in the line
define("SITE_PATH","file:/srv/www/htdocs/phpCodeGenie3"); // no trailing slashes
you cannot put "file:".. you have to put an absolute path...
Please help again....
I did new download, new installation, changed the path in the genieConfiguration.inc.php:
<?
session_start();
define("URL_ADDRESS","http://localhost/phpCodeGenie3/web/");
// Linux Server
define("SITE_PATH","/srv/www/htdocs/phpCodeGenie3"); // no trailing slashes
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
define("WEB_SEPARATOR","/");
define("APP_PATH",SITE_PATH.FILE_SEPARATOR."app");
define("WEB_PATH",SITE_PATH.FILE_SEPARATOR."web");
// Specify the language that you want to use phpCodeGenie in
// You can make your own language file if it does exist yet
// and send your contribution back to phpCodeGenie
define("LANGUAGE_FILE",APP_PATH.FILE_SEPARATOR."language".FILE_SEPARATOR."lang_english.inc.php");
define("CONFIG_COMPONENT",APP_PATH.FILE_SEPARATOR."settings");
define("CONFIG_FILE",CONFIG_COMPONENT.FILE_SEPARATOR."definitions.inc.php");
include_once(CONFIG_FILE);
?>
my new errors:
Warning: main(genieConfiguration.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 1
Warning: main(): Failed opening 'genieConfiguration.inc.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 1
Warning: main(INC_LOGIN_PAGE): failed to open stream: No such file or directory in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22
Warning: main(): Failed opening 'INC_LOGIN_PAGE' for inclusion (include_path='.:') in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22
It works!!!
It was a problem with the include_path directory. I set it to .../phpCodeGenie/app/settings/.
Two problems.
1. In genieConfiguration.inc.php
If I leave a trailing / on URL_ADDRESS, then I get a double / after clicking on rub the lamp.
http:// . . /phpCodeGenie3/web//common/invokeGenie.php
2. I take out the slash. I get a Page cannot be displayed.