Theme will not behave in site hosted by justhost.com

Permalink
I have my theme folder, called "stma", installed on justhost.com. However, when I tried to preview this theme, I got the following error message: Warning: include() [function.include]: Failed opening '/home1/[username]/public_html/updates/concrete5.6.0.2/concrete/themes/stma/elements/header.php' for inclusion (include_path='/home1/[username]/public_html/libraries/3rdparty:/home1/[username]/public_html/updates/concrete5.6.0.2/concrete/libraries/3rdparty:.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home1/[username]/public_html/updates/concrete5.6.0.2/concrete/core/libraries/view.php on line 419. Line 419 reads "include($env->getPath(DIRNAME_THEMES . '/' . $this->getThemeHandle() . '/' . $file, $this->pkgHandle));". I did change my DIR_REL in config/site.php to '/', and this resulted in the default Concrete5 text (the page that has the "Welcome to Concrete5!" headline) appearing without any styling on a white background and no images. The first few lines of text from my site appeared at the bottom of this unstyled page. When I tried to login to this site, I got an error stating that my browser was unable to findhttp://login.php. Does anyone see what I'm doing wrong or am missing?

 
ntgross replied on at Permalink Reply
ntgross
I just installed version Concrete5 version 5.6 and there was no DIR_REL in the site.php file. Did you add it or modify what was there? This was a standard line in previous versions.

You could try running an update to possible clear up some issues, from a URL like yourdomain.com/index.php/tools/required/upgrade

Are you able to login from yourdomain.com/index.php/dashboard ?

Send me a PM if that doesn't work.
vealface replied on at Permalink Reply
First, thank you for responding. Second, I did uninstall, then re-install Concrete5 (5.6.0.1). I am now able to login to the dashboard from the default page supplied by Concrete5. (I believe it's from the theme called greensalad.) I can see this theme and a few others within the concrete/themes folder. I have my theme, called stma, in the themes folder that is NOT within the concrete directory. I did place Concrete5 within a directory called C5, because I want people to visit my own home page athttp://www.cornelweb.org first before proceeding to the Concrete5 web site. A click on a link on this site goes to the Concrete5-based web page (the page with the Greensalad theme).

Within config/site.php, there are currently no lines for DIR_REL nor BASE_URL.

However, I continue to get the original warning message, which reads:

Warning: include() [function.include]: Failed opening '/home1/[username]/public_html/C5/concrete/themes/stma/elements/header.php' for inclusion (include_path='/home1/[username]/public_html/C5/libraries/3rdparty:/home1/[username]/public_html/C5/concrete/libraries/3rdparty:.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home1/[username]/public_html/C5/concrete/core/libraries/view.php on line 418

What do I do to have this message go away and be able to preview my theme (stma)?

I realize I'm exposing myself as a newbie, but what is a PM?
ntgross replied on at Permalink Reply
ntgross
PM = Personal Message

It is odd the path to the theme is

.../public_html/C5/concrete/themes/stma/...

Since this is a theme you installed, it should be looking for the theme in

.../public_html/C5/themes/stma/...

Failing to open the file means that the file is missing, it is in the wrong place or permission is denied. Your webhost should be able to assist you with that.

Maybe moving the theme into the concrete/theme folder will solve the problem.

Where did you get the theme from? I can take a look at the theme itself. It is possible the theme was not made or updated for this version of Concrete5.