Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 11th January 2012, 14:47
haluk yildirim haluk yildirim is offline
Junior Member
 
Join Date: Jan 2012
Posts: 14
Thanks: 1
Thanked 1 Time in 1 Post
Default

you mentioned the php differences on this link...

http://www.howtoforge.com/forums/arc...p/t-50327.html

but before updating the ispconfig it was working with same php.. problem starts after ispconfig update..
Reply With Quote
Sponsored Links
  #12  
Old 11th January 2012, 14:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Thats astonished my a bit as reporting of deprecated warnings is disabled by default. So if you see the error, then the ispconfig version is either not 3.0.4.2 or you have some functions like ini_set disabled in your php.ini file or you have the constant "DEVSYSTEM" enabled in your config.inc.php file for the ISPConfig interface or the error is from a tomepoint before the 3.0.4.2 update was installed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 11th January 2012, 14:57
haluk yildirim haluk yildirim is offline
Junior Member
 
Join Date: Jan 2012
Posts: 14
Thanks: 1
Thanked 1 Time in 1 Post
Default

thanks till,

definitely 3.0.4.2. but i will chk other php setting and I will get back to you .

Thank you very much for your really quick replies.

haluk
Reply With Quote
  #14  
Old 11th January 2012, 15:08
haluk yildirim haluk yildirim is offline
Junior Member
 
Join Date: Jan 2012
Posts: 14
Thanks: 1
Thanked 1 Time in 1 Post
Default version 3.0.4.2

Reply With Quote
  #15  
Old 11th January 2012, 15:18
haluk yildirim haluk yildirim is offline
Junior Member
 
Join Date: Jan 2012
Posts: 14
Thanks: 1
Thanked 1 Time in 1 Post
Default snipped php.ini

my php.ini:

Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
; http://www.php.net/manual/en/errorfu...rror-reporting
error_reporting = E_ALL & ~E_NOTICE

; This directive controls whether or not and where PHP will output errors,
; notices and warnings too. Error output is very useful during development, but
; it could be very dangerous in production environments. Depend
Reply With Quote
  #16  
Old 11th January 2012, 15:24
haluk yildirim haluk yildirim is offline
Junior Member
 
Join Date: Jan 2012
Posts: 14
Thanks: 1
Thanked 1 Time in 1 Post
Default config.inc.php

config.inc.php



//** Application
define('ISPC_APP_TITLE', 'ISPConfig');
define('ISPC_APP_VERSION', '3.0.4.2');
define('DEVSYSTEM', 0);
Reply With Quote
  #17  
Old 11th January 2012, 15:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

- Is the deprecated error the only error that you get in the apache error.log?
- Do you have any aliases for "monitor" defined in your apache configuration?
- Do you have any functions disabled in with the disable_functions directive in php.ini?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #18  
Old 11th January 2012, 15:55
haluk yildirim haluk yildirim is offline
Junior Member
 
Join Date: Jan 2012
Posts: 14
Thanks: 1
Thanked 1 Time in 1 Post
Default solved temporaraly

hi till,

http://www.nakedtechnologist.com/?p=115

could you please chk this link?

I did php.ini modification "allow_call_time_pass_reference = on" .

after this it worked but according to article it is until next time!!!

haluk
Reply With Quote
  #19  
Old 11th January 2012, 16:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

This should not be nescessary as passing by reference is not required and ispconfig disables the warning automatically.

See /usr/local/ispconfig/interface/lib/app.inc.php Line 39:

@ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_DEPRECATED);

This works fine here with current PHP versions so my guess is that you have the ini_set function disabled in php.ini or something similar so that ISPConfig can not set the required error reporting level.

Either you enable ini_set in php.ini again so that ispconfig can set the error reporting level or you change the error_reporting in php.ini to:

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

and restart apache2.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #20  
Old 11th January 2012, 16:07
haluk yildirim haluk yildirim is offline
Junior Member
 
Join Date: Jan 2012
Posts: 14
Thanks: 1
Thanked 1 Time in 1 Post
 
Default

Hi Till,

This is from php.ini......


; This directive allows you to enable and disable warnings which PHP will issue
; if you pass a value by reference at function call time. Passing values by
; reference at function call time is a deprecated feature which will be removed
; from PHP at some point in the near future. The acceptable method for passing a
; value by reference to a function is by declaring the reference in the functions
; definition, not at call time.
This directive does not disable this feature, it
; only determines whether PHP will warn you about it or not. These warnings
; should enabled in development environments only.
; Default Value: On (Suppress warnings)
; Development Value: Off (Issue warnings)
; Production Value: Off (Issue warnings)
; http://www.php.net/manual/en/ini.cor...pass-reference
allow_call_time_pass_reference = on


I hope it helps..

Thank you for your help..

Haluk
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3, monitor, second server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
Multi-server Setup: package for mail,sql and web/ftp itanium Installation/Configuration 74 1st June 2010 11:01
PHP: Show 3 records from MySQL (exampel: ID: 5 22 87) edge Programming/Scripts 4 12th December 2009 16:52
Adding additional dyndns domains - They all show the "root web" olavxxx Installation/Configuration 3 10th February 2008 17:56
Joomla images doesn't show off ! gabrix Server Operation 7 2nd November 2006 18:01


All times are GMT +2. The time now is 00:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.