Confixx 3 php.ini "get_browser():"

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
dj-christian
Posts: 13
Joined: 2003-11-30 13:06
Location: Wilhelmshaven
Contact:
 

Confixx 3 php.ini "get_browser():"

Post by dj-christian »

Hallo,
ich habe einen Rootserver von 1und1 mit Confixx3, Suse 8.1 PHP 4.3.7.

Jetzt habe ich ein Problem mit â??browscapâ??

Es kommt folgender Fehler:
Warning: get_browser(): browscap ini directive not set
Ich habe gelesen, dass man sich eine â??browscap.iniâ?? herunterladen muss und in der php.ini anpassen muss.
Das habe ich auch getan, jedoch ohne wirkung.

Kann das sein, das es bei Confixx eine zweite php.ini gibt?

Ich habe die php.ini unter â??/etc/php.iniâ?? angepasst.

Kann mir jemand helfen?

Danke.
[/quote]
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx 3 php.ini "get_browser():"

Post by Joe User »

Code: Select all

grep browscap /etc/php.ini
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
dj-christian
Posts: 13
Joined: 2003-11-30 13:06
Location: Wilhelmshaven
Contact:
 

Re: Confixx 3 php.ini "get_browser():"

Post by dj-christian »

hää?
also heißt das, dass es nur eine php.ini gibt?

Blos wieso funktioniert es trotz der Hinzugabe der "browscap.ini" nicht?

Danke.

MfG,
Christian
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx 3 php.ini "get_browser():"

Post by Joe User »

DJ-Christian wrote:hää?
Nix "hää?" -> Ausführen und Ausgabe posten!
DJ-Christian wrote:also heißt das, dass es nur eine php.ini gibt?
Sofern das System nicht vermurkst ist und keine aussergewöhnliche Konfiguration vorliegt, ja.
DJ-Christian wrote:Blos wieso funktioniert es trotz der Hinzugabe der "browscap.ini" nicht?
Tja, da Du uns notwendige Angaben vorenthälst, kann es Dir niemand erläutern...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
dj-christian
Posts: 13
Joined: 2003-11-30 13:06
Location: Wilhelmshaven
Contact:
 

Re: Confixx 3 php.ini "get_browser():"

Post by dj-christian »

Fehler des Skriptes:
Warning: get_browser(): browscap ini directive not set. in /home/www/web75/html/statsv2.php on line 12
Auszug aus der php.ini (/etc/php.ini)
...
[bcmath]
; Number of decimal digits for all bcmath functions.
bcmath.scale = 0

[browscap]
;browscap = /browscap.ini

[Informix]
; Default host for ifx_connect() (doesn't apply in safe mode).
ifx.default_host =...
Ich habe die "browscap.ini" auch direkt im Verzeichniss "/etc" abgelegt.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx 3 php.ini "get_browser():"

Post by Joe User »

Code: Select all

[browscap]
browscap = /etc/browscap.ini
Warum nutzt Du nicht einfach $_SERVER["HTTP_USER_AGENT"]?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
dj-christian
Posts: 13
Joined: 2003-11-30 13:06
Location: Wilhelmshaven
Contact:
 

Re: Confixx 3 php.ini "get_browser():"

Post by dj-christian »

gute Frage...

Wie muss der Eintrag dann aussehen? So:

[browscap]
browscap = $_SERVER["HTTP_USER_AGENT"]

??

Danke.
Post Reply