EllisLab text mark
Advanced Search
     
config.php is missing $config[‘theme_folder_path’]
Posted: 13 July 2010 03:38 AM   [ Ignore ]
Joined: 2008-08-13
71 posts

After a fresh installation of EE 2.1.0, the line

$config['theme_folder_path''/themes/'

is missing from system\expressionengine\config\config.php.

Only after adding this line manually to config.php, I was able to login to the CP.

 
Posted: 13 July 2010 04:02 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2004-03-22
12298 posts

luvd,

that line is not usually there. On some occasions we ask people to add it while troubleshooting certain issues.
Do you have the correct permissions on your config.php file?
If you now look in your General Config via your CP what do you have for your Theme path?

 Signature 

John Henry’s Website | Follow me on Twitter

 
Posted: 13 July 2010 04:39 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2008-08-13
71 posts

The content of $config[‘theme_folder_path’] when viewed in the CP is /themes/

When removing the $config[‘theme_folder_path’] line in config.php, I’m not able to login.

config.php is writeable, as some entries have been updated by the installation program (license_number, cp_url, site_label).

Installation has been done in a development environment running Windows XP. This same environment has been used with EE 2.0.2PB1, which could be installed without this problems.

EDIT: The General Configuration page shows http://localhost/themes/ for the label “URL to your “themes” folder” and /themes/ for the label “Theme Folder Path” .

 
Posted: 13 July 2010 05:33 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2008-08-13
71 posts

The Theme Folder Path on the General Configuration page shows \themes\. When I press Submit, the message
The following path you submitted is not valid:
Theme Folder Path: /themes/
is displayed.

When I change Theme Folder Path to \themes\, I can Submit the page.
But the value still shows as /themes/ when the page is reloaded. Pressing Submit again, without changing anything, shows again the message about the invalid path.

 
Posted: 13 July 2010 05:40 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2008-08-13
71 posts

When I remove the $config[‘theme_folder_path’] line in config.php, I’m now able to login to the CP.

The problem as described before, about the invalid path message in the Global Configuration page, remains however.

If needed, I’m willing to do a new installation in a fresh environment.

And I don’t know if this is related, but when installing EE 2.1.0, there was no default template to choose from. Before one could choose for the Agile Records template.

 
Posted: 13 July 2010 08:18 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2009-07-05
78 posts

I too had to manually add this line to my config file for a site we are just starting. It was a fresh install of 2.1 on a server where we have a two live EE2.0 sites and a couple of sites in development under EE2.0.

We never had to set this before?

 Signature 

Gordon

Winking Frog Studios | Catch me on Twitter!

 
Posted: 13 July 2010 12:15 PM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-23
559 posts

Hello,

I am also unable to login in to my control panel after a fresh install of 2.1.  I get that same error.

When I add the base url to the themes directory I get this error:

Parse errorsyntax errorunexpected T_STRING in /xxxxx/peachsys/expressionengine/config/config.php on line 22 
 
Posted: 13 July 2010 12:16 PM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2007-05-07
6067 posts

what do you have on line 22 of your config file, fodney?

 Signature 

gregaker.net | Follow me on Twitter

 
Posted: 13 July 2010 12:18 PM   [ Ignore ]   [ # 8 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-23
559 posts
$config['theme_folder_path'= '/mnt/stor1-wc2-dfw1/452322/498949/www.peachpass.com/web/content/themes/';  
 
Posted: 13 July 2010 12:51 PM   [ Ignore ]   [ # 9 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-23
559 posts

Does that look ok?

thx

 
Posted: 14 July 2010 02:16 AM   [ Ignore ]   [ # 10 ]   [ Rating: 0 ]
Avatar
Joined: 2004-03-22
12298 posts

luvd,

The Theme Folder Path on the General Configuration page shows \themes\. When I press Submit, the message
The following path you submitted is not valid:

This needs to be a full server path and not just a relative path.

So if you were on a live host it would be something like the following. Your host can tell you what it is or you can do something like this

/home/usr/public_html/themes/

As you have a local install then it will something like this

C:/xampp/htdocs/mysite/themes/

 Signature 

John Henry’s Website | Follow me on Twitter

 
Posted: 14 July 2010 02:58 AM   [ Ignore ]   [ # 11 ]   [ Rating: 0 ]
Joined: 2008-08-13
71 posts
John Henry Donovan - 14 July 2010 06:16 AM

This needs to be a full server path and not just a relative path.

Thx for clarifying. The path D:\Data\Websites\ExpressionEngine\themes\ is now a valid path.

 
Posted: 14 July 2010 04:09 AM   [ Ignore ]   [ # 12 ]   [ Rating: 0 ]
Avatar
Joined: 2004-03-22
12298 posts

Just to confirm. You are now up and running?

 Signature 

John Henry’s Website | Follow me on Twitter

 
Posted: 14 July 2010 04:23 AM   [ Ignore ]   [ # 13 ]   [ Rating: 0 ]
Joined: 2008-08-13
71 posts

Yes I am.

But the main problem, not being able to login after the install of 2.1.0 without modifying config.php manually, still exists. It’s the same issue as http://ellislab.com/forums/viewthread/160644/ .

 
Posted: 14 July 2010 07:24 PM   [ Ignore ]   [ # 14 ]   [ Rating: 0 ]
Avatar
Joined: 2009-09-24
5506 posts

Anyone in this thread who’s still having issues, please download a fresh copy of EE 2.1. There have been some tweaks just made to the installer.

Again, if you’ve downloaded prior to the time of this message (6:30 EST), please download a fresh version and let us know how you fare.