Upgrade to Concrete 5.6.2.1 - Editing of Pages Disappeared

Permalink
All,

My website,http://www.reformedpendulum.com was upgraded to Concrete 5.6.2.1, my global PHP version is 5.4. After the upgrade I no longer see the Edit Page option on each webpage. Before the upgrade, I was able to edit pages to my heart's content. I've double-checked and triple-checked the security on the pages as well.

I'm not sure what to do here and would appreciate any help anyone could provide for me.

Thanks!

Mark Hanson

 
Adreco replied on at Permalink Reply
Adreco
Hi Mark,
I've experienced this when certain add-ons were not upgraded at the same time. Are you able to check your "Extend Concrete5" dashboard area to see the update status of add-ons?

Adrian
Arvixe Web Hosting / Concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting.............
cmarkh replied on at Permalink Reply
All I had was Tweetcrete - 1.6.0 and I removed that package. I'm still having the same issue though - very bizarre.
Adreco replied on at Permalink Reply
Adreco
There have been a lot of posts in the past concerning tweetcrete and upgrade issues.
Maybe try re-installing the newest version of tweetcrete to see if the problem resolves itself?

Adrian
Arvixe Web Hosting / Concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting.............
mhawke replied on at Permalink Reply
mhawke
What version did you come from?
cmarkh replied on at Permalink Reply
5.4.1.1
cmarkh replied on at Permalink Reply
I reinstalled Tweetcrete - 1.6.8. Still no luck. :(
mhawke replied on at Permalink Reply
mhawke
That's what I thought because I just upgraded a site from 5.4 to 5.6. Themes built before 5.5 don't have the 'footer_required' built into the theme so you need to add that. Add this line right above the closing body tag in your theme file(s).

<?php $this->inc('elements/footer.php'); ?>
cmarkh replied on at Permalink Reply
So I went to wsc94584178/themes/Reformed Pendulum and edited default.php and intpage1.php and added the string you mentioned. Now I am getting this at the bottom of each page. The thing is that I I do not have a directory Reformed Pendulum under "wsc94584178/updates/concrete5.6.2.1_updater/concrete/themes"


Warning: include(/homepages/7/d94584170/htdocs/wsc94584178/updates/concrete5.6.2.1_updater/concrete/themes/Reformed Pendulum/elements/footer.php): failed to open stream: No such file or directory in /homepages/7/d94584170/htdocs/wsc94584178/updates/concrete5.6.2.1_updater/concrete/core/libraries/view.php on line 484

Warning: include(): Failed opening '/homepages/7/d94584170/htdocs/wsc94584178/updates/concrete5.6.2.1_updater/concrete/themes/Reformed Pendulum/elements/footer.php' for inclusion (include_path='/kunden/homepages/7/d94584170/htdocs/wsc94584178/libraries/3rdparty:/homepages/7/d94584170/htdocs/wsc94584178/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty:.:/usr/lib/php5.4') in /homepages/7/d94584170/htdocs/wsc94584178/updates/concrete5.6.2.1_updater/concrete/core/libraries/view.php on line 484
mhawke replied on at Permalink Reply
mhawke
Opps, my mistake. Sorry, what was I thinking??

Try this instead:

<?php  Loader::element('footer_required'); ?>
cmarkh replied on at Permalink Reply
The editing now works! I added a directory elements and a footer.php under wsc94584178/themes/Reformed Pendulum/. I grabbed the footer.php from one of the default themes that came with concrete.

Thanks for your help!

Mark
mhawke replied on at Permalink Reply
mhawke
What? I'm glad it's working but you're asking for trouble trying to blend php files from different themes.

Can you attach your default.php file here so I can have a look at it? You will have to rename it default.txt to attach it to these forums.

UPDATE: I see you now have some extra stuff along the bottom which tells me your DOM structure is butchered because your closing DIVs don't match up with your opening DIVs.
mhawke replied on at Permalink Reply
mhawke
UPDATE #2: Upon closer examination, I see that you now have 2 closing BODY tags and 2 closing HTML tags along with an orphaned closing DIV. Some browsers will let you get away with this but you're playing with fire because add-ons all add their own DOM elements and at some point your page will not render properly and you will be back here looking for reasons :-O

Let's fix this properly now.
cmarkh replied on at Permalink Reply 3 Attachments
I have attached the two php files that I added the suggested string to at the bottom. I have also attached the footer.php file that I just copied over yday too.

Thanks for your help!

Mark
mhawke replied on at Permalink Reply
mhawke
Thanks, I'll have a look.

Sorry, remind me about what intpage1.php is used for. Is that just another 'page type' layout page you are using in your site?
cmarkh replied on at Permalink Reply
It was just a file in my Reformed Pendulum Themes directory so I was just trying to follow this when I added the line in: "Add this line right above the closing body tag in your theme file(s)."
mhawke replied on at Permalink Reply 2 Attachments
mhawke
Looking at the HTML of your site, the intpage1.php file is actually the more important page on your site. The vast majority of pages use that file as their page type.

I have attached 2 modified files. Neither one uses the footer.php file any more because I incorporated the important sections of the footer.php file into these two files.

To be safe, don't just plunk these files back into your theme. Temporarily rename your existing (working) default.php and intpage1.php files so that if mine don't work, you can revert back to yours.

When I first started working with concrete5, I found it confusing to have all these references to 'footers' and 'headers'. The Load::elements("footer_required") stuff is not the same as the files in your 'elements/footer' even though they look very similar.
cmarkh replied on at Permalink Reply
Thank you! I'll do it!
cmarkh replied on at Permalink Reply
Mhawke,

I made the changes. Looks like it all works fine.

I was curious...is it normal for the "Sign In to Edit this Site" to show up at the bottom of the webpage?

Thanks!

Mark
mhawke replied on at Permalink Reply
mhawke
That's part of the stuff you grabbed from the other theme. I left it in but you should be able to find it at the bottom of the 'intpage1.php' file and remove it if you don't want it there.