Viewing 15 replies - 1 through 15 (of 15 total)
  • Hey there malomargo24,

    How are you doing today?

    Which browser on which OS are you using? Everything seems to be working fine for me on Chrome/Win.

    Please let me know ??

    Cheers,
    Bojan

    Thread Starter malomargo24

    (@malomargo24)

    Hi Support

    I am using Windows 10 Home Edition and using google chrome Version 48.0.2564.116 m (64-bit)

    if you were able to login to backend you would see the lag

    It takes 5-10second to drag and drop visual editor

    check out the screen recording:
    https://162.214.5.23/~signatureplumbin/wp-content/uploads/2016/02/right-sidebar.gif

    Thread Starter malomargo24

    (@malomargo24)

    Hi Support

    We’re you able to look at the screen recording issue?

    Hey again malomargo24,

    I’ve checked the video and I’m pretty sure the reason for this is the amount sidebars combined with the plugin that you’re suing that are taking too much server resources. I can see that the widget you used in this example is loading whole WP editor into the widget.

    You can try disabling that one for example just for testing purposes to see if that will change anything.

    Best regards,
    Bojan

    Thread Starter malomargo24

    (@malomargo24)

    Hi Support

    I’ve disabled alot of plugins and still the drag/drop is very slow, we’ve added over 800 custom sidebars. our vps server has 4 cores and 8 gb ram, more than enough power, is their any way to increase the server resources?

    new screen recording –
    https://162.214.5.23/~signatureplumbin/wp-content/uploads/2016/03/new-screen-recording.gif

    Hey again,

    800 custom sidebars is quite a lot and I’m not really sure if slightly increasing server resources would make a significant difference.

    What you can do is try using caching as object cache might be able to help a bit here. You can try using this plugin for example: https://www.ads-software.com/plugins/w3-total-cache/

    Here is a handy guide on how to set it up: https://www.wpexplorer.com/wordpress-w3-total-cache/

    Hope this helps ??

    Cheers,
    Bojan

    Thread Starter malomargo24

    (@malomargo24)

    Now we’re getting an error

    Warning: Unknown: open(/tmp/sess_731d9aa90795b4fcdef74bdf8244b807, O_RDWR) failed: Permission denied (13) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

    is it possible for you to login to backend and see the issue.

    https://162.214.5.23/~signatureplumbin/home-2/

    Hey again malomargo24,

    The problem is most likely due to session folder not being writable (not having right permissions set on it).

    You should be able to fix this in 2 ways:

    1. Contact your hosting provider and ask them to change the permissions on the session folder

    2. I’ve made a mu-plugin for you that checks if session folder is writable and if it isn’t it creates another location in uploads folder where sessions are being stored. You can download it here. Once you do go to /wp-content/ and check if you have mu-plugins folder. If you do just paste that php file into the folder, if not create mu-plugins folder and paste the file there. This plugin should work out of a box.

    As for checking your site backend this is not allowed on this forum. You can read more about forum guidelines here.

    Hope this helps and have a great day!

    Cheers,
    Bojan

    Thread Starter malomargo24

    (@malomargo24)

    Hello,

    I’m not able to see the session failure messages on the link provided here. The page loads up without any issue. Does this happen when you login or load a specific page? The /tmp path appears to be loading properly and the session files are being generated as they should on the server. If you are still experiencing this, please reply back with steps to duplicate and any logins required to get to the specific page.

    Thanks,
    Blake W.
    VPS/Dedicated Administrator

    Hey again,

    not really sure what he is referring to but the following error:

    Warning: Unknown: open(/tmp/sess_731d9aa90795b4fcdef74bdf8244b807, O_RDWR) failed: Permission denied

    tell us that the folder is not writable. If he believes this is something else maybe he could help us troubleshoot these two.

    Cheers,
    Bojan

    Thread Starter malomargo24

    (@malomargo24)

    Hi Support

    The tmp folder settings are set too 777 and mu-plugins folder is set to 755

    and I’ve added your create-new-session-directory.php to the mu-plugins folder

    we really help with the widgets speed and the tmp error.

    Hey again,

    Are you using the plugin that I’ve posted above?

    If yes can you please check the if there is actually new sessions folder in /wp-content/uploads/?

    Best regards,
    Bojan

    Thread Starter malomargo24

    (@malomargo24)

    Hi Support

    Yes, I’ve read and applied your plugin recommendations

    check out the screenshot –
    https://162.214.5.23/~signatureplumbin/wp-content/uploads/2016/03/custom-sidebar.png

    Hey again,

    Alright, can you please try replacing the mu-plugin code with this one:

    <?php
    
    /*
     Plugin Name: Create New Session Directory
     Version: 1.0
     Plugin URI: https://wpmudev.org/
     Description: Create New Session Directory.
     Author: WPMUDev
     Author URI: https://wpmudev.org/
     Network: true
    */
    
    function set_session_path_alt(){
    try {
        $upload = wp_upload_dir();
    $upload_dir = $upload[ 'basedir' ];
    $upload_dir = $upload_dir . '/sessions';
    
    if ( !is_dir( $upload_dir ) ) {
    @mkdir( $upload_dir, 0777 );
    }
    
    @ini_set( "session.save_handler", "files" );
    @session_save_path( $upload_dir );
    } catch ( Exception $e ) {
     echo $e->getMessage();
    }
    }
    
    set_session_path_alt();

    Hope this helps ??

    Cheers,
    Bojan

    I like this application, I feel that it would be greater if:
    * it had a better visible specification on the size required of the images that will be displayed
    * A choice of round or corner edges
    * Text boxes (more than 1) in the images, to insert a different URL destination in each box or to all text boxes (this can be used to analyze what part of the image triggers more attention from the user)

    Thank you

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Custom Sidebars’ is closed to new replies.