Hello everyone!
I just upgraded to v3.4.3 and phplist wont send campaigns.
Before upgrade everything was working fine.
When I click “Process the queue” it takes like 2 min and the this appears:
It says it is suspended:
What do you suggest I should check on?
Thanks in advance!
I just set up the cli script in order to try to send the campaign and I got this:
What do you think?
Thanks!
@titanve It appears that phplist cannot find the attachment for the campaign, therefore each attempt to send failed.
1 Like
Hello @duncanc
I deleted and reattached the pdf file and it worked!
Thank you very much!
Hello @duncanc
I think something else is happening, look:
I edited the campaign deleting and reattaching the pdf file and it started working again…
What do you think?
@titanve Where is the attachment directory? The default is ‘/tmp’, which means that there is a danger of an attachment file being deleted while it is still being used by phplist. You should create a directory specifically to hold attachments then add that to config.php
$attachment_repository = '/tmp';
2 Likes
@duncanc where do I check in order to see where is my ‘/tmp’ directory?
Thanks
No, ‘/tmp’ is the linux system directory. You need to create a specific directory for attachments, the directory needs to be writeable by the web server process so within the ‘lists’ directory might be suitable.
$attachment_repository = '/path/to/some/directory';
2 Likes
Hello @duncanc
I don’t have any
$attachment_repository = '/tmp';
defined on my config.php
So I will create the directory /temp
as you suggested on my /lists
directory.
I will let you know the results.
Thanks!
@duncanc
By the moment I’m using the /temp
which is the root. It is working without troubles.
I’ll write back if something happens.
Thanks!
Hello @duncanc
After a while of processing this appeared:
I have my phplist site on Hostgator
What do you think?
Thanks!
Look at the Event Log page for any errors reported by phplist.
Hello @duncanc
As you suggested I created the tmp
directory inside my site directory and it seems that the problem is gone!
Thank you very much for your help!
1 Like
Welcome back @titanve. Great that you managed to resolve the issue.