• Resolved xoxostar

    (@xoxostar)


    I am running this plugin on a site and the entire calendar plugin works except for the Style Editor page. It spins for a second and then loads nothing. The rest of the dashboard continues to work.

    To troubleshoot I have:
    Changed the theme to twentyfifteen
    Disabled all plugins
    Deleted plugin and readded.

    Plugin version is 2.4.12
    WordPress version is 4.4

    I have the same plugin (same plugin version and WordPress version) installed on a different site and I have no issues with that site at all. Only this one. Both sites are hosted with the same company.

    All I’m trying to do is change the stylesheet – so if I can be informed where I need to update that in the code/database that will suffice as a work-around.

    https://wordpress.org/plugins/my-calendar/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    You can edit stylesheets offline if you wish, and store them in a custom directory as well, if you choose. The instructions for that are on the Help screen.

    You can copy the stylesheet either from the /styles/ or the /templates/ directories; either will work for your case, although the styles used in the front-end come from the /styles/ directory.

    That’s a curious problem; I’ve never encountered it before. I’m guessing it’s some kind of fatal error in PHP; if you can turn on errors in PHP, I’d be interested to know what’s happening.

    Thread Starter xoxostar

    (@xoxostar)

    I’ve actually looked through the PHP errors and there is nothing related to this plugin coming up at all- which is really boggling my mind.

    I did see how to edit the templates, I was wondering how to change the one it is calling on. I checked in the database but I was not able to find it. It is currently running the style twentyfifteen, how do I change it to use twentyfourteen or refresh?

    Plugin Author Joe Dolson

    (@joedolson)

    Without access to the style editor page, that could be tricky. You’ll have to make an edit in the database manually to change that option.

    Is it possible that what you’re actually getting is some other plug-in overriding or redirecting the My Calendar style editor page in some way?

    Thread Starter xoxostar

    (@xoxostar)

    I thought that at first, which is why I deactivated all the other plugins and set the theme to twentysixteen but it made no difference. I have no problem changing it in the database. But when I ran a query on ‘twentyfifteen’ all that came up were options related to the theme. I didn’t see that option in the my calendar tables.

    Plugin Author Joe Dolson

    (@joedolson)

    It’s in the wp_options table, option name ‘mc_css_file’.

    That’s strange; if there’s no PHP error and no impact from deactivating other resources, that’s pretty mystifying.

    Thread Starter xoxostar

    (@xoxostar)

    Ok, thanks, that will work. If I do ever find out why it is not working, I will let you know. I will try to do some debugging.

    Same here – the Style Editor Page is blank without throwing any errors.

    Something seems to break the page, if I look at the Code, the page stoppes working here:

    <div id="wpbody" role="main">
    
    <div id="wpbody-content" aria-label="Hauptinhalt" tabindex="0">
    		<div id="screen-meta" class="metabox-prefs">
    
    			<div id="contextual-help-wrap" class="hidden no-sidebar" tabindex="-1" aria-label="Kontexthilfe-Tab">
    				<div id="contextual-help-back"></div>
    				<div id="contextual-help-columns">
    					<div class="contextual-help-tabs">
    						<ul>
    												</ul>
    					</div>
    
    					<div class="contextual-help-tabs-wrap">
    											</div>
    				</div>
    			</div>
    				</div>
    Plugin Author Joe Dolson

    (@joedolson)

    That’s interesting; that is the end of the content before My Calendar should start rendering.

    Do you have file editing disallowed on your server?

    Plugin Author Joe Dolson

    (@joedolson)

    Or, more accurately, in your WordPress install.

    No, it´s not allowed.

    Are there any informations I could give you for a better debugging? My site is really complex, so I will install the plugin on a domain with a fresh wordpress but same server configuration tomorrow to check if it´s the same behavior here.

    By the way- really great plugin with a clean and well structured code! I love it!

    Tested it – the page disappears when file-editing is disallowed.

    So my solution will be to allow it temporarily until I finished the configuration.

    Plugin Author Joe Dolson

    (@joedolson)

    I’ve just released an update that gives better feedback when file editing is disallowed. The stylesheet editor is visible, but you can’t actually edit the file.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Style Editor Page not loading’ is closed to new replies.