You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Install questions

UserPost

6:29 pm
February 22, 2010


manofinfluence

Member

posts 3

1

Hi Ryan, I get the following message on my appearance page and when I try to update files I get the second message:

first message on appearance

Broken Themes

The following themes are installed but incomplete. Themes must have a stylesheet and a template.

Name Description
fonts Stylesheet is missing.
graphics Stylesheet is missing.
squeeze page content Stylesheet is missing.

second error:

Warning: require_once(/home/genie/public_html/blog/wp-content/themes/flexsqueeze/flexsqueeze../../../../wp-config.php) [function.require-once]: failed to open stream: No such file or directory in /home/genie/public_html/blog/wp-content/themes/flexsqueeze/flexsqueeze/style.php on line 2

I will await your reply. Thanks,

Rick

4:44 am
February 23, 2010


Ryan

Admin

posts 1252

2

Did you upload the theme using the WordPress theme uploader or did you FTP it up?  It's just not finding the wp-config.php file I think because it's installed in the /blog/ directory.  Here's what you can do:

Go into style.php in the editor and on line 2 either add one more ../ before wp-config.php, or you can delete that line and replace it with this code:

$d = 0; // search depth;
while (!file_exists(str_repeat('../', $d) . 'wp-config.php')) if (++$d > 99) exit;
$wp_config = str_repeat('../', $d) . 'wp-config.php';
require_once($wp_config);

This is the way I should have coded it in the first place, as this just looks for the wp-config.php file one directory at a time and if it doesn't find it, it goes up one more level at a time until it does.

10:12 pm
February 24, 2010


manofinfluence

Member

posts 3

3

I made the style.php changes… I don't remember how that error message was caused… but the following error messages still exist…

Any additional thoughts? Thanks, Rick

fonts Stylesheet is missing.
graphics Stylesheet is missing.
squeeze page content

Stylesheet is missing.

6:20 pm
February 25, 2010


manofinfluence

Member

posts 3

4

Those last errors about the styles sheets are missing are gone now. Cool

11:28 am
March 12, 2010


Jhangora

New Member

posts 1

5

Nice work. The free theme is good. Thanx  a lot.