This topic has 21 replies, 6 voices, and was last updated 10 years by Abe.

  • Author
  • #5156
     nusolutions
    Participant

    Just noticed on my ver2.2 theme that I get a white page after trying to insert an icon located within the editor. No errors just a solid white background.

    Searching…

    #5243
     US
    Participant

    Same here – I tried turning off my plugs and still the same problem : (

    #5249
     SQadmin
    Keymaster

    Hi, Please replace the contents of this file: wp-content/themes/sweetdate/framework/shortcodes/tinymce/get_wp.php with this:

    COPY CODE
    
    // Access WordPress
    $wp_load = "wp-load.php";
    $count = 0;
    while(!file_exists($wp_load)) {
    	$count++;
    	if ($count > 12) { 
    		break;
    	}
    	$wp_load = '../' . $wp_load;
    }
    
    if (file_exists($wp_load)) {
    	require_once(realpath($wp_load));
    }
    

    Please keep the first line
    <?php

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5299
     US
    Participant

    Adding doesn’t help:

    COPY CODE
    
    <?php
    
    // Access WordPress
    $wp_load = “wp-load.php”;
    $count = 0;
    while(!file_exists($wp_load)) {
    $count++;
    if ($count > 12) {
    break;
    }
    $wp_load = ‘../’ . $wp_load;
    }
    
    if (file_exists($wp_load)) {
    require_once(realpath($wp_load));
    }
    
    ?>
    

    PLEASE NOTE: I tried with and without `?>’

    #5324
     SQadmin
    Keymaster

    Hi,
    This is the complete file: http://d.pr/n/h50G
    If it doesn’t work in wp-config.php set WP_DEBUG to TRUE and see the error in the popup

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5329
     US
    Participant

    Im running a stock version of your theme – no other plugs are turned except for the ones your theme calls for

    http://cyco.io/wp-content/themes/sweetdate/framework/shortcodes/tinymce/popup.php?popup=tabs&width=800&random=1383045668276

    Gives a 403 forbidden
    Permissions appear fine (all 644s and 755s) and ownerships are all owned by wordpress
    Im lost at this point

    Here’s the slew of debugs errors
    `
    Notice: Constant BP_GROUPS_SLUG already defined in /home/wordpress/public_html/wp-content/plugins/bp-custom.php on line 20

    Strict Standards: Only variables should be assigned by reference in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-loader.php on line 602

    Strict Standards: Declaration of BP_Settings_Component::setup_globals() should be compatible with BP_Component::setup_globals($args = Array) in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php on line 198

    Strict Standards: Declaration of BP_Settings_Component::includes() should be compatible with BP_Component::includes($includes = Array) in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php on line 198

    Strict Standards: Declaration of BP_Settings_Component::setup_nav() should be compatible with BP_Component::setup_nav($main_nav = Array, $sub_nav = Array) in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php on line 198

    Strict Standards: Declaration of BP_Settings_Component::setup_admin_bar() should be compatible with BP_Component::setup_admin_bar($wp_admin_nav = Array) in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php on line 198

    Strict Standards: Declaration of BP_Group_Member_Query::get_include_ids() should be compatible with BP_User_Query::get_include_ids($include = Array) in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-groups/bp-groups-classes.php on line 1182

    Strict Standards: Redefining already defined constructor for class BP_Groups_Widget in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-groups/bp-groups-widgets.php on line 26

    Strict Standards: Non-static method BP_XProfile_ProfileData::get_value_byid() should not be called statically in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php on line 175

    Strict Standards: Non-static method BP_Core_User::get_core_userdata() should not be called statically in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-members/bp-members-functions.php on line 161

    Strict Standards: Non-static method BP_Groups_Member::total_group_count() should not be called statically in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php on line 513

    Strict Standards: Non-static method BP_Messages_Thread::get_inbox_count() should not be called statically in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php on line 333

    Strict Standards: Non-static method BP_Friends_Friendship::get_friendship_request_user_ids() should not be called statically in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php on line 212

    Strict Standards: Non-static method BP_Groups_Member::get_invites() should not be called statically in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php on line 638

    Strict Standards: Non-static method BP_Messages_Thread::get_inbox_count() should not be called statically in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-functions.php on line 216

    Strict Standards: Non-static method BP_Core_Notification::get_all_for_user() should not be called statically in /home/wordpress/public_html/wp-content/plugins/buddypress/bp-members/bp-members-notifications.php on line 86
    `

    #5330
     US
    Participant

    Here’s another error hiding at the bottom of the page
    `
    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method sidebar_generator::edit_form() should not be called statically in /home/wordpress/public_html/wp-includes/plugin.php on line 429
    `

    #5332
     SQadmin
    Keymaster

    Those strict standard errors are coming from different plugins and are more of a notice instead of error. so no worries.
    Your problem is that the file can’t be accessed or it does not exist at that location:
    http://cyco.io/wp-content/themes/sweetdate/framework/shortcodes/tinymce/popup.php

    You also have installed a restriction plugin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5335
     US
    Participant

    That file exists

    chmod is 644 chown is the same as the entire site

    Pass plug turned off, which has zero bearing on our issue anyways

    #5336
     US
    Participant

    I thinks there’s another issue at hand – seems to have happen on this latest 2,2 version

    #5339
     SQadmin
    Keymaster

    I don’t think that is the problem with 2.2. Here is v2.1 if you want to make a test:
    https://archived.seventhqueen.com/files/sweetdate_2.1.zip

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5340
     US
    Participant

    testing now

    #5343
     US
    Participant

    yes you’re correct – v2.1 was not help

    what next? Its appears 1 or 2 others are noticing this so far…

    #5344
     SQadmin
    Keymaster

    Other member doesn’t have your problem and I guess it was fixed with my code.
    do you have any htaccess rules?
    talk with the hosting because I remember another member having a similar problem resolved it with them

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5345
     US
    Participant

    .htaccess rules: All standard

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    #5346
     US
    Participant

    I am the host – digital ocean

    #5347
     US
    Participant
    This reply has been set as private.
    #5349
     US
    Participant

    Here a solve – it’s kinda brute force but works

    create a .htaccess here:
    /wp-content/themes/sweetdate/framework/shortcodes/tinymce/.htaccess

    and place this code in it (minus the bat ticks):

    `
    <Files *.php>
    Order Allow,deny
    Allow from all
    </Files>
    `

    Works like charm, hope this help someone else : )

    #6759
     daniel
    Participant

    Thanks Shane & Admin!

    Worked perfectly after following Shane’s instructions (I did change the code as per admin’s instructions first).

    In case anybody doesn’t know how to create a .htaccess, just open notepad, paste the code Shane wrote above, save as any name you want, then upload to the folder Shane mentioned (via cPanel or whatever), then rename it to just .htaccess

    Cheers.

    #6770
     US
    Participant

    @daniel glad to see this has helped you!!

    #9574
     Otakuman
    Participant

    Please help me… the solution from shane doesn’t work. I did exactly what u did, anyone… Really appreciate

    #9624
     Abe
    Keymaster

    Hello, Please make sure to use the latest theme version, 2.3.1 and that fix is no longer needed

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 22 posts - 1 through 22 (of 22 total)

The topic ‘Blank page / screen when loading shortcodes’ is closed to new replies.

Log in with your credentials

Forgot your details?