Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[letoDMS v3.0 RC3 / RC4 / RC5] Check configuration after an installation
02-06-2011, 12:18 AM, (This post was last modified: 04-13-2011, 03:19 AM by Doudoux.)
#1
[letoDMS v3.0 RC3 / RC4 / RC5] Check configuration after an installation
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


Attached Files
.php   check.php (Size: 15.54 KB / Downloads: 341)
Reply
02-06-2011, 07:44 AM,
#2
RE: [letoDMS v3.0 RC1] Check configuration after an installation
I get the results:
LetoDMS 3.0.0 check configuration
Check Apache configuration
Reply
02-06-2011, 11:53 PM, (This post was last modified: 02-07-2011, 01:11 AM by Doudoux.)
#3
RE: [letoDMS v3.0 RC1] Check configuration after an installation
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
02-09-2011, 04:59 AM, (This post was last modified: 02-09-2011, 05:03 AM by smallbiz.)
#4
RE: [letoDMS v3.0 RC1] Check configuration after an installation
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
02-09-2011, 06:33 AM, (This post was last modified: 02-09-2011, 06:56 AM by Doudoux.)
#5
RE: [letoDMS v3.0 RC1] Check configuration after an installation
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
02-09-2011, 03:41 PM, (This post was last modified: 02-18-2011, 03:52 PM by Doudoux.)
#6
RE: [letoDMS v3.0 RC1] Check configuration after an installation
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
02-09-2011, 10:00 PM,
#7
RE: [letoDMS v3.0 RC1] Check configuration after an installation
Just changing the line include("conf/conf.Settings.php");
solved the problem Smile

Reply
03-07-2011, 09:58 PM, (This post was last modified: 03-07-2011, 10:04 PM by gdeveer.)
#8
RE: [letoDMS v3.0 RC1] Check configuration after an installation
(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
03-07-2011, 11:24 PM,
#9
RE: [letoDMS v3.0 RC1] Check configuration after an installation
(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: 1 Guest(s)

Contact Us | LetoDMS Community Forum | Return to Top | | Lite (Archive) Mode | RSS Syndication