Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[letoDMS v3.0 RC3 / RC4 / RC5] Check configuration after an installation
#1
Put attachment file in root LetoDMS folder and launch it with an internet browser.

Example : http://localhost/letoDMS-3.0.0b/check.php

Delete file after use

Code:
// Commands :
  //   check.php          -> launch check configuration
  //   check.php?debug    -> launch check configuration with debug PHP informations
  //                         use if the "END" is not displayed at the bottom of the page
  //   check.php?phpinfo  -> show only PHP informations
  //
  // Historic
  //  3.00-06 : Add other PHP informations may have an impact on the execution of LetoDMS
  //            Check access on Content folder
  //  3.00-05 : Improve adodb check + database check (pb with tblACLs table)
  //  3.00-04 : Update for letoDMS 3.0.0 RC3
  //            Add letoDMS version in database
  //            Improve database check
  //  3.00-03 : Improve apache check : error message when no information
  //  3.00-02 : Add debug option : check.php?debug
  //            Add PHP informations may have an impact on the execution of LetoDMS
  //            Improve adodb check
  //            Improve $settings check
  //  3.00-01 : Create for letoDMS 3.0.0 RC1
Reply
#2
I get the results:
LetoDMS 3.0.0 check configuration
Check Apache configuration
Reply
#3
In check.php file, line 74
Replace
PHP Code:
// Activate errors LOG
/*
TODO
ini_set("html_errors", 1); 
ini_set("display_errors", 1); 
ini_set("error_reporting", E_ALL); 
*/
ini_set("html_errors"0); 
ini_set("display_errors"0); 
ini_set("error_reporting"E_ALL & ~E_DEPRECATED); 

to

PHP Code:
// Activate errors LOG
ini_set("html_errors"1); 
ini_set("display_errors"1); 
ini_set("error_reporting"E_ALL); 
/*
TODO
ini_set("html_errors", 0); 
ini_set("display_errors", 0); 
ini_set("error_reporting", E_ALL & ~E_DEPRECATED); 
*/ 


Or get the last version of check.php and launche check.php?debug
Reply
#4
I see the output:

Fatal error: Call to undefined function apache_get_version() in /home/nwmbcms/public_html/LetoDMS-3.0.0b/check.php on line 144

If I comment out that line in check.php, I then see the error apache_get_module()

and if I comment out that, I get

Check Apache configuration

Notice: Undefined variable: loaded_extensions in /home/nwmbcms/public_html/LetoDMS-3.0.0b/check.php on line 149

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/nwmbcms/public_html/LetoDMS-3.0.0b/check.php on line 149
mod_rewrite : Error

Check PHP configuration

PHP version: 5.2.13
gd2 : Ok
mbstring : Ok
database - mysql - : Ok
ldap (optional) : Error

Active PHP extension: php_ldap (optional)

Check LetoDMS configuration
settings->_rootDir : Ok
settings->_coreDir : Error

Current value : /home/nwmbcms/public_html/LetoDMS-3.0.0b/LetoDMS_Core
Suggestion value : /home/nwmbcms/public_html/LetoDMS-3.0.0b/
settings->_httpRoot : Ok
settings->_contentDir : Ok
settings->_ADOdbPath : Ok
database : Ok

Check other configuration
Cookies : OK

Informations

Limit size for uploading file (upload_max_filesize): 20M

Limit size for uploading file (post_max_size): 8M

SMTP server (SMTP): localhost

Limits of the execution time (max_execution_time): 30 s

END

Reply
#5
Your config:

Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

Server API : CGI and not Apache 2.0 Handler

I think :
- you must activate mod_rewrite in Apache (LoadModule rewrite_module modules/mod_rewrite.so under windows)
- maybe there are errors with CGI "Cannot modify header information - headers already sent by"
- check permission file for "conf.Settings.php"

Doudoux
Reply
#6
In the meantime, you can do this:
- rename inc/inc.Settings.php to inc/inc.Settings.php.test
- copy conf/conf.Settings.php to inc/inc.Settings.php

OR

in index.php file : replace
PHP Code:
include("inc/inc.Settings.php"); 
to
PHP Code:
include("conf/conf.Settings.php"); 
Reply
#7
Just changing the line include("conf/conf.Settings.php");
solved the problem Smile

