Jump to content

New Class stops execution


davidannis

Recommended Posts

I have a live website, that has been working for well over a year. Brought a copy back to a local machine because the program is a few thousand lines long and includes a class on that is over 5,000 lines of code. I need to do a re-write of the login mechanism and add a huge chunk of code that will double the complexity of the core functions. When I try to run the program, I get a blank web page, no error message. very near the top of the program it creates a new instance of the class. That is where it dies. If I do this:

echo 'here';
//define class variable
$valuation = new valuation();
echo 'here';

I get one 'here' as output. If I comment out the middle line I get two.

 

I added error_reporting(E_ALL); to the top of the program and when I still got nothing to to the top of the class file. No difference.

 

I'm bleary eyed from lack of sleep, in a distracting environment (chess tournament with hundred of noisy kids some of whom I am responsible for) and I can't even think where to begin troubleshooting it. I don't want to plow through 5,000 lines of code when I know it has to be a configuration difference. Where do you guys think I should start looking? How would you approach this problem?

Link to comment
https://forums.phpfreaks.com/topic/283310-new-class-stops-execution/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.