Title: Network Activation Issue
Last modified: August 21, 2016

---

# Network Activation Issue

 *  Resolved [seano4ever](https://wordpress.org/support/users/seano4ever/)
 * (@seano4ever)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/network-activation-issue/)
 * Hi there,
 * I have installed the plugin successfully. However, the following error message
   occurs when I network activate the plugin.
 * Warning: session_start(): open(/tmp/sess_48d78e7b91ce1888565d28937e163c32, O_RDWR)
   failed: No such file or directory (2) in /home/conceptw/public_html/wp-content/
   plugins/ns-cloner-site-copier/ns-cloner.php on line 77
 * Warning: session_start(): Cannot send session cache limiter – headers already
   sent (output started at /home/conceptw/public_html/wp-content/plugins/ns-cloner-
   site-copier/ns-cloner.php:77) in /home/conceptw/public_html/wp-content/plugins/
   ns-cloner-site-copier/ns-cloner.php on line 77
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/conceptw/public_html/wp-content/plugins/ns-cloner-site-copier/ns-cloner.
   php:77) in /home/conceptw/public_html/wp-includes/option.php on line 747
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/conceptw/public_html/wp-content/plugins/ns-cloner-site-copier/ns-cloner.
   php:77) in /home/conceptw/public_html/wp-includes/option.php on line 748
 * Can you please advise how I can resolve this issue?
 * [https://wordpress.org/plugins/ns-cloner-site-copier/](https://wordpress.org/plugins/ns-cloner-site-copier/)

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

 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/network-activation-issue/#post-5026119)
 * You probably need to make sure that the
    /tmp/ Directory exists in your web root
   and that its permissions are set correctly. You’ll also need to make sure that
   PHP is configured to use that directory for session handling.
 * All the best!
 *  Thread Starter [seano4ever](https://wordpress.org/support/users/seano4ever/)
 * (@seano4ever)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/network-activation-issue/#post-5026271)
 * Thanks for the advice but no luck so far 🙁
 * Been dealing with my host advised “Please note that a tmp folder is present in
   your web root and its permission is correct.
 * Also, I have added “sessions.save_path = “/home/conceptw/tmp”” is a PHP.ini file
   present under your account but, it did not resolve an issue.”
 * We tried uninstalling and re-installing the plugin and the following message 
   error occurs:
 * Warning: touch(): Unable to create file wp-content/uploads/ns-cloner-site-copier.
   tmp because No such file or directory in /home/conceptw/public_html/wp-admin/
   includes/file.php on line 155
 * Warning: unlink(wp-content/uploads/ns-cloner-site-copier.tmp): No such file or
   directory in /home/conceptw/public_html/wp-admin/includes/file.php on line 500
   
   Download failed. Destination directory for file streaming does not exist or is
   not writable.
 * Can you please assist?
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/network-activation-issue/#post-5026275)
 * With a little searching on
    “Destination directory for file streaming does not
   exist or is not writable” I found a few threads: [http://wordpress.org/support/topic/destination-directory-for-file-streaming-does-not-exist-or-is-not-writable-1](http://wordpress.org/support/topic/destination-directory-for-file-streaming-does-not-exist-or-is-not-writable-1)
   [http://wordpress.org/support/topic/download-failed-destination-directory-for-file-streaming-does-not-exist-or-is-n?replies=34](http://wordpress.org/support/topic/download-failed-destination-directory-for-file-streaming-does-not-exist-or-is-n?replies=34)
   and [http://wordpress.org/support/topic/troubleshooting-wordpress-35-master-list?replies=4#post-3547427](http://wordpress.org/support/topic/troubleshooting-wordpress-35-master-list?replies=4#post-3547427)
 * With the following:
 * > Error message: Download failed. Destination directory for file streaming does
   > not exist or is not writable.
   > Fix: When WordPress downloads any sort of file, then it has to be able to write
   > that file somewhere. To do this, it uses the “temp” directory. If WP detects
   > that it cannot write files to this temp directory, then you get the error message
   > you are now getting. WP tries to find a valid temp directory, but sometimes
   > servers are configured poorly.
   > WordPress 3.5 changed the temp directory order to prefer the system’s pre-defined
   > temp directory instead of attempting to write into wp-content. **On some badly
   > configured hosting systems, this temp directory may be defined, but not actually
   > writable. This causes the error message.**
   > You can work around this by specifying a temp directory on your server with
   > a place that you know WordPress is allowed to write files to. You can do this
   > by adding this line of code into the wp-config.php file.
   >  define( ‘WP_TEMP_DIR’,
   > ABSPATH . ‘wp-content/’ );
 * Please try that mod in your wp-config.php file. If it’s already defined, make
   sure that it points to the right location.
 * Thanks!
 *  Thread Starter [seano4ever](https://wordpress.org/support/users/seano4ever/)
 * (@seano4ever)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/network-activation-issue/#post-5026276)
 * Thanks for the help so far – Really appreciated 🙂 The plugin has installed successfully
   but now I’m still receiving the first error message. The host is claiming that
   there is an issue with the plugin which I doubt since it has worked in the past
   for me.
 * The error message I am receiving once again is:
 * Warning: session_start(): open(/tmp/sess_cdf7bc88a4f62725bd23fecc4dee8ec2, O_RDWR)
   failed: No such file or directory (2) in /home/conceptw/public_html/wp-content/
   plugins/ns-cloner-site-copier/ns-cloner.php on line 77
 * Warning: session_start(): Cannot send session cache limiter – headers already
   sent (output started at /home/conceptw/public_html/wp-content/plugins/ns-cloner-
   site-copier/ns-cloner.php:77) in /home/conceptw/public_html/wp-content/plugins/
   ns-cloner-site-copier/ns-cloner.php on line 77
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/conceptw/public_html/wp-content/plugins/ns-cloner-site-copier/ns-cloner.
   php:77) in /home/conceptw/public_html/wp-includes/option.php on line 747
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/conceptw/public_html/wp-content/plugins/ns-cloner-site-copier/ns-cloner.
   php:77) in /home/conceptw/public_html/wp-includes/option.php on line 748
 * Any ideas? 🙂
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/network-activation-issue/#post-5026277)
 * Man, I don’t know – super weird. I double checked those lines in the cloner and
   it’s the session_start() call on line 77 which should just work on a proper hosting
   config:
 *     ```
       // Start session
       if ( is_admin() && !session_id() )
       	session_start();
       ```
   
 * Were you able to try that trick with wp-config.php by adding the line:
 * `define( 'WP_TEMP_DIR' , ABSPATH . 'wp-content/' );`
 * ???
 * Otherwise we might be back at square one 🙁 Sorry. I really don’t know what else
   to try at this point, but will rack my brain a bit more and ask the team again
   too!
 *  Thread Starter [seano4ever](https://wordpress.org/support/users/seano4ever/)
 * (@seano4ever)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/network-activation-issue/#post-5026279)
 * When I added define( ‘WP_TEMP_DIR’ , ABSPATH . ‘wp-content/’ ); to the wp-config
   file, the plugin then installed fine. I then tried to network activate the plugin
   which is when error on line 77 occurs.
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/network-activation-issue/#post-5026280)
 * Something just occurred to me that may give us a lead on solving this – I noticed
   that the support response says that they added `sessions.save_path = "/home/conceptw/
   tmp"` to the php.ini file. However, that is not the correct name for the configuration
   property – it should be `session.save_path ...` with no extra “s” after “session”.
   
   See [documentation here](http://www.php.net/manual/en/session.configuration.php#ini.session.save-path).
 * So, if you can edit your php.ini file I would try changing that. If you cannot
   edit your php.ini, try adding the following line right before the session_start
   call on line 77:
 * `session_save_path('/home/conceptw/tmp');`

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

The topic ‘Network Activation Issue’ is closed to new replies.

 * ![](https://ps.w.org/ns-cloner-site-copier/assets/icon-256x256.gif?rev=2323308)
 * [NS Cloner - Site Copier](https://wordpress.org/plugins/ns-cloner-site-copier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ns-cloner-site-copier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ns-cloner-site-copier/)
 * [Active Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ns-cloner-site-copier/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Never Settle](https://wordpress.org/support/users/neversettle/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/network-activation-issue/#post-5026280)
 * Status: resolved