looks my problem is similar like martin's, although i don't understand Germany.
first i use php +mysql and it works fine with some other applications.
Now the problems
When type localhost/phpayv2/admin/admin
it shows webpage can't be accessed.
then I tried to use localhost/.../index.php, or .../setup.php. it shows a lot of undefined variables.
this is what i get from setup.php
Notice: Undefined variable: config in c:\inetpub\wwwroot\phpayv21\admin\setup.php on line 6
Warning: main(config_db.inc.php) [function.main]: failed to create stream: No such file or directory in c:\inetpub\wwwroot\phpayv21\admin\setup.php on line 50
Fatal error: main() [function.main]: Failed opening required 'config_db.inc.php' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\phpayv21\admin\setup.php on line 50
thanks for the help
pother
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I myself had also the same problems, but its works great now....
Tell me your setup and try to help you.
Greetz.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-02-11
the version i use is
phpay 2.02
mysql 3.23.55
php 4.3.0
and IIS 5.1
Thank you Greetz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-02-11
Hi,
sorry for posting in german in the other discussion, sometimes its more easily to get things solved in your own language :-)
Have you tried to access "localhost/admin/" ?
You only described that you cant access "localhost/admin/admin".
Then you get the database-parameter setup and this is where I get my errors.
Greetings
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
MySql:
Be sure you edit your my.ini file for mysql the right way. (located in your windows dir.)
PhP:
Also your PhP.ini file is located in windows dir.
register_globals = On
; Windows: "\path1;\path2"
include_path = ".;c:\webserver\php\includes;c:\webserver\php;c:\webserver\pear"
--> so also download pear 1.0.1
Furtheron do not enter any details about your mysql. Save that for the config.inc.php.
Somewhere you also need to configure something extra for IIS but I do not remember what... But if it already works... it should be fine.
Be sure you do not have the files (or rename them) phpayv22/config.inc.php, phppayv22/config_db.inc.php and phpayv22/admin/config.inc.php
By the option phpayv22(your alias)/admin/index.php You can create your database. Be sure you enter the right ip-adress, username for the database and also your pass. (standard 'root'/'' ) Also use an unique database name. Check the boxes create database and table and everything should work fine!!!!
Henk.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-02-12
thx martin and henk
Sry for my type error, i do tried /localhost/phpayv2/admin.
And I try to follow henk's step. but still not work.no luck. I am going to try for some more before i give up.
I am a totally newbie for php. but the error i got looks like some undefined variables error. Not sure those are self-defined variables for system variables. Maybe my php.exe interpreter has problem? For the index.php page. I can see partial of the page corretly with some error infos.
There are another oscommerce software, i tried with same kind of problems. But think this one is not cosmetically better than that one. Haven't got any luck to compare them functional wise.
Need to think and try.....
BTW is that pear thing required? and after modified the php.ini file, i don't need to restart machine or service as mysql, right
Thanks again.
__________________________________________
error info got from index.php
Notice: Undefined variable: db_func_loaded in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 16
Notice: Undefined variable: site_title in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 37
Notice: Undefined variable: mode in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 3
Notice: Undefined variable: db_func_loaded in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 16
Notice: Undefined variable: caller in c:\inetpub\wwwroot\phpayv22\admin\lang.inc.php on line 12
Notice: Undefined variable: site_title in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 37
Notice: Undefined variable: caller in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 41
Notice: Undefined variable: sellang in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 41
First enter database parameters:
Notice: Undefined variable: db_host in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 131
Notice: Undefined variable: db_user in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 136
Database user* Password*
Notice: Undefined variable: db_name in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 138
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-02-12
thx martin and henk
Sry for my type error, i do tried /localhost/phpayv2/admin.
And I try to follow henk's step. but still not work.no luck. I am going to try for some more before i give up.
I am a totally newbie for php. but the error i got looks like some undefined variables error. Not sure those are self-defined variables for system variables. Maybe my php.exe interpreter has problem? For the index.php page. I can see partial of the page corretly with some error infos.
There are another oscommerce software, i tried with same kind of problems. But think this one is not cosmetically better than that one. Haven't got any luck to compare them functional wise.
Need to think and try.....
BTW is that pear thing required? and after modified the php.ini file, i don't need to restart machine or service as mysql, right
Thanks again.
__________________________________________
error info got from index.php
Notice: Undefined variable: db_func_loaded in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 16
Notice: Undefined variable: site_title in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 37
Notice: Undefined variable: mode in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 3
Notice: Undefined variable: db_func_loaded in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 16
Notice: Undefined variable: caller in c:\inetpub\wwwroot\phpayv22\admin\lang.inc.php on line 12
Notice: Undefined variable: site_title in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 37
Notice: Undefined variable: caller in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 41
Notice: Undefined variable: sellang in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 41
First enter database parameters:
Notice: Undefined variable: db_host in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 131
Notice: Undefined variable: db_user in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 136
Database user* Password*
Notice: Undefined variable: db_name in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 138
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
looks my problem is similar like martin's, although i don't understand Germany.
first i use php +mysql and it works fine with some other applications.
Now the problems
When type localhost/phpayv2/admin/admin
it shows webpage can't be accessed.
then I tried to use localhost/.../index.php, or .../setup.php. it shows a lot of undefined variables.
this is what i get from setup.php
Notice: Undefined variable: config in c:\inetpub\wwwroot\phpayv21\admin\setup.php on line 6
Warning: main(config_db.inc.php) [function.main]: failed to create stream: No such file or directory in c:\inetpub\wwwroot\phpayv21\admin\setup.php on line 50
Fatal error: main() [function.main]: Failed opening required 'config_db.inc.php' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\phpayv21\admin\setup.php on line 50
thanks for the help
pother
Which versions you have at the moment.
I myself had also the same problems, but its works great now....
Tell me your setup and try to help you.
Greetz.
the version i use is
phpay 2.02
mysql 3.23.55
php 4.3.0
and IIS 5.1
Thank you Greetz
Hi,
sorry for posting in german in the other discussion, sometimes its more easily to get things solved in your own language :-)
Have you tried to access "localhost/admin/" ?
You only described that you cant access "localhost/admin/admin".
Then you get the database-parameter setup and this is where I get my errors.
Greetings
Martin
MySql:
Be sure you edit your my.ini file for mysql the right way. (located in your windows dir.)
PhP:
Also your PhP.ini file is located in windows dir.
register_globals = On
; Windows: "\path1;\path2"
include_path = ".;c:\webserver\php\includes;c:\webserver\php;c:\webserver\pear"
--> so also download pear 1.0.1
Furtheron do not enter any details about your mysql. Save that for the config.inc.php.
Somewhere you also need to configure something extra for IIS but I do not remember what... But if it already works... it should be fine.
Be sure you do not have the files (or rename them) phpayv22/config.inc.php, phppayv22/config_db.inc.php and phpayv22/admin/config.inc.php
By the option phpayv22(your alias)/admin/index.php You can create your database. Be sure you enter the right ip-adress, username for the database and also your pass. (standard 'root'/'' ) Also use an unique database name. Check the boxes create database and table and everything should work fine!!!!
Henk.
thx martin and henk
Sry for my type error, i do tried /localhost/phpayv2/admin.
And I try to follow henk's step. but still not work.no luck. I am going to try for some more before i give up.
I am a totally newbie for php. but the error i got looks like some undefined variables error. Not sure those are self-defined variables for system variables. Maybe my php.exe interpreter has problem? For the index.php page. I can see partial of the page corretly with some error infos.
There are another oscommerce software, i tried with same kind of problems. But think this one is not cosmetically better than that one. Haven't got any luck to compare them functional wise.
Need to think and try.....
BTW is that pear thing required? and after modified the php.ini file, i don't need to restart machine or service as mysql, right
Thanks again.
__________________________________________
error info got from index.php
Notice: Undefined variable: db_func_loaded in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 16
Notice: Undefined variable: site_title in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 37
Notice: Undefined variable: mode in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 3
Notice: Undefined variable: db_func_loaded in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 16
Notice: Undefined variable: caller in c:\inetpub\wwwroot\phpayv22\admin\lang.inc.php on line 12
Notice: Undefined variable: site_title in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 37
Notice: Undefined variable: caller in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 41
Notice: Undefined variable: sellang in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 41
First enter database parameters:
Notice: Undefined variable: db_host in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 131
Notice: Undefined variable: db_user in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 136
Database user* Password*
Notice: Undefined variable: db_name in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 138
thx martin and henk
Sry for my type error, i do tried /localhost/phpayv2/admin.
And I try to follow henk's step. but still not work.no luck. I am going to try for some more before i give up.
I am a totally newbie for php. but the error i got looks like some undefined variables error. Not sure those are self-defined variables for system variables. Maybe my php.exe interpreter has problem? For the index.php page. I can see partial of the page corretly with some error infos.
There are another oscommerce software, i tried with same kind of problems. But think this one is not cosmetically better than that one. Haven't got any luck to compare them functional wise.
Need to think and try.....
BTW is that pear thing required? and after modified the php.ini file, i don't need to restart machine or service as mysql, right
Thanks again.
__________________________________________
error info got from index.php
Notice: Undefined variable: db_func_loaded in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 16
Notice: Undefined variable: site_title in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 37
Notice: Undefined variable: mode in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 3
Notice: Undefined variable: db_func_loaded in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 16
Notice: Undefined variable: caller in c:\inetpub\wwwroot\phpayv22\admin\lang.inc.php on line 12
Notice: Undefined variable: site_title in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 37
Notice: Undefined variable: caller in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 41
Notice: Undefined variable: sellang in c:\inetpub\wwwroot\phpayv22\admin\header.inc.php on line 41
First enter database parameters:
Notice: Undefined variable: db_host in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 131
Notice: Undefined variable: db_user in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 136
Database user* Password*
Notice: Undefined variable: db_name in c:\inetpub\wwwroot\phpayv22\admin\admain.php on line 138