Forum » Izdelava spletišč » napaka pri instalaciji foruma
napaka pri instalaciji foruma
![](https://static.slo-tech.com/stili/avatar_gray.gif)
Flamer ::
Zadeva mi po vpisu podatkov (forum je invisionov 2.0.0) napiše tole:
Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\forum\ips_kernel\class_db_mysql.php on line 112
Anyone?
Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\forum\ips_kernel\class_db_mysql.php on line 112
Anyone?
![:\](https://static.slo-tech.com/smeski/icon_rolleyes.gif)
![](https://static.slo-tech.com/stili/avatar_gray.gif)
McAjvar ::
kako si namestil php? katero verzijo imas?
ce naredis php datoteko s tole vsebino:
poglej pri naslovu mysql, kaj ti kaj izpise, pa malo porocaj.
mast bozja, kje mam se kej kokakole?![:D](https://static.slo-tech.com/smeski/icon_biggrin.gif)
[edit]
ugibam: najbrz mas PHP verzijo 5? v manualu najdes tole:
zato pri petki, kjer mysql podpora ni vgrajena ze privzeto, folk lahko dobiva "cuj, ne poznam tote majeskuel funkcije" napake. mal pobrskej po php.net dokumentaciji, kako si to zrihtas, da bo delalo.
ce naredis php datoteko s tole vsebino:
<?php phpinfo (); ?>
poglej pri naslovu mysql, kaj ti kaj izpise, pa malo porocaj.
mast bozja, kje mam se kej kokakole?
![:D](https://static.slo-tech.com/smeski/icon_biggrin.gif)
[edit]
ugibam: najbrz mas PHP verzijo 5? v manualu najdes tole:
In PHP 5, MySQL is no longer enabled by default, nor is the MySQL library bundled with PHP. Read this FAQ for details on why.
zato pri petki, kjer mysql podpora ni vgrajena ze privzeto, folk lahko dobiva "cuj, ne poznam tote majeskuel funkcije" napake. mal pobrskej po php.net dokumentaciji, kako si to zrihtas, da bo delalo.
"[...] the advance of civilization is nothing
but an exercise in the limiting of privacy."
- Isaac Asimov
but an exercise in the limiting of privacy."
- Isaac Asimov
Zgodovina sprememb…
- spremenil: McAjvar ()
![](https://static.slo-tech.com/stili/avatar_gray.gif)
dejc2 ::
Jz mam isti problem.
Uporabljam pa
Apache Web Server Version 1.3.33
PHP Script Language Version 5.0.2
MySQL Database Version 4.1.7
Zend Optimizer Version 2.5.5
phpMyAdmin Database Manager Version 2.6.0-pl2
Lp Dejč
Uporabljam pa
Apache Web Server Version 1.3.33
PHP Script Language Version 5.0.2
MySQL Database Version 4.1.7
Zend Optimizer Version 2.5.5
phpMyAdmin Database Manager Version 2.6.0-pl2
Lp Dejč
http://www.potovalka.si
![](https://static.slo-tech.com/stili/avatar_gray.gif)
no_use4 ::
v php.ini odstrani ; pred extension=php_mysql.dll
pa libmysql.dll iz php folderja skopiraj v system32 folder
that should do it ...
pa libmysql.dll iz php folderja skopiraj v system32 folder
that should do it ...
![](https://static.slo-tech.com/stili/avatar_gray.gif)
dejc2 ::
v php.ini mam pa samo extension=php_mysqli.dll in je tudi brez ;
libmysql.dll dodoteka je v system 32
libmysql.dll dodoteka je v system 32
http://www.potovalka.si
![](https://static.slo-tech.com/stili/avatar_gray.gif)
dejc2 ::
; Default port number for mysql_connect(). If unset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
mysql.default_port =
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =
; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =
; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =
Mogoče bi blo treba tukaj kaj spremenit?
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
mysql.default_port =
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =
; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =
; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =
Mogoče bi blo treba tukaj kaj spremenit?
http://www.potovalka.si
![](https://static.slo-tech.com/stili/avatar_gray.gif)
no_use4 ::
ammm, poglej ce obstaja php_mysql.dll ... naj bi bla v php/ext folderju
ce obstaja, dodaj vrstico extension=php_mysql.dll
ce je ni, jo probi snet kje z neta, pa jo skopiraj v folder php/ext, pa dodaj vrstico extension=php_mysql.dll
ce nebo nc od tega delal, pa probi namest funkcije mysql_connect uporabt mysqli_connect
ce pa se to ne potegne, pa probi upgrejdat php
ce obstaja, dodaj vrstico extension=php_mysql.dll
ce je ni, jo probi snet kje z neta, pa jo skopiraj v folder php/ext, pa dodaj vrstico extension=php_mysql.dll
ce nebo nc od tega delal, pa probi namest funkcije mysql_connect uporabt mysqli_connect
ce pa se to ne potegne, pa probi upgrejdat php
![:D](https://static.slo-tech.com/smeski/icon_biggrin.gif)
![](https://static.slo-tech.com/stili/avatar_gray.gif)
dejc2 ::
Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\AppServ\www\squitogallery\dbfns.inc.php on line 24
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in c:\AppServ\www\squitogallery\dbfns.inc.php on line 26
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\AppServ\www\squitogallery\setup.php on line 69
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\AppServ\www\squitogallery\setup.php on line 71
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\AppServ\www\squitogallery\setup.php on line 73
sem dodal extension=php_mysql.dll spusti čez, samo potem javi tele napake....
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in c:\AppServ\www\squitogallery\dbfns.inc.php on line 26
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\AppServ\www\squitogallery\setup.php on line 69
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\AppServ\www\squitogallery\setup.php on line 71
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\AppServ\www\squitogallery\setup.php on line 73
sem dodal extension=php_mysql.dll spusti čez, samo potem javi tele napake....
http://www.potovalka.si
![](https://static.slo-tech.com/stili/avatar_gray.gif)
no_use4 ::
heh, u got me ... nimam pojma
jaz mam php 5.0.4 in mysql 4.1.12 in dela lepo
malo sem pogooglal pa prisel do tega:
http://dev.mysql.com/doc/mysql/en/old-c...
malo si poglej, mogoce ti bo kaj pomagalo.
jaz mam php 5.0.4 in mysql 4.1.12 in dela lepo
![:D](https://static.slo-tech.com/smeski/icon_biggrin.gif)
malo sem pogooglal pa prisel do tega:
http://dev.mysql.com/doc/mysql/en/old-c...
malo si poglej, mogoce ti bo kaj pomagalo.
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | problem z mysql serverjemOddelek: Izdelava spletišč | 1469 (1242) | koloredo |
» | problem z phpjemOddelek: Izdelava spletišč | 4168 (3581) | snow |
» | Rolan d.o.o. spletna trgovina hackOddelek: Omrežja in internet | 2338 (1943) | Tr0n |
» | Napaka pri MySQL pri postavitvi forumaOddelek: Izdelava spletišč | 1689 (1605) | DJ-DUST |
» | PHP help!Oddelek: Programiranje | 1696 (1534) | rc-car |