Problem bei osCommerce und mysqli / PDO(?)

Nabend,

ich habe gerade osCommerce installiert und bekomme auf der fertigen Seite nun folgenden fehler

[code]Deprecated: mysql_connect() [function.mysql-connect]: The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /users/name/www/includes/functions/database.php on line 19

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /users/name/www/includes/functions/database.php:19) in /users/name/www/includes/functions/sessions.php on line 102

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /users/name/www/includes/functions/database.php:19) in /users/name/www/includes/functions/sessions.php on line 102[/code]

nur sagt mir das nicht wirklich etwas… Bei der installation habe ich soweit alles richtig eingegeben (ist jetzt auch nicht so schwer :unamused: )

Ins Admin Tool komme ich auch nicht, dann kommt

[code]
Deprecated: mysql_connect() [function.mysql-connect]: The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /users/name/www/admin/includes/functions/database.php on line 19

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /users/name/www/admin/includes/functions/database.php:19) in /users/name/www/admin/includes/functions/sessions.php on line 102

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /users/name/www/admin/includes/functions/database.php:19) in /users/name/www/admin/includes/functions/sessions.php on line 102

Warning: Cannot modify header information - headers already sent by (output started at /users/name/www/admin/includes/functions/database.php:19) in /users/name/www/admin/includes/functions/general.php on line 34[/code]

kann mir jemand helfen?

beste Grüße

EDIT:

Was ich noch garnicht erwähnt habe ist:

diese anleitung von oscommerce habe ich auch schon probiert, funktioniert allerdings nicht :neutral_face:

[code]
Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /users/name/www/includes/application_top.php on line 299

Fatal error: require() [function.require]: Failed opening required ‘includes/languages/.php’ (include_path=’.’) in /users/name/www/includes/application_top.php on line 299

Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given in /users/name/www/includes/functions/database.php on line 129

Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /users/name/www/includes/functions/database.php on line 42

Warning: mysqli_errno() expects parameter 1 to be mysqli, null given in /users/name/www/includes/functions/database.php on line 42

Warning: mysqli_error() expects parameter 1 to be mysqli, null given in /users/name/www/includes/functions/database.php on line 42

select count(*) as total from sessions where sesskey = ‘’

[TEP STOP][/code]

ok ich habs gelöst. Manchmal geht probieren tatsächlich über studieren :smiley:

Für alle die den gleichen fehler haben und hier landen, hier die lösung: (ich denk ja an meine mitmenschen :wink: )

Stellt eure OsCommerce boardsprache auf deutsch. Das beseitigt schonmal vieles.
Dann bekommt ihr ab und zu noch fehlermeldungen wie:

[code]
Deprecated: Function ereg() is deprecated in /home/jetstrea/public_html/catalog/includes/functions/general.php on line 1094

Warning: Cannot modify header information - headers already sent by (output started at /home/jetstrea/public_html/catalog/includes/functions/general.php:1094) in /home/jetstrea/public_html/catalog/includes/functions/general.php on line 33[/code]

oder

oder ähnliches.

öffnet auf eurem server einfach die

und die

und ersetzt jeweils die zeile

//set the level of error reporting error_reporting(E_ALL & ~E_NOTICE);
(steht ziemlich weit oben)

mit

//set the level of error reporting error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

das wars auch schon. :unamused:

beste grüße

hi,

yay, so oder so ähnlich siehts meistens aus wenn die Software noch nicht ganz auf dem aktuellsten Stand ist - nächste Versionen von osCommerce mit Updates hierfür werden diese Änderungen wohl dann nicht mehr benötigen :wink:

ciao

Hatte das gleiche Problem und konnte es mit der Anleitung loesen.
Komisch ist nur eins: Ich habe 2 Shops, jedem in einem Unterverzeichnis, beide die selbe Version von osCommerce und beides SQL Datenbanken. Der Fehler trat jedoch nur bei einem Shop auf.