Installation errors

Installation errors

Postby KH » Fri May 25, 2012 11:30 am

My install script won't start and the Apache error.log contains the following errors:

Code: Select all
[Fri May 25 13:03:40.671298 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Non-static method common\\libraries\\Translation::set_application() should not be called statically in C:\\Sites\\install\\index.php on line 43
[Fri May 25 13:03:40.671298 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Non-static method common\\libraries\\Translation::set_language() should not be called statically in C:\\Sites\\install\\index.php on line 44
[Fri May 25 13:03:40.671298 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  call_user_func() expects parameter 1 to be a valid callback, non-static method install\\InstallManager::get_default_action() should not be called statically in C:\\Sites\\common\\libraries\\php\\application.class.php on line 789
[Fri May 25 13:03:40.671298 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Non-static method common\\libraries\\Application::process_table_action() should not be called statically in C:\\Sites\\common\\libraries\\php\\application.class.php on line 794
[Fri May 25 13:03:40.702550 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Declaration of install\\InstallWizardProcess::perform() should be compatible with HTML_QuickForm_Action::perform(&$page, $actionName) in C:\\Sites\\install\\php\\lib\\install_manager\\component\\inc\\wizard\\install_wizard_process.class.php on line 29
[Fri May 25 13:03:40.702550 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Declaration of install\\InstallWizardDisplay::_renderForm() should be compatible with HTML_QuickForm_Action_Display::_renderForm(&$page) in C:\\Sites\\install\\php\\lib\\install_manager\\component\\inc\\wizard\\install_wizard_display.class.php on line 19


I am using:
  • Apache/2.4.2
  • PHP/5.4.3
  • MySQL 5.5.24
  • Chamilo Aldrin 2.1
  • Windows Server 2008 R2 Standard

Are the errors the result of a bad configuration? How can I solve this problem?

Thank You in Advance!
KH
 
Posts: 2
Joined: Fri May 25, 2012 10:27 am

Re: Installation errors

Postby shalan » Tue Jun 26, 2012 3:22 pm

Hi KH, I have the exact error messages as you with the same WAMP configuration, except I'm using Windows 7.

Have you managed to resolve this problem?
shalan
 
Posts: 5
Joined: Tue Jun 26, 2012 3:08 pm

Re: Installation errors

Postby KH » Tue Jun 26, 2012 9:17 pm

No, I am still searching for a solution. :(
KH
 
Posts: 2
Joined: Fri May 25, 2012 10:27 am

Re: Installation errors

Postby shalan » Tue Jun 26, 2012 9:27 pm

Thanks. I'll try as well from my side and post back here with any findings.
shalan
 
Posts: 5
Joined: Tue Jun 26, 2012 3:08 pm

Re: Installation errors

Postby nblocry » Sat Jun 30, 2012 4:55 pm

I think you should change the settings for your error reporting (disable the strict setting - the errors you are getting should be warnings)
nblocry
 
Posts: 59
Joined: Tue Jan 19, 2010 12:41 pm

Re: Installation errors

Postby shalan » Sun Jul 01, 2012 5:24 pm

nblocry wrote:I think you should change the settings for your error reporting (disable the strict setting - the errors you are getting should be warnings)


Thanks for the feedback. I have tried setting
Code: Select all
display_errors = Off
and then
Code: Select all
error_reporting = E_ALL & ~E_NOTICE
with no success...just a blank white screen.
shalan
 
Posts: 5
Joined: Tue Jun 26, 2012 3:08 pm

Re: Installation errors

Postby nblocry » Sun Jul 01, 2012 8:08 pm

displaying errors should not be off, but you are still catching the strict errors hence the white screen.

since php 5.4 E_STRICT is part of E_ALL, so you should explicitly exclude them I guess E_ALL & ~(E_STRICT | E_NOTICE)
nblocry
 
Posts: 59
Joined: Tue Jan 19, 2010 12:41 pm

Re: Installation errors

Postby griff » Thu Jul 26, 2012 4:47 pm

I have the same problem installing on Fedora 17. Did you ever resolve your problem?

I successfully installed Chamilo without these problems on Fedora 16 recently. I thought I followed the same installation procedure on both computers, but I guess not.
griff
 
Posts: 4
Joined: Thu Jul 26, 2012 4:37 pm

Re: Installation errors

Postby shalan » Tue Aug 28, 2012 10:50 pm

Hey KH,

Sorry for not posting back sooner. I gave up on WAMP, and instead went with Ubuntu Server in VirtualBox. Installed all the necessary plugins...I recall having some problem though, but after installing the "php5-xsl" package the issue went away. Got it working brilliantly now, and can now just open a new Google Chrome tab in Win 7 if I need I work with Chamilo. If you would like to do same, let me know and I'll guide through what I did
shalan
 
Posts: 5
Joined: Tue Jun 26, 2012 3:08 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Installation errors

Installation errors

Postby KH » Fri May 25, 2012 11:30 am

My install script won't start and the Apache error.log contains the following errors:

Code: Select all
[Fri May 25 13:03:40.671298 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Non-static method common\\libraries\\Translation::set_application() should not be called statically in C:\\Sites\\install\\index.php on line 43
[Fri May 25 13:03:40.671298 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Non-static method common\\libraries\\Translation::set_language() should not be called statically in C:\\Sites\\install\\index.php on line 44
[Fri May 25 13:03:40.671298 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  call_user_func() expects parameter 1 to be a valid callback, non-static method install\\InstallManager::get_default_action() should not be called statically in C:\\Sites\\common\\libraries\\php\\application.class.php on line 789
[Fri May 25 13:03:40.671298 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Non-static method common\\libraries\\Application::process_table_action() should not be called statically in C:\\Sites\\common\\libraries\\php\\application.class.php on line 794
[Fri May 25 13:03:40.702550 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Declaration of install\\InstallWizardProcess::perform() should be compatible with HTML_QuickForm_Action::perform(&$page, $actionName) in C:\\Sites\\install\\php\\lib\\install_manager\\component\\inc\\wizard\\install_wizard_process.class.php on line 29
[Fri May 25 13:03:40.702550 2012] [:error] [pid 2432:tid 860] [client 172.18.16.15:49953] PHP Strict Standards:  Declaration of install\\InstallWizardDisplay::_renderForm() should be compatible with HTML_QuickForm_Action_Display::_renderForm(&$page) in C:\\Sites\\install\\php\\lib\\install_manager\\component\\inc\\wizard\\install_wizard_display.class.php on line 19


I am using:
  • Apache/2.4.2
  • PHP/5.4.3
  • MySQL 5.5.24
  • Chamilo Aldrin 2.1
  • Windows Server 2008 R2 Standard

Are the errors the result of a bad configuration? How can I solve this problem?

Thank You in Advance!
KH
 
Posts: 2
Joined: Fri May 25, 2012 10:27 am

Re: Installation errors

Postby shalan » Tue Jun 26, 2012 3:22 pm

Hi KH, I have the exact error messages as you with the same WAMP configuration, except I'm using Windows 7.

Have you managed to resolve this problem?
shalan
 
Posts: 5
Joined: Tue Jun 26, 2012 3:08 pm

Re: Installation errors

Postby KH » Tue Jun 26, 2012 9:17 pm

No, I am still searching for a solution. :(
KH
 
Posts: 2
Joined: Fri May 25, 2012 10:27 am

Re: Installation errors

Postby shalan » Tue Jun 26, 2012 9:27 pm

Thanks. I'll try as well from my side and post back here with any findings.
shalan
 
Posts: 5
Joined: Tue Jun 26, 2012 3:08 pm

Re: Installation errors

Postby nblocry » Sat Jun 30, 2012 4:55 pm

I think you should change the settings for your error reporting (disable the strict setting - the errors you are getting should be warnings)
nblocry
 
Posts: 59
Joined: Tue Jan 19, 2010 12:41 pm

Re: Installation errors

Postby shalan » Sun Jul 01, 2012 5:24 pm

nblocry wrote:I think you should change the settings for your error reporting (disable the strict setting - the errors you are getting should be warnings)


Thanks for the feedback. I have tried setting
Code: Select all
display_errors = Off
and then
Code: Select all
error_reporting = E_ALL & ~E_NOTICE
with no success...just a blank white screen.
shalan
 
Posts: 5
Joined: Tue Jun 26, 2012 3:08 pm

Re: Installation errors

Postby nblocry » Sun Jul 01, 2012 8:08 pm

displaying errors should not be off, but you are still catching the strict errors hence the white screen.

since php 5.4 E_STRICT is part of E_ALL, so you should explicitly exclude them I guess E_ALL & ~(E_STRICT | E_NOTICE)
nblocry
 
Posts: 59
Joined: Tue Jan 19, 2010 12:41 pm

Re: Installation errors

Postby griff » Thu Jul 26, 2012 4:47 pm

I have the same problem installing on Fedora 17. Did you ever resolve your problem?

I successfully installed Chamilo without these problems on Fedora 16 recently. I thought I followed the same installation procedure on both computers, but I guess not.
griff
 
Posts: 4
Joined: Thu Jul 26, 2012 4:37 pm

Re: Installation errors

Postby shalan » Tue Aug 28, 2012 10:50 pm

Hey KH,

Sorry for not posting back sooner. I gave up on WAMP, and instead went with Ubuntu Server in VirtualBox. Installed all the necessary plugins...I recall having some problem though, but after installing the "php5-xsl" package the issue went away. Got it working brilliantly now, and can now just open a new Google Chrome tab in Win 7 if I need I work with Chamilo. If you would like to do same, let me know and I'll guide through what I did
shalan
 
Posts: 5
Joined: Tue Jun 26, 2012 3:08 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Social network

Youtube

Subscribe to our newsletter

Leave us your e-mail in the box below, then make sure you approve the confirmation e-mail you will receive

 


 

Upcoming events