• hello my friends
    I have problem in “media library folders” plugin.
    my problem: folders not load
    I acted : deactive plugin and activate reset and reset database
    but not solve my problem.
    my system information is:
    —– Begin System Info —–

    WordPress Version: 5.3
    PHP Version: 7.2.25
    MySQL Version: 5.5.5
    Web Server: LiteSpeed

    WordPress URL: http://saviors.ir/fa
    Home URL: http://saviors.ir/fa

    PHP cURL Support: Yes
    PHP GD Support: Yes
    PHP Memory Limit: 512M
    PHP Post Max Size: 200M
    PHP Upload Max Size: 200M

    WP_DEBUG: Disabled
    Multi-Site Active: Yes

    Operating System: Windows
    Browser: Mozilla Firefox 71.0
    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

    Active Theme:
    – Goodnews 5.9.6
    http://www.momizat.com

    Active Plugins:
    —– End System Info —–

    please help me
    Best regards
    Homami

Viewing 15 replies - 61 through 75 (of 110 total)
  • Thread Starter riaz2157

    (@riaz2157)

    errors with theme “twenty Nineteen”:
    ————–
    [20-Jan-2020 10:20:03 UTC] PHP Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Sidebar 1” sidebar. Defaulting to “sidebar-1”. Manually set the id to “sidebar-1” to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/saviorsi/public_html/saviors.ir/wp-includes/functions.php on line 4986
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Undefined variable: output in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 489
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Undefined variable: fix_tag in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 490
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Undefined variable: showdot in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 491
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Undefined variable: more_tags in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 494
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Undefined variable: more_tags in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 497
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Undefined variable: more_tags in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 500
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Undefined variable: post in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 509
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 509
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Undefined variable: post in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 509
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 509
    [20-Jan-2020 10:20:03 UTC] PHP Notice: Undefined variable: mlink_title in /home/saviorsi/public_html/saviors.ir/wp-content/themes/twentynineteen/functions.php on line 509
    [20-Jan-2020 10:20:03 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/saviorsi/public_html/saviors.ir/wp-includes/functions.php:4986) in /home/saviorsi/public_html/saviors.ir/wp-includes/pluggable.php on line 1265
    [20-Jan-2020 10:20:03 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/saviorsi/public_html/saviors.ir/wp-includes/functions.php:4986) in /home/saviorsi/public_html/saviors.ir/wp-includes/pluggable.php on line 1268
    —————————-

    Could you sent the config of wp-config php. Because your installation is running in a subdir, not in the base of public-html
    Obviously without user and pwd.
    I have the impression that the installation is not set up properly.
    Myself I have a Vantage theme running with sidebars and that is working properly.
    So maybe worth trying, because all those errors have nothing to do with MLF.

    Thread Starter riaz2157

    (@riaz2157)

    Hi Mr. Peter
    my config.sys
    <?php
    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8mb4’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);
    define(‘WP_MEMORY_LIMIT’, ‘512M’);

    define(‘AUTH_KEY’, ‘{ mjYL{Wh(km_ c(XxamqN}a3jn4}39y67DS!m}^JJe1/6_Du8QyeW-a!EF%xO%|’);
    define(‘SECURE_AUTH_KEY’, ‘M/21u{?V~f,w,}KxB5{j|e$tM>|1[%E<j+5G9}a{[sl}RdX1k7GSzZXa<[s}8C;$’);
    define(‘LOGGED_IN_KEY’, ‘vIx{_f[?c5lOl9R;HCWgp!<6IDnnOcM_}~F|NSY|GR7owadw84fx_NpM_%rp v!C’);
    define(‘NONCE_KEY’, ‘t)7|+MW+jiWx0M%E$[U5$Xh/YJqf0<B%)lc7mv7@+W8q5C5zQ?SG}7x>b47|&B.F’);
    define(‘AUTH_SALT’, ‘V:C^x=v/w6evU7ilHnY P.XGj00ehxQD@39q9fT:MDhzj@DjrSS~/qbP+XGUfO’);
    define(‘SECURE_AUTH_SALT’, ‘^ .jme~8;#}A3Q;w~(y6+m#LzlJhCOkn1CmW}jL(j2}5U w2RG&62SPn^HBl|C:V’);
    define(‘LOGGED_IN_SALT’, ‘~e5hS-bHC}hG0e0pzhJNqh[=]Qhb4tkvTV2kW9/`>NIGo^q6O9Z@#mT,<KG03mr ‘);
    define(‘NONCE_SALT’, ‘&2*/!*;TAVx wBF/Vo-UNkb&1vP$P,lh0J%:e&P|{N_O.6RvhZtu~dU%n ie{N’);

    $table_prefix = ‘wp_En_’;
    define(‘WP_DEBUG’, false);
    /* Multisite */
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘saviors.ir’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    define( ‘WP_ALLOW_MULTISITE’, true );

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);
    define(‘UPLOADS’, ‘http://saviors.ir/images&#8217; );

    • This reply was modified 6 years, 4 months ago by riaz2157.

    Hi

    Some comments.
    Your wordpress is installed in public_html/savoirs.ir/, but the following is defined
    define(‘PATH_CURRENT_SITE’, ‘/’);
    That does not match, in my opinion it should be ‘savoirs.ir/’;
    Also why is the uploads location changed, and not within WordPress?

    define(‘UPLOADS’, ‘http://saviors.ir/images’ );
    That also does not match standard.
    Do you really use Multisite?
    Did you set a redirection to get WordPress working?
    If that is not done properly you will get problems.

    Hi

    One more comment about your site, you really should move it to a https environment. Now it is not a safe site, and could be abused.

    Hi one more comment about the images, I noticed that you can access the folder directly! So it is not protected. Also it contains a huge amount of images, that could cause a problem with MLF due to system limitations. There exists a limit of amount of images within a folder.
    You need to check the MLF documentation.

    Also remove the auth_key lines from this post
    This can be used for abuse

    Thread Starter riaz2157

    (@riaz2157)

    Hi Mr. Peter
    1- Yes, I use Multisite (En,Ar,Fa-blogs).
    2- Now, I changed define(‘PATH_CURRENT_SITE’, ‘/’);
    to define(‘PATH_CURRENT_SITE’, ‘saviors.ir/’);
    but don’t load images.
    Then I comeback to ‘/’;
    3- I removed the auth_key lines.
    4- I changed images folder in other domain and have not any problem with MLF.
    5- saviors.ir isn’t redirectory, but it is add-on domain. and I have this problem before that “saviors.ir was main domain in old host.

    Best regards

    • This reply was modified 6 years, 4 months ago by riaz2157.
    Thread Starter riaz2157

    (@riaz2157)

    and in other domain that I test MLF is addon domain too.
    and don’t have problem with MLF.

    • This reply was modified 6 years, 4 months ago by riaz2157.

    Hi this is important news!
    It means the following
    1: location of images is causing a problem on subsites.
    2. Putting them within WordPress resolves that
    3. But together with the mainsite, MLF has a problem.
    That gives me the following impression
    1 maybe the amount of memory on the mainsite is not enough
    2. Mlf has a problem with multisite and location/amount of images present

    Is the amount of images equal everywhere?
    Issue 1 you can maybe resolve yourselve by increasing the memory setting of WP
    define(‘WP_MEMORY_LIMIT’, ‘512M’);
    Issue 2 needs to be answered/investigated by MLF

    Hi

    With removing key I ment the text within this post!!!
    Not from your installation

    Thread Starter riaz2157

    (@riaz2157)

    Hi
    1- I set it before (define(‘WP_MEMORY_LIMIT’, ‘512M’);).
    2- MLF work with multisite.
    3- No problem with location of images. Also I moved it for test. Also I used same location for other domain and work without problem.
    4- I have a question for you said about images location and protection,
    how I can protect it?
    5- I think that problem solved with fixing data in database.
    best regards

    No you cannot secure the images through the database. There are many articles on the internet that explain how to protect images.
    https://www.greengeeks.com/tutorials/article/3-proven-ways-to-protect-images-on-your-wordpress-site/
    Also you can install a plugin wp-security to protect your site.
    Another way is to put statements in the .htaccess file in the root of WP

    Thread Starter riaz2157

    (@riaz2157)

    I use these protections

    Then you need to add an index.html with code to refuse listing of the folder. You can find examples on the internet how to do tgat

Viewing 15 replies - 61 through 75 (of 110 total)

The topic ‘problem in loading folders’ is closed to new replies.