Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pic123

    (@pic123)

    With Amazon soon moving to API 5 this plugin is going to stop working, see the discussion here. Time to find another plugin unfortunately.

    I also have trouble with uploads, similar red “successful” message but at the top of the page are two more worrying messages:

    Warning: move_uploaded_file(XXXXXXXXXXXXXX/wordpress/wp-content/blogs.dir/1/files/eye-screened.png): failed to open stream: No such file or directory in XXXXXXXXXXXXXX/wordpress/wp-content/plugins/wp-downloadmanager/download-add.php on line 39
    
    Warning: move_uploaded_file(): Unable to move '/chroot/tmp/phpBxAzmW' to 'XXXXXXXXXXX/wordpress/wp-content/blogs.dir/1/files/eye-screened.png' in XXXXXXXXXX/wordpress/wp-content/plugins/wp-downloadmanager/download-add.php on line 39

    I don’t have a folder called blogs.dir and from my reading that hasn’t existed for sometime with WP.

    Am using Wp 4.7.1.

    Thread Starter pic123

    (@pic123)

    Big thanks @ancawonka, that worked fine. 3 small changes: 2 to the database and 1 to wp-config. In summary they are:

    Database:

    in wp_blogs database table, path should be set to
    /

    in wp_site database table, path should be set to
    /

    Constants in the main config file

    in wp-config.php make sure there is
    define(‘PATH_CURRENT_SITE’, ‘/’); (instead of
    define(‘PATH_CURRENT_SITE’, ‘/wordpress/’);
    )

    It’d be great if this info was in the codex (or if it is, make it easier to find)

    Thread Starter pic123

    (@pic123)

    That’s a surprising limitation if true. But so far I haven’t even gotten to the second site, my problem is with the first site which should be functionally similar to a non-multisite setup right?

    There are a lot of pages talking about this (never specifically for multisite) and the advice seems to be don’t move the code, do URL rewrites.

    I enabled all the debug flags but no debug.log is produced, maybe the error happens too early in the processing?

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