Clicking 'Return to Website' displays theme path as text...?
Permalink
Hi all, I've been using concrete5 for around a week and am now stumped - when viewing my website at the URL, or going to 'Return to Website' from the dashboard, all that is displayed in the browser is text saying "/concrete/themes/testxmastheme/" on a white background...
I have not changed default.php since it was working, but have been experimenting with add-ons on the Plain Yoghurt theme which I've now removed - would this be anything to do with it? Plain Yoghurt still works fine, but my custom themes do not render.
I've tried creating a new theme and removed anything in default.php I thought could be causing it, but the same thing is still happening. I have cleared the cache within c5 to no avail... Any ideas? Thanks.
I have not changed default.php since it was working, but have been experimenting with add-ons on the Plain Yoghurt theme which I've now removed - would this be anything to do with it? Plain Yoghurt still works fine, but my custom themes do not render.
I've tried creating a new theme and removed anything in default.php I thought could be causing it, but the same thing is still happening. I have cleared the cache within c5 to no avail... Any ideas? Thanks.
This is now happening when I visit /login/ as well - after entering my login details I'm shown the text as described above, so I'm now literally locked out of the CMS - Help...!
It looks like you might have installed your custom theme to the /concrete/themes/ directory.
Concrete5 has a directory structure set up that is best used with installing things in the top level directories(/themes/ not /concrete5/themes) if that makes sense. Can you move any of the theme files you put in /concrete/themes in the /themes directory?
You might want to check this howto out. It talks a little about how overriding works.
http://www.concrete5.org/documentation/how-tos/editors/customize-a-...
Either way, if you ended up changing a core dashboard file or something you can always grab a new copy of concrete5 of the same version number and just replace the contents of the /concrete/ directory with the new files.
Concrete5 has a directory structure set up that is best used with installing things in the top level directories(/themes/ not /concrete5/themes) if that makes sense. Can you move any of the theme files you put in /concrete/themes in the /themes directory?
You might want to check this howto out. It talks a little about how overriding works.
http://www.concrete5.org/documentation/how-tos/editors/customize-a-...
Either way, if you ended up changing a core dashboard file or something you can always grab a new copy of concrete5 of the same version number and just replace the contents of the /concrete/ directory with the new files.
Thanks for your response. However to illustrate my server a little...:
server.com/concrete/ <-- C5 was uploaded here initially,
server.com/concrete/themes <-- is where my themes lie - effectively in c5's root, where they should be (this was working fine for a time)
server.com/concrete/concrete <-- also exists.
I will take a look at the link you posted, thank you. I'm hoping I can sort this problem early on without a full c5 reinstall - as you can imagine it would be quite frustrating if this bug hit me again, requiring a full reinstall, when the site is almost complete...!
server.com/concrete/ <-- C5 was uploaded here initially,
server.com/concrete/themes <-- is where my themes lie - effectively in c5's root, where they should be (this was working fine for a time)
server.com/concrete/concrete <-- also exists.
I will take a look at the link you posted, thank you. I'm hoping I can sort this problem early on without a full c5 reinstall - as you can imagine it would be quite frustrating if this bug hit me again, requiring a full reinstall, when the site is almost complete...!
Reuploading /concrete/concrete/ didn't fix anything. What I've done was make a copy of the /default/ theme, rename it to 'testxmastheme' and replaced the custom theme on the server with that, and I'm back in business. Switching to another custom theme results in the browser showing me the path as text again.
Very odd...? I'm now going to build the site for real, from scratch, and will just have to keep my fingers crossed that this doesn't happen again I guess...
Very odd...? I'm now going to build the site for real, from scratch, and will just have to keep my fingers crossed that this doesn't happen again I guess...
Did you modify your /config/site.php to have a DIR_REL that points to the example.com/concrete/ directory. Something like
or whatever you name your lower directory.
That is needed if you do not install concrete5 to the "Document Root" of your webserver.
This is going to get a little confusing to explain as most times people install to the root /server.com/ instead of a lower directory(/server.com/concrete/).
It is also a bit confusing to explain because you chose "concrete" as the name for your extra directory which is also the name for the concrete5 "core files" directory.
Do you need to install it to a lower level directory? If not I would recommend installing to the document root to save yourself some troubleshooting. If you are installing to a lower level directory you might try naming it concrete5 or something just so that it doesn't get confused with concrete directory.
define('DIR_REL', '/concrete');
or whatever you name your lower directory.
That is needed if you do not install concrete5 to the "Document Root" of your webserver.
This is going to get a little confusing to explain as most times people install to the root /server.com/ instead of a lower directory(/server.com/concrete/).
It is also a bit confusing to explain because you chose "concrete" as the name for your extra directory which is also the name for the concrete5 "core files" directory.
Do you need to install it to a lower level directory? If not I would recommend installing to the document root to save yourself some troubleshooting. If you are installing to a lower level directory you might try naming it concrete5 or something just so that it doesn't get confused with concrete directory.
The only file I'm aware I've modified besides default.php is .htmaccess or something like that, as c5 was advising me to make some changes to that file early on.
Haha, it is ironic I chose 'concrete' for the root directory name given that I now know this was a bad idea, but there is a reason for it. I installed c5 to my personal domain so that I could test it out, and as there is an existing website on my domain it seemed logical to me to put c5 into a directory called 'concrete'. I don't have access to the client's FTP yet, and I need to play around with c5 a bit more before I move the site to their server (presumably it's easy enough to move a site from server to server using c5's back up features?) - but of course when I upload the c5 files to their server, they will be uploaded straight to the root.
I tried to rename the base "concrete" directory to "cms" on my server, but I get 404-esque errors from c5 when trying to access the site. Renaming back reverts things without a problem. Assumingly I would need to edit values in the MySQL database or reinstall c5 if I want to the change the base directory name?
Haha, it is ironic I chose 'concrete' for the root directory name given that I now know this was a bad idea, but there is a reason for it. I installed c5 to my personal domain so that I could test it out, and as there is an existing website on my domain it seemed logical to me to put c5 into a directory called 'concrete'. I don't have access to the client's FTP yet, and I need to play around with c5 a bit more before I move the site to their server (presumably it's easy enough to move a site from server to server using c5's back up features?) - but of course when I upload the c5 files to their server, they will be uploaded straight to the root.
I tried to rename the base "concrete" directory to "cms" on my server, but I get 404-esque errors from c5 when trying to access the site. Renaming back reverts things without a problem. Assumingly I would need to edit values in the MySQL database or reinstall c5 if I want to the change the base directory name?