Jump to content

New Class stops execution


davidannis
Go to solution Solved by mac_gyver,

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.