hello there !
thanks a lot for your class.
i've a problem, and I can't fix it even after having read all the messages posted here [which help me a lot !]
you can see the problem in my test page : http://fredskyweb.dyndns.org/footage/test.php
"Fatal error: Call to undefined function: _() in E:\footage_website\metabase\include\class.phpSecurityAdm.php on line 899
"
in fact, I m not able to administrate the users... i cant see anything about session management appart the erro mentioned above.
here is the code of the page :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>test video</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
The function in question is part of the gettext module for PHP. However, the gettext_replacer.php file should take care of this error, but limit you to the English language only. Best solution is to install gettext into PHP.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-06-25
thanks for the answer.
i searched iver the net, and indeed the gettext examples I ve tested didn't work !
but where can I get the file "gettext_replacer.php"
and how to isntall gettetx under windows XP ?
i ve found several tutorial, but i can't achieve gettext working :(
regards,
fredsky
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To get gettext working on Windows XP, simply change
;extension=php_gettext.dll
to
extension=php_gettext.dll
in php.ini (at least that's all I did)
gettext_replacer.php should be included in the include directory of the PSA release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-06-26
I already do that.
i ve tried :
extension=php_gettext.dll
extension=libintl.dll
extension=intl.dll
my gettext version is 0.10.40-20011107
(i ve tried a more recent with same result). I CANT SEE the damned php_gettext.dll !!!
Ive also intalled the 3.1 of PSA (which indeed include gettext_replacer)., but not working :(
i ve always those popups :
WArning - Unknown (): Unable to load dynamic library '.intl.dll'-specied module can not be find.
[or similar with php_gettext.dll or libintl.dll]
ive put the file of gettext binary into c:\php with is inclued in my path...
regards,
fredsky
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-07-01
My only other suggestion would be to search your drive for this file: php_gettext.dll, then make sure your extension directory variable is correctly set in your php.ini file. If I recall it is set to nothing in Windows 2000 so I'm guessing its the same for XP.
Good luck.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello there !
thanks a lot for your class.
i've a problem, and I can't fix it even after having read all the messages posted here [which help me a lot !]
you can see the problem in my test page :
http://fredskyweb.dyndns.org/footage/test.php
"Fatal error: Call to undefined function: _() in E:\footage_website\metabase\include\class.phpSecurityAdm.php on line 899
"
in fact, I m not able to administrate the users... i cant see anything about session management appart the erro mentioned above.
here is the code of the page :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>test video</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php require_once "./metabase/_restrict.php"; ?>
<?php
if (!session_is_registered('count')) {
session_register('count');
$count = 1;
}
else {
$count++;
}
?>
Hello visitor, you have seen this page <?php echo $count; ?> times.<p>
To continue, <A HREF="/phpmanual/page/nextpage.php?<?php echo strip_tags (SID)?>">click here</A>
<table width="65%" height="211" border="1">
<tr>
... etc
my config :
windows XP US , SP1
mySQL 4.0.12
PHP 4.3.1
metabase, xmlparser, and phSecurityAdmin isntalled in the samedirectory
The function in question is part of the gettext module for PHP. However, the gettext_replacer.php file should take care of this error, but limit you to the English language only. Best solution is to install gettext into PHP.
thanks for the answer.
i searched iver the net, and indeed the gettext examples I ve tested didn't work !
but where can I get the file "gettext_replacer.php"
and how to isntall gettetx under windows XP ?
i ve found several tutorial, but i can't achieve gettext working :(
regards,
fredsky
To get gettext working on Windows XP, simply change
;extension=php_gettext.dll
to
extension=php_gettext.dll
in php.ini (at least that's all I did)
gettext_replacer.php should be included in the include directory of the PSA release.
I already do that.
i ve tried :
extension=php_gettext.dll
extension=libintl.dll
extension=intl.dll
my gettext version is 0.10.40-20011107
(i ve tried a more recent with same result). I CANT SEE the damned php_gettext.dll !!!
Ive also intalled the 3.1 of PSA (which indeed include gettext_replacer)., but not working :(
i ve always those popups :
WArning - Unknown (): Unable to load dynamic library '.intl.dll'-specied module can not be find.
[or similar with php_gettext.dll or libintl.dll]
ive put the file of gettext binary into c:\php with is inclued in my path...
regards,
fredsky
My only other suggestion would be to search your drive for this file: php_gettext.dll, then make sure your extension directory variable is correctly set in your php.ini file. If I recall it is set to nothing in Windows 2000 so I'm guessing its the same for XP.
Good luck.