Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th February 2011, 18:36
faster faster is offline
Junior Member
 
Join Date: Dec 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP ob_start and ISPConfig3

I am moving a php web app from one server to another.
The web app crashes and gives an internal 500 error. Using: echo "test; exit(); I've isolated the error code to a ob_start(); call.

Is there any configurations that ISPConfig does that would interfere with the buffering of ob_start()?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 14th February 2011, 18:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

Please post the exact error message that you get in the error.log of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th February 2011, 19:03
faster faster is offline
Junior Member
 
Join Date: Dec 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

/var/logs/apache2/error.log does not show any errors for the site I am debugging. I see items in the access.log but nothing in the error.log that corresponds with the time stamp in access.log.

Is there a away to turn on php or apache debugging to see where it is crapping out?

Thanks.
Reply With Quote
  #4  
Old 14th February 2011, 19:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

I'am talking about the error log of the website, not the global apache error.log file. Please go to the log directory of the website and take a look into the error.log that you find there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th February 2011, 19:46
faster faster is offline
Junior Member
 
Join Date: Dec 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I see so ISPConfig dumps php errors into the error.log in the logs folder under each site. And then generates an error 500? This makes it much easier to see what is going on. I can see it is just a general PHP error then instead of a php/mysql error.
Reply With Quote
  #6  
Old 14th February 2011, 20:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
 
Default

The error.log in the log folder of a website is the apache error.log for this vhost. So its not php specific, it just contains all errors that apache shows like 500 or 40x errors.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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


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


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