*

PeterB

  • ***
  • 33 posts
Browser showing blank page
« on: February 08, 2023, 07:05:29 AM »
So this is a very strange issue.

I have a site that is running a very old version of OSclass. I think I loaded it in 2018.

Anyway the site is been functioning perfectly except that it can only run on php 7.4. Up until yesterday the site was functioning as it should, but in the afternoon I started to get reports that users could not access the site. When I went to check I found that the site simply loads a blank page, no errors are produced.

I contacted my hosting company thinking that it might be on their side as I had not made any changes to the site and it was functioning before. They got back to me and said the only error they could pick up was PHP Warning: Invalid argument supplied for foreach() in /home/bizcreyr/public_html/jobs/oc-admin/themes/modern/main/index.php on line 290

I then also went and checked all the files on the server and found that all the index.php files were blank somehow. I replaced them with the backed up copies on my system but the issue still persists.

Not sure if anyone has any suggestions?
Link to the site is:
https://bizcraft-innovations.co.za/jobs/

*

dsf

  • *****
  • 261 posts
Re: Browser showing blank page
« Reply #1 on: February 08, 2023, 01:17:38 PM »
A blank page means a fatal php error (or a major error).

Enable the debug for osclass and see the issue.

https://docs.osclasspoint.com/debug-mode

*

PeterB

  • ***
  • 33 posts
Re: Browser showing blank page
« Reply #2 on: February 08, 2023, 03:11:39 PM »
Thank you for the advise.

I actually managed to get my hosting company to restore the site from a backup on their side from two days ago and it is running again.

If I encounter this again I will definitely try the debug.

*

MB Themes

Re: Browser showing blank page
« Reply #3 on: February 08, 2023, 07:05:36 PM »
If index.php in root was empty, someone had to empty it right.
Osclass itslef cannot do it
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots