From: <je...@gm...> - 2004-09-02 21:10:20
|
Hello, did anyone got phpESP to work with php 5.0.1 yet ? I set up and configured it right under windows xp sp2 Apache/2.0.50 (Win32) mod_ssl/2.0.50 OpenSSL/0.9.7c PHP/5.0.1 and MySQL 4.0.20 I think there is a problem with the gettext dll's and php 5 and or gettext and phpESP (i'm really a noob concerning gettext). when i tried to debug /admin/manage.php i got following error: line 30 in espi18n.inc: #### dl() [<a href='function.dl</a>]: Unable to load dynamic libary ...\libintl-1.dll ... #### dl() is deprecated - use extension=libintl-1.dll in your php.ini #### i tried and tried... added libintl-1.dll in my php.ini and into the correct pathes... but got startup errors when starting apache and loadung php... I think libintl-1.dll is not recognized by PHP 5 and not needed: from http://de3.php.net/manual/en/ref.gettext.php: ----- Note to Win32 Users: In order to enable this module on a Windows environment, you must copy gnu_gettext.dll from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). Starting with PHP 4.2.3 the name changed to libintl-1.dll, this requires also iconv.dll to be copied. libintl-1.dll is not needed as of PHP 4.3.8, iconv.dll is not needed as of PHP 5. ---- when i commented out line 32 to 37 (think this is needed for user authentification) the managment interface came up, but i couldn't do much more....clicking on a link i got only this error messages: "This account does not have permission to access this form" #### /*if($ESPCONFIG['auth_design']) { if(!manage_auth( _addslashes(@$HTTP_SERVER_VARS['PHP_AUTH_USER']), _addslashes(@$HTTP_SERVER_VARS['PHP_AUTH_PW']))) exit; }*/ #### So when i try to load http://localhost/phpESP/admin/manage.php i only get a blank screen. Please help to get phpESP to work with PHP 5. I would like to participate in developing it further, because i wanted to write a similiar tool for an university project, but now i want to participate in the developing process of phpESP to use this instead. Sorry for my bad english. Kind regards, Jens Grubert My http://localhost/phpESP/admin/test.php is working well: ------------------------ PHP Information * Version: 5.0.1 * OS: WINNT * SAPI: apache2handler * register_globals: Yes * magic_quotes_gpc: Yes * magic_quotes_runtime: No * safe_mode: No * open_basedir: PHP Extensions * dBase: No * GD: Yes -- bundled (2.0.28 compatible) * GNU Gettext: Yes * LDAP: No * MySQL: Yes * PHP Extension Dir (compiled): C:\php5 * PHP Extension Dir (run time): F:\apachefriends\xampp\php\ext\ phpESP Settings * Expected ESP_BASE: F:\apachefriends\xampp\htdocs\phpESP/ * Expected base_url: http://localhost/phpESP/ * Loading phpESP.ini.php ... * ESP_BASE: F:\apachefriends\xampp\htdocs\phpESP/ * base_url: http://localhost/phpESP/ * Version: 1.6.1 * Debug: No phpESP Language Settings * GNU Gettext: Real * default_lang: en_US * current lang: en_US * available langs: da_DK, de_DE, el_GR, en_US, es_ES, fr_FR, it_IT, ja_JP, nl_NL, pt_BR, pt_PT, sv_SE (da, de, el, en, es, fr, it, ja, nl, pt, sv) * GNU Gettext test: Passed * Catalog Open Test: Yes PHP Session Test * session.save_path: .;F:\apachefriends\xampp\tmp * Counter: 1 ------------------------ regarding this mail: From: James E. Flemer <jflemer@uv...> Re: Unable to login to phpESP I don"t think phpESP has been tested on PHP 5. I"m also not sure that it has been tested on OSX (but I don"t think OS should make much of a difference). Do you notice any related messages in your apache log files? Have you created and populated the database tables as described in the INSTALL document? You could try disabling authentication in the phpESP.ini.php file if you can"t login, but I don"t think you should have to unless there is some issue with PHP5. -James Christopher Davis wrote: > I just installed phpESP for the third time - they say the third time"s a charm - it isn"t (at least for me and phpESP). Using the default settings (i.e. ID=root and PW=esp), I cannot get in. After I enter the information in the login window, it just brings up a new window. Has anyone seen anything like this before, if so, how did you correct it? Might hit have something to do with the fact that I am using PHP Version 5.0.1? Below is the output from the test.php run. That seems to work well enough, and all items were displayed in a green color. > > I am running this on an OSX machine, 10.3.5, PHP 5.0.1, and Apache version 1.3. > > Thanks in advance, > > Chris > > > PHP Information > > * Version: 5.0.1 > * OS: Darwin > * SAPI: apache > * register_globals: No > * magic_quotes_gpc: No > * magic_quotes_runtime: No > * safe_mode: No > * open_basedir: > > PHP Extensions > > * dBase: Yes > * GD: Yes -- bundled (2.0.28 compatible) > * GNU Gettext: Yes > * LDAP: Yes > * MySQL: Yes > * PHP Extension Dir (compiled): /usr/local/php5/lib/php/extensions/no-debug-non-zts-20040412 > * PHP Extension Dir (run time): ./ > > phpESP Settings > > * Expected ESP_BASE: /Library/WebServer/Documents/phpESP/ > * Expected base_url: http://localhost/phpESP/ > * Loading phpESP.ini.php ... > * ESP_BASE: /Library/WebServer/Documents/phpESP/ > * base_url: http://localhost/phpESP/ > * Version: 1.6.1 > * Debug: No > > phpESP Language Settings > > * GNU Gettext: Real > * default_lang: en_US > * current lang: en_US > * available langs: da_DK, de_DE, el_GR, en_US, es_ES, fr_FR, it_IT, ja_JP, nl_NL, pt_BR, pt_PT, sv_SE > (da, de, el, en, es, fr, it, ja, nl, pt, sv) > * GNU Gettext test: Passed > * Catalog Open Test: Yes > > PHP Session Test > > * session.save_path: > * Counter: 3 -- / "e-bussines or no bussines" \ Jens Grubert +.: c :.+ IT Solutions +. o ..+ Content Managing +. M ..+ Media Design +. L ..+ IT Decisons +. a .+ Hans-Grundig-Str.14 +.: b :.+ 39128 Magdeburg \ e-Mail: je...@gm... / Tel. 0391 2544994 Supergünstige DSL-Tarife + WLAN-Router für 0,- EUR* Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl |