03-26-2012, 07:42 PM
I'm running 5.3.10, and have no problem with the try/catch code. Did the sample code I posted fail for you? I don't know, but perhaps there's a way to enable/disable PHP exceptions, and it's just a config setting somewhere.
As far as the new problems with PHP 5.2.17, I have to poke around the sources a bit more to understand the expected paths. The code at line 41 is
From this, we can guess that $settings->_rootDir has a value of /letodms/, but I'd guess for your installation, it should have a value like /nfs/c02/h04/mnt/24728/domains/domain.com/htm/ ???
Is this a hosted server you are working on?
As far as the new problems with PHP 5.2.17, I have to poke around the sources a bit more to understand the expected paths. The code at line 41 is
Code:
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
Is this a hosted server you are working on?
(03-26-2012, 03:13 AM)yerg Wrote: Was running 5.3.10
Downgraded it to 5.2.17
/letodms/install/install.php now throws the following
Code:Warning: include(/languages/English/lang.inc) [function.include]: failed to open stream: No such file or directory in /letodms/inc/inc.Language.php on line 41
Warning: include() [function.include]: Failed opening '/languages/English/lang.inc' for inclusion (include_path='.:/home/24728/data/pear/php') in /letodms/inc/inc.Language.php on line 41
letoDMS Installation for version 3.3.0
Error
Error getting Text: settings_pear_log (English) : Error getting Text: settings_notfound (English)
=> Error getting Text: settings_install_pear_package_log (English)
Warning
Error getting Text: settings_pear_webdav (English) : Error getting Text: settings_notfound (English)
=> Error getting Text: settings_install_pear_package_webdav (English)
Warning
Error getting Text: settings_zendframework (English) : Error getting Text: settings_notfound (English)
=> Error getting Text: settings_install_zendframework (English)
PHP version: 5.2.17
PHP include path: .:/home/24728/data/pear/php
Sheez this is like trying to extract hens teeth