• Resolved donnynewera

    (@donnynewera)


    Every time I click reply to a ticket I am taken to a page that displays this error message – “Warning: mkdir(): No such file or directory in…(Path)”.

    Can you kindly provide a solution to fix this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author awesomesupport

    (@awesomesupport)

    Huh.

    Is it giving you the actual pathname in the error message? If not, can you see if it provides it in the WP debug.log file (you’ll have to turn on the debug flags).

    It could also be a permissions error – a folder is created to hold the file upload attachments for each ticket so it could be that your server isn’t allowing the folder to be created.

    Thanks.

    Thread Starter donnynewera

    (@donnynewera)

    Sorry for the confusion. The full path does display. It is – Warning: mkdir(): No such file or directory in /home/****/public_html/****/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php on line 360

    Please note – I’ve put in the ***

    Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    Thanks. That’s the path to the program file that is throwing the error. What we need is the path to the file/folder its trying to create – that’s probably going to be in the debug.log file. You’ll need to turn on your wordpress debug flags and then check the debug.log file in the wp-contents folder on your wp server to see if the path/filename is in there .

    I suspect a permissions error (or the base folder not existing) because line 360 attempts to create a folder to store the ticket attachments. You can check to see if the wp-contents/uploads/awesome-support folder exists. If it doesn’t you can try to create it and see if the error goes away. If it does exist you can check to see if the wp-contents/uploads/awesome-support/ticket_xxxx folder exists (xxxx is the ticket number). If it doesn’t then that’s probably the issue – the web server doesn’t have permissions to create that folder.

    Thanks.

    Thread Starter donnynewera

    (@donnynewera)

    Sorry I’m a bit new to WordPress so I am not 100% sure how to turn on the wordpress debug flags.

    However, I can confirm that I do not see a wp-contents/uploads/awesome-support folder. Can you provide instructions to create one.

    Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    You can use your ftp client program (something like filezilla) to log into your WordPress Server, navigate to the wp-contents/upload folder and then create the awesome-support folder under that.

    Afterwards you should also check with your WordPress host to make sure that folder is writable by the web server process. If its not, then you’re likely to get the same error again.

    For the WordPress debug flags, you would also need to use your ftp client program to change the wp-config.php file. See this for more information: https://codex.www.ads-software.com/WP_DEBUG

    You would need to add the following flags to wp-config.php:
    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning: mkdir(): No such file or directory in…’ is closed to new replies.