No edit mode, no errors, don't know what to do

Permalink
Hello,
I set up a site a year ago to sell a CD with Christmas songs.
It's running on 8.4.2
I didn't touch the site for a year. Now I log in, and there is no edit mode.

I set the debug mode so I get error messages, but I don't get any except on some system pages, and only sometimes at that.

Why is there no edit mode suddenly, when I didn't touch the page in a year, and I didn't change anything at all, and it was working fine and now it isn't??

I tried to update concrete, but in dashboard it says no update available. Which isn't true I believe. Please, can anyone help me?

The page is athttp://frohe-weihnocht.at

Thxs much appreciated!

rritz
 
hutman replied on at Permalink Reply
hutman
When you login are you able to get to the dashboard?

When you are logged in and go to the front end of the site, what do you see? Does the page display fine just without the edit bar?

If you use Chrome and open the Developer Tools are there any errors in the Console?

Does your hosting company have some sort of caching mechanism on the site, like CloudFlare? This can cause a lot of problems when editing.
tallacman replied on at Permalink Reply
tallacman
andrewjaff replied on at Permalink Reply
andrewjaff
Hi,

this is what i am getting while accessing your site
http://i.share.pho.to/cdd9763b_o.png...
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
I don't know why pageTitle is being called there since the header_required.php file calls it within its own code?
If this has worked okay in the past then probably the error was ignored by an earlier version of PHP, which would indicate the PHP version on the server has been updated.
Newer versions of PHP are less tolerant of coding errors.

I would try changing this
<?php Loader::element('header_required', array('pageTitle' => $pageTitle));?>
To This
<?php Loader::element('header_required');?>
rritz replied on at Permalink Reply
rritz
Tried this, I could access the site once more, logged in, but now I get a different error.
About the youtube block

According to host there has been no change in php version. Nothing at all has been changed on the site for a year, and it was working perfectly then, now completely broken.

I don't understand what's happening ... yesterday I was able to access the dashboard and change the debug settings. Today the page throws an error when trying to access.
Then I change the header.php. After that I can access the site and log in, but then get an error about the youtube block:

" elseif ($params['t']) {
$this->set('startSeconds', $this->convertStringToSeconds($params['t'])); "
Whoops \ Exception \ ErrorException (E_NOTICE)
Undefined index: t

I can access the pages without youtube block now, but I still can't edit them, there is no edit bar
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
You have links to
http://137.74.83.56/track/piwik/piwik.php?idsite=6&rec=1
The error shows as piwick.php in not found?
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
If you have no edit bar, you will probably have a javascript conflict preventing the page from fully loading into edit mode.
rritz replied on at Permalink Reply
rritz
Yes, there's this tracking pixel, I wanted to remove, because it no longer works. Can't get to it now

How would I find out what js error I have and how to fix it?

In chrome dev tools console I only see the error about the youtube block, same as I get when I login to the page:

39
Whoops \Exception\ErrorException…/blocks/youtube/controller.php line 63
38
Whoops\RunhandleError…/blocks/youtube/controller.php line 63

and this is line 63 (and 64) of controller.php:
[ elseif ($params['t']) {
$this->set('startSeconds', $this->convertStringToSeconds($params['t']));
}]
rritz replied on at Permalink Reply
rritz
Ok, the plot thinkens.

FIREFOX:
I CAN access the site
I CAN log in
AFTER login, I CANNOT access the front page, but get the error about the youtube block
When trying to access the dashboard, I get a 403 - you are not allowed to access this page
error, although I can see I am logged in
I CANNOT accesshttp://frohe-weihnocht.at/index.php/dashboard/blocks/types...
THere is NO EDIT BAR on any of the pages

OPERA:
I CAN access the site
I CAN log in
AFTER login, I CAN access the front page
There is NO EDIT BAR anywhere
I CAN access the dashboard
I get an error on http://frohe-weihnocht.at/index.php/dashboard/blocks/types... :

Whoops \ Exception \ ErrorException (E_NOTICE)
Use of undefined constant CACHE_LIFETIME - assumed 'CACHE_LIFETIME'

After I go back to dashboard, I am logged out (session invalidated)
after logging in again, everything is the same as in firefox

CHROME:
I CAN access the site
I CAN log in
AFTER login, I CANNOT access the front page, but get the error about the youtube block
When trying to access the dashboard, I get a 403 - you are not allowed to access this page
error, although I can see I am logged in
There is NO EDIT BAR on any of the pages
I CAN accesshttp://frohe-weihnocht.at/index.php/dashboard/blocks/types... and get the same error that I get in Opera ...

I'm sure someone will be able to make sense of this all, I can't!!
rritz replied on at Permalink Reply
rritz
Hey,
I am still trying to resolve this.

I thought I'd re-upload all the c5 files in case of something has been hacked, but I still get the same

Can really no one at all help?
This page has been fine, nothing has been changed, nothing at all, and now it's completely broken!
So wtf concrete??