Concrete5.7 bug - Cannot create a page called upgrade

Permalink
Hey C5 members,

When I create a webpage called "upgrade" I get a complete blank page.
This bug is in the lastest version of C5.7 and olders versions.

I tried it on different Concrete5.7 websites and they all had the same problem.

nesoor
View Replies: View Best Answer
MrKDilkington replied on at Permalink Best Answer Reply
MrKDilkington
Hi nesoor,

I tried creating a page called "upgrade" and it was blank.

I believe the issue is that the URL slug for the page is called "upgrade" and not the name. I think it conflicts with a concrete5 system page called "upgrade.php".

Example: blank - page name "test" and URL slug "upgrade"
index.php/upgrade

Example: not-blank - page name "upgrade" and URL slug "upgrade-page"
index.php/upgrade-page

If you name your page "upgrade", but change the URL slug to "upgrade-page", the page will load as expected.

Also, if you create a subpage with a "upgrade" URL slug, it works as expected, so this depends on the path.

Example: works - subpage
index.php/scratch-pad/upgrade
nesoor replied on at Permalink Reply
nesoor
Hey MrKDilkington,

Thanks for your reply!
I've already thought that. Will the Concrete5 team fix this? :)
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
It probably won't be 'fixed' as it isn't a bug, its just already in use.
nesoor replied on at Permalink Reply
nesoor
Hey Goodnightfirefly,

That's true but isn't it possible to make a workaround? :)
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
The workaround is to pick a different URL slug, as MrKDilkington described above.

Unless of course, it actually is a bug ;)
nesoor replied on at Permalink Reply
nesoor
Hey Goodnightfirefly,

Somehow it doesn't feel right for me haha xD