What I did is adding the below line in the abstract-invoice.php class on line 323.
do_action( 'bewpi_after_document_generation', $this->type, $order_id, $this->full_path );
I know this might have further implications on your side, so please consider it and let me know if it’s do-able and what are the concerns if not.
Thank you!
]]>$sftp->move($local_filename, $server_filename)
Where $local_file_name is local path to the file and $server_filename is ‘/’.
Am I doing something wrong? Please advise something.
https://www.ads-software.com/plugins/ssh-sftp-updater-support/
]]>The blog I need help with is designisyay.com (formerly catgonemad.com)
]]>I’ve done a new install of 2.3.3 for another blog of mine. I’ve configured file upload not to create year – month dir and to upload to wp-content/uploads (default). I’ve set the correct permissions and I’ve tried to upload a file. I get an error that can’t move the file to wp-content/uploads. I’ve checked the code in files.php and edited it to know where the file comes from so now I get the error:
The uploaded file could not be moved from /tmp/phpSKLP06 to /home/groups/d/do/dolphin-project/htdocs/blog/wp-content/uploads.
WordPress
125
However, checking the tmp dir, I have no file whatsoever with that name. That’s probably why it couldn’t move in the first place. Any ideas of what the problem might be? Just in case I set the permissions of uploads to 777 so that’s not the problem, I guess.
Cheers,
Paulo Matos
]]>