Reply
#8
(02-06-2011, 12:18 AM)Doudoux Wrote: Put attachment file in root LetoDMS folder and launch it with an internet browser.

Example : http://localhost/letoDMS-3.0.0b/check.php

Delete file after use

Code:
// Commands :
  //   check.php          -> launche check configuration
  //   check.php?debug    -> launche check configuration with debug PHP informations
  //                         use if the "END" is not displayed at the bottom of the page
  //   check.php?phpinfo  -> show only PHP informations
  //
  // Historic
  //  3.00-02 : Add debug option : check.php?debug
  //            Add PHP informations may have an impact on the execution of LetoDMS
  //            Improve adodb check
  //            Improve $settings check
  //  3.00-01 : Create for letoDMS 3.0.0 RC1


This is what I get from check.php.

LetoDMS 3.0.0 check configuration

Check Apache configuration

Apache version: Apache/2.2.14 (Ubuntu)
mod_rewrite : Error

Check PHP configuration

PHP version: 5.3.2-1ubuntu4.7
gd2 : Ok
mbstring : Ok
database - mysql - : Ok
ldap (optional) : Error

Active PHP extension: php_ldap (optional)

Check LetoDMS configuration
settings->_rootDir : Error

Current value : http://84.86.183.123/var/www/mydms/
Suggestion value : /var/www/mydms/
settings->_coreDir : Error

Current value : http://84.86.183.123/var/www/mydms/Core/
Suggestion value : /var/www/mydms/
settings->_httpRoot : Ok
settings->_contentDir : Ok
settings->_ADOdbPath : Error

Current value : /var/www/mydms/adodb
Suggestion value : /var/www/mydms/

adodb missing, CAN'T TEST DATABASE

Check other configuration
Cookies : OK

Informations

Limit size for uploading file (upload_max_filesize): 2M

Limit size for uploading file (post_max_size): 8M

SMTP server (SMTP): localhost

Limits of the execution time (max_execution_time): 30 s

END

We are running SSH listing to port 3024 and I have saw that Apache2 is listing to port 80.
No problem for us.
We are running NAT and the server with mysql is on IP Adrress 192.168.2.2
As You see we having Ubuntu Version 10.04.
APache2 and Mysql are the latest stable versions.

Sorry for my English.

Regards

Gerard de Veer
This is what I get from check.php.

LetoDMS 3.0.0 check configuration

Check Apache configuration

Apache version: Apache/2.2.14 (Ubuntu)
mod_rewrite : Error

Check PHP configuration

PHP version: 5.3.2-1ubuntu4.7
gd2 : Ok
mbstring : Ok
database - mysql - : Ok
ldap (optional) : Error

Active PHP extension: php_ldap (optional)

Check LetoDMS configuration
settings->_rootDir : Error

Current value : http://84.86.183.123/var/www/mydms/
Suggestion value : /var/www/mydms/
settings->_coreDir : Error

Current value : http://84.86.183.123/var/www/mydms/Core/
Suggestion value : /var/www/mydms/
settings->_httpRoot : Ok
settings->_contentDir : Ok
settings->_ADOdbPath : Error

Current value : /var/www/mydms/adodb
Suggestion value : /var/www/mydms/

adodb missing, CAN'T TEST DATABASE

Check other configuration
Cookies : OK

Informations

Limit size for uploading file (upload_max_filesize): 2M

Limit size for uploading file (post_max_size): 8M

SMTP server (SMTP): localhost

Limits of the execution time (max_execution_time): 30 s

END

We are running SSH listing to port 3024 and I have saw that Apache2 is listing to port 80.
No problem for us.
We are running NAT and the server with mysql is on IP Adrress 192.168.2.2
As You see we having Ubuntu Version 10.04.
APache2 and Mysql are the latest stable versions.

Sorry for my English.

Regards

Gerard de Veer
Reply
#9
(03-07-2011, 09:58 PM)gdeveer Wrote: We are running SSH listing to port 3024 and I have saw that Apache2 is listing to port 80.
No problem for us.
We are running NAT and the server with mysql is on IP Adrress 192.168.2.2
As You see we having Ubuntu Version 10.04.
APache2 and Mysql are the latest stable versions.

Sorry for my English.

Regards

Gerard de Veer

see LetoDMS-3.0.0-2RC gives Errors

Reply


Forum Jump:


Users browsing this thread: