cuny-academic-commons / cbox-theme

Default theme for Commons In A Box
GNU General Public License v2.0
20 stars 15 forks source link

Blank screen when activating C-Box theme 1.0.7 no a fresh install #193

Closed basemaly closed 7 years ago

basemaly commented 10 years ago

I recently did a fresh install of WP 9 and Budyypress 2, to test whether how Commons-in-a-Box plugin and theme (1.0.7) would work. Unfortanately whenever I activate the C-Box theme I get a completely blank screen, and I can't figure out how to troubleshoot it. There doesn't seem to be anything in the httpd error log. Here's my site's URL: https://commonstage.pratt.edu and here's a preview link to the C-Box theme: https://commonstage.pratt.edu/?theme-preview=cbox-theme-1.0.7

Any ideas or suggestions would be hugely appreciated. Thanks.

boonebgorges commented 10 years ago

Have you tried activating WP_DEBUG mode to see if it shows anything? (It might show errors that your Apache log is configured not to show.)

// in wp-config.php
define( 'WP_DEBUG', true );

On 04/21/2014 02:05 PM, Basem Aly wrote:

I recently did a fresh install of WP 9 and Budyypress 2, to test whether how Commons-in-a-Box plugin and theme (1.0.7) would work. Unfortanately whenever I activate the C-Box theme I get a completely blank screen, and I can't figure out how to troubleshoot it. There doesn't seem to be anything in the httpd error log. Here's my site's URL: https://commonstage.pratt.edu and here's a preview link to the C-Box theme: https://commonstage.pratt.edu/?theme-preview=cbox-theme-1.0.7

Any ideas or suggestions would be hugely appreciated. Thanks.

— Reply to this email directly or view it on GitHub https://github.com/cuny-academic-commons/cbox-theme/issues/193.

basemaly commented 10 years ago

Thanks, that's giving me a lot to work with! I see the immediate problem seems to be a permissions issue, where it wants to create a folder under "uploads." That seems to be why the screen is blank. Now I'm seeing some of the theme, but I do have a bunch of warning and many lines like this below. Is this a matter of configuration, or do you think I'm missing something in the theme folder? I don't remember having this much difficulty setting up Commons before, so I suspect I missed a step.

Strict Standards: Declaration of ICE_File_Cache::add() should be compatible with ICE_Map::add($key, $value, $prepend = false) in /mnt/isilon/hosted_sites/home/commonstage/web/wp-content/themes/cbox-theme-master/engine/ICE/utils/file_cache.php on line 133

Strict Standards: Static function ICE_Style_Property::create() should not be abstract in /mnt/isilon/hosted_sites/home/commonstage/web/wp-content/themes/cbox-theme-master/engine/ICE/dom/style.php on line 825

Strict Standards: Declaration of Infinity_Sections_Policy::instance() should be compatible with ICE_Policy::instance($class = NULL) in /mnt/isilon/hosted_sites/home/commonstage/web/wp-content/themes/cbox-theme-master/engine/api/sections.php on line 23

Strict Standards: Declaration of ICE_Option_Walker_Category::start_el() should be compatible with Walker_Category::start_el(&$output, $category, $depth = 0, $args = Array, $id = 0) in /mnt/isilon/hosted_sites/home/commonstage/web/wp-content/themes/cbox-theme-master/engine/ICE/components/options/walkers.php on line 65

Strict Standards: Declaration of ICE_Option_Walker_Category::end_el() should be compatible with Walker_Category::end_el(&$output, $page, $depth = 0, $args = Array) in /mnt/isilon/hosted_sites/home/commonstage/web/wp-content/themes/cbox-theme-master/engine/ICE/components/options/walkers.php on line 65

Strict Standards: Declaration of ICE_Option_Walker_Page::start_el() should be compatible with Walker_Page::start_el(&$output, $page, $depth = 0, $args = Array, $current_page = 0) in /mnt/isilon/hosted_sites/home/commonstage/web/wp-content/themes/cbox-theme-master/engine/ICE/components/options/walkers.php on line 119

Strict Standards: Declaration of ICE_Option_Walker_Page::end_el() should be compatible with Walker_Page::end_el(&$output, $page, $depth = 0, $args = Array) in /mnt/isilon/hosted_sites/home/commonstage/web/wp-content/themes/cbox-theme-master/engine/ICE/components/options/walkers.php on line 119

boonebgorges commented 10 years ago

@basemaly Thanks for the additional details.

@MrMaz You mind taking a gander here? In particular, what's a workaround for the /uploads/ issue? Just to manually create or chmod the directory?

MrMaz commented 10 years ago

The theme uses the standard WordPress upload directory (the location varies depending on single or network install), which, as you know, is required to be writable for any kind of uploads to work. Fixing it manually for now would at least remove that variable from the issue.

IKraljevic commented 8 years ago

Hi, have you found a solution for this problem?

(I am seeing exactly the same problem as basemaly described, specifically I am getting the messages:

Strict Standards: Declaration of ICE_File_Cache::add() should be compatible with ICE_Map::add($key, $value, $prepend = false) in C:\Users\cik006\Documents\My Web Sites\wordpress\wp-content\themes\cbox-theme\engine\ICE\utils\file_cache.php on line 133

Strict Standards: Static function ICE_Style_Property::create() should not be abstract in C:\Users\cik006\Documents\My Web Sites\wordpress\wp-content\themes\cbox-theme\engine\ICE\dom\style.php on line 825

etc.)

Any reply will be much appreciated. Thanks

r-a-y commented 8 years ago

The issue is related to having WP_DEBUG set to true in your dev environment.

To workaround this for now, see https://github.com/cuny-academic-commons/cbox-theme/issues/215#issuecomment-94040468

The code snippet linked in that comment will allow you to suppress these notices without turning WP_DEBUG off, which will allow you to activate the theme.

IKraljevic commented 8 years ago

Thank you r-a-y, that worked perfectly!

r-a-y commented 7 years ago

This should be fixed since v1.0.14.