Forum Replies Created

Viewing 15 replies - 1 through 15 (of 85 total)
  • Thread Starter tosca30

    (@tosca30)

    Version 8.6 works with multidomain environment!
    Thanks a lot for having fixed this issue.

    Thread Starter tosca30

    (@tosca30)

    Message is the following

    [15-Sep-2015 12:42:12 UTC] PHP Warning: copy(/home/marienoe/www/wp-content/uploads/sites/3/news-24953-cop-21-kesako.pdf): failed to open stream: No such file or directory in /home/marienoe/www/wp-content/plugins/media-from-ftp/inc/MediaFromFtp.php on line 440

    It seems the plugin is looking in the wrong folder. It should be:
    /www/wp-content/uploads/sites/3/2015/09/my-file-name
    instead of
    /www/wp-content/uploads/sites/3/my-file-name

    Thread Starter tosca30

    (@tosca30)

    The permissions on the upload directory is the same as all the other upload directories used by WordPress, that is 755. I don’t understand why your plugin would need other writing permissions.

    Anyway, I made a test with the permissions modified to 777, and I still got the message:

    Nom du fichier :/home/marienoe/www/wp-content/uploads/sites/3/news-24953-cop-21-kesako.pdf
    Directory name:/home/marienoe/www/wp-content/uploads/sites/3/2015/09
    You need to make this directory writable before you can register this file. See the Codex for more information. Or, filename must be changed of illegal.

    In fact, the only uploads subdirectory that has permissions other than 755 is media-from-ftp-tmp, with 705 permissions.

    Thread Starter tosca30

    (@tosca30)

    Mail sent with 3 screencopies.
    Hope this will help to solve the issue.

    Thread Starter tosca30

    (@tosca30)

    Back to the beginning: the file name is still there, but is followed by the 8 characters; it seems to work in the backend, but I still get a 404 error on the front end.
    Try the link on ‘plaquette explicative’ on this page

    Thread Starter tosca30

    (@tosca30)

    I’m not sure what means multi-bytes environment. I use an ordinary french WordPress installation.

    I did comment lines 380-401 of the inc/MediaFromFtp.php program but the result doesn’t change: in the folder, the filename is news-24953-cop-21-kesako.pdf' and the plugin is still renaming it as06153349.pdf`.

    Thread Starter tosca30

    (@tosca30)

    I just tried the 8.3 version. This time, the plugin finds the FTPed files, and synchronizes the DB… but it changes the file name to some 8-digits number, so the file name is lost and the URL doesn’t work!

    Example:
    – my original file name is something like: news-24953-cop-21-kesako.pdf
    – and the URL calculated by the plugin is https://my-site.com/wp-content/uploads/sites/3/2015/07/06110532.pdf

    Thread Starter tosca30

    (@tosca30)

    Hmmm… it appears to be worse than before: the plugin cannot find any file now, and I always get the following message:
    “There is no file that is not registered in the media library.”
    So there appears to be no possibility to synchronize any file.

    All exclude files filter deleted and thumbnails cache removed don’t change anything.

    Where is the new version available? The Download link seems to still bring the 1.4.0 version.

    Thread Starter tosca30

    (@tosca30)

    The message formatting lost the hierarchy…
    Basically, I have:
    1. Paysage
    11. Cévennes
    111. Massif de l’Aigoual
    112. Vallées cévenoles
    12. Aubrac
    121. Hiver
    122. Autres saisons
    13. Margeride
    2. Architecture
    21. Classique et monumentale
    etc.

    The idea is to get the terms in the same order, whether the rendering is flat, or with the hierarchy as wp_dropdown_categorie do.

    Thread Starter tosca30

    (@tosca30)

    I have this hierarchy of terms:
    Paysage
    |_ Cévennes
    |_ Massif de l’Aigoual
    |_ Vallées cévenoles
    |_ Aubrac
    |_ Hiver
    |_ Autres saisons
    |_ Margeride
    Architecture
    |_ Classique et monumentale
    |_ Moderne et technique
    etc.

    The order/hierarchy is displayed correctly with the wp_dropdown_categories.

    I would like the get_terms function to give the same order, that would be :
    Paysage
    Cévennes
    Massif de l’Aigoual
    Vallées cévenoles
    Aubrac
    Hiver
    Autres saisons
    Margeride
    Architectur
    etc.

    Thread Starter tosca30

    (@tosca30)

    I’m not sure about a caching problem, as I got the same result with another browser.
    However, I did re-upload some pictures, and the plugin seems to work fine with these.
    Sorry for the disturbance, and thanks a lot for your answer.

    Thread Starter tosca30

    (@tosca30)

    Which setting should I check? I don’t know what could have an influence on the plugin.

    It is not only multisite, but multidomain, too. And the domain mapping works well as I have no addressing problem with other plugin or theme.

    Thread Starter tosca30

    (@tosca30)

    Thanks for your answer.

    Yes, I did see the shortcode can be used at posting time, but I don’t find this convenient enough for my usage. I would like the settings to be related to the theme (or the site using the theme).

    Alternatively, if some filter is available, I could pass some parameter (width is very theme-dependant) from a customized function.

    Thread Starter tosca30

    (@tosca30)

    I reverted to the 7.9 version and activated the debug option. Here are some messages that can provide some hints regarding the issue:

    [16-Aug-2015 14:58:17 UTC] PHP Warning: copy(.../www/wp-content/uploads/sites/3/https://mysite/wp-content/uploads/sites/3/2015/08/L_agriculture_paysanne_expliquée_aux_urbains.pdf): failed to open stream: No such file or directory in .../www/wp-content/plugins/media-from-ftp-7.9/inc/MediaFromFtp.php on line 382

    [16-Aug-2015 14:58:17 UTC] PHP Warning: unlink(.../www/wp-content/uploads/sites/3/https://mysite/wp-content/uploads/sites/3/2015/08/L_agriculture_paysanne_expliquée_aux_urbains.pdf): No such file or directory in .../www/wp-content/plugins/media-from-ftp-7.9/inc/MediaFromFtp.php on line 383

    [16-Aug-2015 14:58:17 UTC] PHP Warning: filesize(): stat failed for .../www/wp-content/uploads/sites/3/2015/08/4bd1bb736ce02c878361316ed7f13193.pdf in .../www/wp-content/plugins/media-from-ftp-7.9/inc/MediaFromFtp.php on line 489

    I’ve hidden the references to the actual site.
    There are a couple of other notices regarding wp_enqueue_script, add_option and has_cap but I’m not sure they are related to Media From FTP.

Viewing 15 replies - 1 through 15 (of 85 total)