• Resolved leaphar

    (@leaphar)


    Hi, im a huge fan of your plugin but everytime i try to export logs to csv file I always get an empty sheet. Can you help me with this? Thanks in advance.

    • This topic was modified 7 years, 1 month ago by leaphar.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, can you enable Debug mode and then carry out another export action. After, can you check the log file. Check to see if it reports any issues found in regards to exporting your log files.

    Let me know how you go.

    Regards

    Thread Starter leaphar

    (@leaphar)

    Hi again, these are the errors i’m getting. Kindly check the screenshot.

    Warning: fopen(/home/brisket/public_html/production/dev/wp-content/plugins/simple-download-monitor/sdm-download-logs.csv): failed to open stream: Permission denied in /home/brisket/public_html/production/dev/wp-content/plugins/simple-download-monitor/includes/sdm-utility-functions-admin-side.php on line 10

    Warning: fputcsv() expects parameter 1 to be resource, boolean given in /home/brisket/public_html/production/dev/wp-content/plugins/simple-download-monitor/includes/sdm-utility-functions-admin-side.php on line 13

    Link: https://imgur.com/a/JMlgv

    Thanks in advance!

    • This reply was modified 7 years, 1 month ago by leaphar.
    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, I think your issue might be related to a file and or folder permission. If you don’t know how to, can you ask your host about this.

    Let me know how you go.

    Regards

    Thread Starter leaphar

    (@leaphar)

    Thanks for your response, btw I have a full access with its FTP and phpmyadmin but do you know which folder/file should I give a 777 permission??

    and do you know the output for this lines of code??
    $csv_file_path = WP_SIMPLE_DL_MONITOR_PATH . “sdm-download-logs.csv”;
    $fp = fopen($csv_file_path, ‘w’);

    Thanks in advance!

    Thread Starter leaphar

    (@leaphar)

    Ohh, I think we figured it out already, the problem is:

    The csv file is the one that needs to change permission it is under the plugin directory.

    Thanks alot for your responses!

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, that is good to know. Does that mean that your issue is now resolved?

    Rregards

    Thread Starter leaphar

    (@leaphar)

    Yes, thank you so much! Sorry for the late response

    Plugin Contributor mbrsolution

    (@mbrsolution)

    You are most welcome ??

    I am marking this support thread as resolved.

    Enjoy the plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Export to CSV produced a blank excel file.’ is closed to new replies.