logo

Member
Member
Offline Offline
Posts: 46
SVN 650: No default theme is installed during installation INCLUDES FIX

When the installer is run, and after it installs everything, once the admin logs in, and heads to the admin panel..themes, they'll see that default is not installed, but it is being used.

To install the theme with the installer, in the file
functions..database..create.default.php

Find this:
Code:

INSERT INTO {PREFIX}settings (id, variable, value, help_text) VALUES (29, 'register_captcha', 'on', '{h_captcha}');
INSERT INTO {PREFIX}settings (id, variable, value, help_text) VALUES (30, 'tos', '', '');



After it, add:
Code:

INSERT INTO `themes` (`theme_id`, `theme_name`, `theme_author`, `author_site`, `author_email`, `theme_version`, `folder`, `theme_visibility`, `theme_preview`) VALUES
(1, 'default', 'confuser', 'http://eocms.com', '', '1', 'default', '1,2,3,4', 'default_preview.jpg');


This will add the default theme to 'installed', since its used at the start anyway.
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: SVN 650: No default theme is installed during installation INCLUDES FIX

Fix applied

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: [Fixed] SVN 650: No default theme is installed during installation INCLUDES FIX

This bug has been deemed [Fixed] by an eoCMS developer. If you dispute the Fix, please PM a developer, giving details of why. This topic can then be unlocked allowing for further discussion.

Please do not PM me requesting support or anything, use the forums, thats what they are here for

Jump to:


0.08 seconds Queries: 13