Title: Error downloading logs
Last modified: August 22, 2016

---

# Error downloading logs

 *  Resolved [Stolle7](https://wordpress.org/support/users/stolle7/)
 * (@stolle7)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-downloading-logs/)
 * Hi there
 * I’ve just encountered an error trying to exporting my “download logs”. This is
   a new thing as i’ve done it before, so my quess is that i’ve done something wrong–
   I don’t know what though.
 * Before when the “enter date” window opens I don’t remember entering anything 
   to get all the logs (correct me if I’m wrong). However if I don’t enter the dates,
   following error shows up:
 *     ```
       <blockquote>Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /var/www/aktie-skat.dk/public_html/wp-content/plugins/delightful-downloads/includes/admin/page-statistics.php on line 129
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/aktie-skat.dk/public_html/wp-content/plugins/delightful-downloads/includes/admin/page-statistics.php:129) in /var/www/aktie-skat.dk/public_html/wp-content/plugins/delightful-downloads/includes/admin/page-statistics.php on line 181
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/aktie-skat.dk/public_html/wp-content/plugins/delightful-downloads/includes/admin/page-statistics.php:129) in /var/www/aktie-skat.dk/public_html/wp-content/plugins/delightful-downloads/includes/admin/page-statistics.php on line 182
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/aktie-skat.dk/public_html/wp-content/plugins/delightful-downloads/includes/admin/page-statistics.php:129) in /var/www/aktie-skat.dk/public_html/wp-content/plugins/delightful-downloads/includes/admin/page-statistics.php on line 183</blockquote>
       ```
   
 * Then trying to enter date the following comes up:
 *     ```
       <blockquote>Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /var/www/aktie-skat.dk/public_html/wp-content/plugins/delightful-downloads/includes/admin/page-statistics.php on line 129
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/aktie-skat.dk/public_html/wp-content/plugins/delightful-downloads/includes/admin/page-statistics.php:129) in /var/www/aktie-skat.dk/public_html/wp-includes/pluggable.php on line 1173</blockquote>
       ```
   
 * I’ve tried entering the date in several different ways like 28-10-14, 28-10-2014,
   28/10/14 and so on.. 🙂
    What’s gone wrong? 🙂
 * [https://wordpress.org/plugins/delightful-downloads/](https://wordpress.org/plugins/delightful-downloads/)

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

 *  Plugin Author [A5hleyRich](https://wordpress.org/support/users/a5hleyrich/)
 * (@a5hleyrich)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-downloading-logs/#post-5427859)
 * Hi,
 * You are receiving the error because your host is using [PHP Safe Mode](http://php.net/manual/en/features.safe-mode.php),
   which was deprecated in version 5.3.0. For this to suddenly start happening must
   mean they’ve changed their configuration.
 * Regardless of what you enter in the export prompt you will always get that error
   until PHP is updated to a newer version.
 * Ashley
 *  Thread Starter [Stolle7](https://wordpress.org/support/users/stolle7/)
 * (@stolle7)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-downloading-logs/#post-5427869)
 * And just to be sure, by host you mean for an example UnoEuro.com, which is my
   webhost?
    Because I’ve just checked their page, and couldn’t find any changes:/
 * Edit:
    weird, according to UnoEuro.com FAQ, it seems that Safe Mode is always
   on – however that seems weird, given that I could use the export function earlier
   on?
 *  Plugin Author [A5hleyRich](https://wordpress.org/support/users/a5hleyrich/)
 * (@a5hleyrich)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-downloading-logs/#post-5427871)
 * That is correct. A quick google returned [this](https://www.unoeuro.com/support/faq/7/2/).
   But it’s strange as to why it has only just stopped working.
 * Ashley
 *  Thread Starter [Stolle7](https://wordpress.org/support/users/stolle7/)
 * (@stolle7)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-downloading-logs/#post-5427873)
 * Yeah exactly, that was the FAQ I found aswell 🙂
    Luckily i created a support
   ticket with them, and as with you, they have a fantastic response time. They 
   could tell me that they will upgrade to PHP 5.6 within oktober/november, so that
   should sort it out 🙂
 * Edit:
    Thinking about what I just wrote, they are obviously preparing some new
   PHP Things, which might be the cause of this? Even though the support said that
   they had made no changes, they are probably preparing for it anyways I guess.
 *  Plugin Author [A5hleyRich](https://wordpress.org/support/users/a5hleyrich/)
 * (@a5hleyrich)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-downloading-logs/#post-5427878)
 * Excellent. As a temp fix you can comment out [line 129](https://github.com/DelightfulWP/Delightful-Downloads/blob/master/includes/admin/page-statistics.php#L129)
   and also [line 109](https://github.com/DelightfulWP/Delightful-Downloads/blob/master/includes/process-download.php#L109).
 * Just change them both to:
 * `//set_time_limit( 0 );`.
 * Ashley
 *  Thread Starter [Stolle7](https://wordpress.org/support/users/stolle7/)
 * (@stolle7)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-downloading-logs/#post-5427882)
 * Ah nice 🙂
    Thank you!
 * The outruling of line 129 did the trick 😉

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

 The topic ‘Error downloading logs’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/delightful-downloads_33bab1.svg)
 * [Delightful Downloads](https://wordpress.org/plugins/delightful-downloads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/delightful-downloads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/delightful-downloads/)
 * [Active Topics](https://wordpress.org/support/plugin/delightful-downloads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/delightful-downloads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/delightful-downloads/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Stolle7](https://wordpress.org/support/users/stolle7/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/error-downloading-logs/#post-5427882)
 * Status: resolved