Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 11 months, 3 weeks ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Infinity Theme Options page blank

  • This topic has 6 replies, 3 voices, and was last updated 7 years, 9 months ago by Damian Sol.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 19, 2015 at 6:34 pm #5672
    Damian Sol
    Participant

    Hello awesome CBOX-peeps,

    I have a brand new CBOX install with WP 4.2.2 and CBOX 1.0.10. I’m getting
    the same issue that I’ve seen from other folks on the forum, whereupon I
    click CBOX Theme Options and get a blank screen.

    I wasn’t able to find a non-Github link to an authoritative fix for this
    problem (the Github is a mix of deleted and added code, so I wasn’t sure
    which was the right line), but I tried to paste various permutations of
    that code into my child theme’s functions.php with no success.

    I suspect that fix is out of date anyway, since it pertained to WP 2.6.x
    release, and now we’re way past that.

    What’s the latest?

    Thanks!

    Damian

    June 22, 2015 at 8:01 am #5674
    Christian Wach
    Participant

    @damiansol You’ll need to enable error reporting first so that the actual error can be identified. This topic covers that process.

    Cheers, Christian

    June 24, 2015 at 7:25 pm #5678
    Damian Sol
    Participant

    Thanks Christian.

    I enabled error reporting and, while I saw many errors with various permutations of “Strict Standards: Declaration” in them, this one stood out as a likely culprit:

    Parse error: syntax error, unexpected ‘<‘ in /var/www/vhosts/icln.cbox.twohatsconsulting.com/wp-content/themes/cbox-theme/dashboard/templates/cpanel_header.php on line 2

    I looked in that file and noticed an extra <?php opening tag, so I deleted it as a test and the page seems to work now! Sweet.

    I’m not a Github user, so I’m not sure how to best submit that as a needed change, but it’s clearly an error that should be corrected. Let me know if there’s some way I can contribute there, and thanks again for the help.

    Damian

    June 25, 2015 at 4:56 am #5681
    Christian Wach
    Participant

    Well, that’s odd – the file looks okay to me. Here’s a link to it as it currently stands in the GitHub repo:

    https://github.com/cuny-academic-commons/cbox-theme/blob/master/dashboard/templates/cpanel_header.php

    How does it differ from the file that was on your system?

    And, so I can try and reproduce this, which version of PHP are you using?

    June 25, 2015 at 4:01 pm #5682
    Damian Sol
    Participant

    Hi Christian,

    Here’s the report from the Theme Settings area:

    • Infinity Version: 1.1b
    • Developer Mode: Disabled
    • BuddyPress: 2.2.3.1
    • MySQL: 5.5.44
    • Permalinks: custom
    • PHP: 5.4.41
    • WordPress: 4.2.2
    • WordPress multisite: no

    One other thing I just thought of — the server I’m hosting this demo site on was recently hacked. In so doing a few files were defaced. It’s possible that this file was hacked to the degree that there was an additional <?php opening tag added by the malicious code.

    Damian

    June 27, 2015 at 5:51 pm #5690
    Ray
    Keymaster

    One other thing I just thought of — the server I’m hosting this demo site on was recently hacked. In so doing a few files were defaced. It’s possible that this file was hacked to the degree that there was an additional

    Probably best to delete the cbox-theme and probably all plugins and start from scratch.

    Also, do a malware scan of your WP install:
    https://wordpress.org/plugins/gotmls/

    June 29, 2015 at 7:11 pm #5694
    Damian Sol
    Participant

    Hello Ray,

    Thanks for that plugin. I installed it and found one backdoor script, which I deleted.

    Damian

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 274

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    274 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register