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!
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!
Perhaps an error on this page:
http://frohe-weihnocht.at/Weihnachtslieder-Texte...
http://frohe-weihnocht.at/Weihnachtslieder-Texte...
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 To This
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));?>
<?php Loader::element('header_required');?>
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
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
You have links toThe error shows as piwick.php in not found?
http://137.74.83.56/track/piwik/piwik.php?idsite=6&rec=1
If you have no edit bar, you will probably have a javascript conflict preventing the page from fully loading into edit mode.
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']));
}]
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']));
}]
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!!
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!!
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??
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??
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.