PHP and HTML blank page

Howdy friends!
I’ve created a php emailing list with mailgun, everything is working fine and dandy on my test server. I move everything over to cpanel for my website and it shows up as a white page - removing the php code at the top displays the HTML. PHP is installed so I’m not sure where I’m going wrong. Any ideas?

1 Like

the typical cause for something like that is language features incompatible with the version of php before nag used and/or extensions that are not installed which the script is s using. If the script is small you can post it here. Otherwise the log might have more details.

It’s odd, I’ve tried turning on error reporting but that isn’t showing anything either - it’s still blank. What I haven’t tried yet if the php versions from my local server are the same as the version on cPanel. Lemme take a look.

I found an option in cPanel to turn on error reporting, who would’ve known!! Problem solved.

Out of curiosity what was the problem?

I didnt ftp the whole project, I just went into file manager and uploaded what I thought was all the files, but after turning on error reporting it told me that I forgot to add the vendor folder… silly me!!

3 Likes

Nice problem solving.

2 Likes

If the cPanel error_reporting() displays the errors and warnngs for all and sundry, don’t forget to turn it off :slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.