Skip to main content
Topic: Directory name must not be empty (Read 3845 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Directory name must not be empty

Exception: Directory name must not be empty.
https://elkarte11.sch.my/index.php?board=10.0
File: /var/www/clients/client2/web14/web/sources/subs/ScheduledTask/RemoveTempAttachments.php
Line: 49

Re: Directory name must not be empty

Reply #1

The only way for that to happen it seems to be attachmentUploadDir contains an empty entry.
Now the question is: how the heck an empty entry ended up there?
I'm not sure...
What settings do you have for attachments?
Bugs creator.
Features destroyer.
Template killer.

Re: Directory name must not be empty

Reply #2

Yes. The directory is empty except for default .htaccess and index.php files. The settings is to enable all the attachments though.

Re: Directory name must not be empty

Reply #3

No, I meant an empty "entry" in the attachmentUploadDir settings. It's an array of directories and one of them is not a string pointing to a directory, but an empty string.
Bugs creator.
Features destroyer.
Template killer.

Re: Directory name must not be empty

Reply #4

I am not sure. But there is one directory and one path in attachment in its settings and directory page.

Re: Directory name must not be empty

Reply #5

Could you get the value for attachmentUploadDir directly from the db an post it here?  It should be in your settings table.

Re: Directory name must not be empty

Reply #6

a:1:{i:1;s:46:"/var/www/clients/client2/web14/web/attachments";}

Re: Directory name must not be empty

Reply #7

Would you mind having a look at currentAttachmentUploadDir as well in the database?
Bugs creator.
Features destroyer.
Template killer.

Re: Directory name must not be empty

Reply #8

The value is 1.