Habe PHPay 2.02 auf folgendem Rechner installiert:
WinXP, Apache 2.0.43, PHP4.2.3, MySQL 3.23.55.
Wenn ich http://localhost/admin/ aufrufe und die Datenbankparameter eingebe, bekomme ich, wie schon andere User hier im Forum, den "Datenbankparamter ndern:"-Fehler.
Leider werd ich aus den anderen Postings nicht schlau.
Register-global=On hab ich bereits eingestellt.
Bin leider neu in PHP.
Bitte um Hilfe, danke im voraus.
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hm, mit Apache2 habe ich bislang noch nicht mit PHP experimentiert, weil noch dran stand "Wir sind uns nicht sicher, obs funktioniert".
1) Andere PHP-Skripte funktionieren aber vollstndig?
2) Hast Du versucht, Datenbank, Tabellen und *config_db* von hand anzulegen? Wenn ja, regt sich dann etwas?
Gru,
Andreas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-02-10
Klasse, ich hatte gehofft, dass ich eine schnelle Antwort bekomme. Danke schonmal.
Muss zugeben, dass mein erstes Posting nicht gerade viel Infos enthalten hat.
Zu 1) Ja, andere Skripte gehen (angefangen von phpinfo ber hallo welt etc.) :-)
Zu 2) bevor ich das probieren wollte, wollte ich erst posten, bevor ich etwas verkonfiguriere und es nicht mehr rckgngig machen kann.
Wenn ich im jetztigen Stand auf "Configuration" in der Navi klicke, bekomme ich Fehlermeldung "Failed opening required 'config_db.inc.php' (include_path='.;c:\php4\pear') in D:\etc\mysite.de\html\admin\setup.php on line 52
Das was mich wunder ist, dass er den include path mit c:\php4\pear angiebt. Mein PHP-Verzeichnis liegt dort aber nicht.
Ich bin aber noch nicht fndig geworden, wo ich das ndern muss/kann.
Gru
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-02-10
Also, gleich noch mehr info.
Ich hab jetzt mal die config_db.inc.php.orig hergenommen, in config_db.inc.php kopiert und die Werte wie folgt abgendert :
<?php
# autogenerated by admain.php on May 15 2002, 20:13 (CEST)
$db_type = "mysql";
$db_host = "localhost";
$db_user = "martin";
$db_pass = "xxx";
$db_name = "mysite";
?>
Wenn ich dann die Seite /admin/ aufrufe, bekomme ich erstmal irrsinnig viele Fehler :
********************************************
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 11
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 11
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 12
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 12
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 12
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)
Warning: Failed opening 'lang/.inc.php' for inclusion (include_path='.;c:\php4\pear') in D:\etc\mysite.de\html\admin\lang.inc.php on line 11
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)header 18
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)
online:
cart:
*******************************************
Sorry fr das lange Posting.
ber PHPMyAdmin hab ich mir eine DB "mysite" angelegt, allerdings noch keine Tabellen darin.
Wird auch ein Grund sein, warum da so viele Meldungen kommen.
Gru
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Habe PHPay 2.02 auf folgendem Rechner installiert:
WinXP, Apache 2.0.43, PHP4.2.3, MySQL 3.23.55.
Wenn ich http://localhost/admin/ aufrufe und die Datenbankparameter eingebe, bekomme ich, wie schon andere User hier im Forum, den "Datenbankparamter ndern:"-Fehler.
Leider werd ich aus den anderen Postings nicht schlau.
Register-global=On hab ich bereits eingestellt.
Bin leider neu in PHP.
Bitte um Hilfe, danke im voraus.
Martin
Hm, mit Apache2 habe ich bislang noch nicht mit PHP experimentiert, weil noch dran stand "Wir sind uns nicht sicher, obs funktioniert".
1) Andere PHP-Skripte funktionieren aber vollstndig?
2) Hast Du versucht, Datenbank, Tabellen und *config_db* von hand anzulegen? Wenn ja, regt sich dann etwas?
Gru,
Andreas.
Klasse, ich hatte gehofft, dass ich eine schnelle Antwort bekomme. Danke schonmal.
Muss zugeben, dass mein erstes Posting nicht gerade viel Infos enthalten hat.
Zu 1) Ja, andere Skripte gehen (angefangen von phpinfo ber hallo welt etc.) :-)
Zu 2) bevor ich das probieren wollte, wollte ich erst posten, bevor ich etwas verkonfiguriere und es nicht mehr rckgngig machen kann.
Wenn ich im jetztigen Stand auf "Configuration" in der Navi klicke, bekomme ich Fehlermeldung "Failed opening required 'config_db.inc.php' (include_path='.;c:\php4\pear') in D:\etc\mysite.de\html\admin\setup.php on line 52
Das was mich wunder ist, dass er den include path mit c:\php4\pear angiebt. Mein PHP-Verzeichnis liegt dort aber nicht.
Ich bin aber noch nicht fndig geworden, wo ich das ndern muss/kann.
Gru
Martin
Also, gleich noch mehr info.
Ich hab jetzt mal die config_db.inc.php.orig hergenommen, in config_db.inc.php kopiert und die Werte wie folgt abgendert :
<?php
# autogenerated by admain.php on May 15 2002, 20:13 (CEST)
$db_type = "mysql";
$db_host = "localhost";
$db_user = "martin";
$db_pass = "xxx";
$db_name = "mysite";
?>
Wenn ich dann die Seite /admin/ aufrufe, bekomme ich erstmal irrsinnig viele Fehler :
********************************************
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 11
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 11
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 12
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 12
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 12
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)
Warning: Failed opening 'lang/.inc.php' for inclusion (include_path='.;c:\php4\pear') in D:\etc\mysite.de\html\admin\lang.inc.php on line 11
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)header 18
* * mySQLinterbase PostgreSQLODBC Oracle 8MS SQL
* *
* *required
(config.inc.php):
$version = 2.02;
$db_type = mysql;
$db_host = localhost;
$db_user = martin;
$db_pass = *****;
$db_name = mysite;
$order_mail = order@phpay.de;
$shop_mail = shop@phpay.de;
$mailcheck = 1;
$bgcolor1 = #FFFFEE;
$bgcolor2 = #001100;
$bgcolor3 = #336611;
$bgcolor4 = #669966;
$bgform = #F7F7F5;
$aacolor = #FF0000;
$logo = img/phPayV2.gif;
$site_name = phPay local;
$site_title = phPay - Demo in action.;
$hp_url = http://www.sourceforge.net/projects/phpay;
$nav_width = 165;
$nav_horiz = 0;
$tree = 2;
$showcart = right;
$show_null = 0;
$clg = 0;
$chg_lang = 1;
$chg_cur = 1;
$automail = 1;
$max_item = 20;
$view_limit = 2
$litems = show_item_0.inc.php
$psm_cursym = EUR
$use_stock = 1
$auto_convert = 1
$dflt_lang = 2
$dflt_cur = 2
PHP-Version 4.2.3 (complete PHP-info)
Apache/2.0.43 (Win32)
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)
Warning: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Warning: MySQL: A link to the server could not be established in D:\etc\mysite.de\html\admin\db_func.inc.php on line 61
Can't connect to MySQL server on 'localhost' (10061)
online:
cart:
*******************************************
Sorry fr das lange Posting.
ber PHPMyAdmin hab ich mir eine DB "mysite" angelegt, allerdings noch keine Tabellen darin.
Wird auch ein Grund sein, warum da so viele Meldungen kommen.
Gru
Martin