Site just gone down, can't see why.. any ideas?

Permalink
Hi!

This site has been running concrete5-8.2.1 (remote upgraded) since March 2018.
Now it has just gone blank. FTP works, I can read the mysql db. I put a info().php on the site and that is working. How ever... I can't get concrete5 to operate.

Site:http://www.ellbohojd.se/

php info:http://www.ellbohojd.se/info.php...

Does anyone have any ides about what can be wrong?

Thanks!

EDIT: I got in contact with the web host and they say nothing is wrong at their side.

View Replies:
JohntheFish replied on at Permalink Reply
JohntheFish
Has the host changed the php version recently? Could a custom block or addon be incompatible?

You could try setting debug via ftp and see if you get a whoops trace. Edit application/config/generated_overrides/concrete.php
and add/change debug settings to:
debug' => [
        'detail' => 'debug',
        'display_errors' => true,
    ],
MrLindau replied on at Permalink Reply
They say that they haven't. I don't know. I did as you suggested and enabled debug.
If you visithttp://www.ellbohojd.se/ now you'll see something different...

Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Cannot use Concrete\Core\Foundation\Object as Object because 'Object' is a special class name
MrLindau replied on at Permalink Reply
And this is a very small website. I think their just one plugin, a image slider. Nothing fancy at all and nothing custom.
JohntheFish replied on at Permalink Reply
JohntheFish
That is a php7.2 error.
Your host has updated to php7.2 without telling you.
JohntheFish replied on at Permalink Reply
JohntheFish
You will need to either
a) manually update c5 to later version
or
b) set php to a lower version, then do an automatic update, then set php back up to 7.2
MrLindau replied on at Permalink Reply
hm... so they did... bas***s... anyway I'll spare you the cursing. :)

a) I have tried that, but I realized that the 8.2.1 version is a remote update. Then I guess I just can't swap the root concrete-folder for the latest version because the app(concrete5) isn't reading that folder anyway. It's redirected to:
/updates/concrete5-8.2.1_remote_updater/concrete

or am I wrong?

b) Where do I change that, and what version should I choose?

Thank you for your time, it's very much appreciated!
MrLindau replied on at Permalink Reply
I have now swapped the concrete-folder to the most recent version 8.5.1.
But you can try running the upgrade... I get an error there to.

/index.php/tools/required/upgrade


Whoops \ Exception \ ErrorException (E_WARNING)
is_dir(): open_basedir restriction in effect. File(/var/lib/php/sessions) is not within the allowed path(s): (/tmp:/usr/lib/php5:/usr/share/php:/web/se/www.ellbohojd.se)
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
The upgrade path you used is for pre 5.7 sites (5.6 and earlier)
You should us this path instead
/index.php/ccm/system/upgrade
MrLindau replied on at Permalink Reply
Just tried that, and now I got this message: (which is the same error)
Whoops \ Exception \ ErrorException (E_WARNING)
is_dir(): open_basedir restriction in effect. File(/var/lib/php/sessions) is not within the allowed path(s): (/tmp:/usr/lib/php5:/usr/share/php:/web/se/www.ellbohojd.se)
JohntheFish replied on at Permalink Reply
JohntheFish
Have a look through /application/config and remove the item that points it to /updates/... etc. - because your core is now latest in /concrete/
Then run the forced update using the c5 CLI.
MrLindau replied on at Permalink Reply 1 Attachment
I found some reference to the update-version.
When I removed that I got to the installation of 8.5.1
but now there are other problems.
Now it doesn't support "Supports concrete5 request URLs "
Is that something new? I didn't complain about that before?

I've attached a picture of the installation screen
MrLindau replied on at Permalink Reply 1 Attachment
Pardon me but the first image was faulty and didn't tell all.
Please look at this one instead
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
From your image I would say the hosting company has not setup all the required modules for PHP 7.2.
Take up this issue with your hosting company...
MrLindau replied on at Permalink Reply
I have been in contact with my technical support. He says that sometimes the upgrade due to hacking attempts, and that they don't tell you before they do it. And going on to say that he can't change anything. That we have the same access level. I have a FTP-account...that is it. So, please, what exactly is PATH_INFO and how can I activate it without access to the server?
I have read some threads here in the forum about a php5.ini file.. but I don't have access to that.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
MrLindau replied on at Permalink Reply
I read that post. I tried adding a php5.ini to my websites root directory but no change. The links to GoDaddys instructions are 404.