TCPDF drives me mad:
While on Site #1 the action creates, saves and mails two pdf files, the same action fails on Site #2 – although the entire form has just been copied via backup/restore action from #1 to #2.
Here it just delivers a stupid error message "Couldn't create upload directory" – stupid, because those directories already exist and there is no need to create them.
After comparing both setups, directory permissions and even the tcpdf files in its directory – character by character – I cannot find any difference between the functioning and the non-functioning actions.
Anyone here, who can save my day? Thanks in advance.
Herbert
While on Site #1 the action creates, saves and mails two pdf files, the same action fails on Site #2 – although the entire form has just been copied via backup/restore action from #1 to #2.
Here it just delivers a stupid error message "Couldn't create upload directory" – stupid, because those directories already exist and there is no need to create them.
After comparing both setups, directory permissions and even the tcpdf files in its directory – character by character – I cannot find any difference between the functioning and the non-functioning actions.
Anyone here, who can save my day? Thanks in advance.
Herbert
After a good cup of sleep I solved it by myself:
The secret is named
TCPDF checks if the directory contains this file. If not, that error message is displayed.
The coding must have happened before world found out that index.html means little or no security…
Spent almost one day and night on this problem.
Hope to save others their sleep by posting this.
Happy regards,
Herbert
The secret is named
index.html
.
TCPDF checks if the directory contains this file. If not, that error message is displayed.
The coding must have happened before world found out that index.html means little or no security…
Spent almost one day and night on this problem.
Hope to save others their sleep by posting this.
Happy regards,
Herbert
This topic is locked and no more replies can be posted.