Forums

Error on file upload in Wordpress

perlfan 24 May, 2020
Hi there,

I have transferred a form that works fine on a joomla site to a Wordpress site of mine.
When I send a form it gives me this error:
[...]wp-content/plugins/chronoforms6/cegcore2/admin/extensions/chronofc/functions/upload/upload_output.php on line 12

I assume that it might have to do with the upload directory path. It's: {path:front}/uploads/
Do I have to specify another path for Wordpress?

Thanks for help! Frank
Max_admin 24 May, 2020
what is the error ? just that ? because it does not say anything!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
perlfan 24 May, 2020
I'm very sorry - the complete error message is:
Warning: pathinfo() expects parameter 1 to be string, array given in /var/www/user41/html/uebersetzung/wp-content/plugins/chronoforms6/cegcore2/admin/extensions/chronofc/functions/upload/upload_output.php on line 12
Max_admin 24 May, 2020
what is your file field name ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
perlfan 24 May, 2020
My file field name is: file9[]
Max_admin 24 May, 2020
1 Likes
ok, the files are uploaded correctly or not ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
perlfan 24 May, 2020
No - the form is not executed and the files are not uploaded (I don't know the exact upload folder but wp-content/plugins/chronoforms6/front/chronoforms/uploads is empty & I don't get an email after submitting the form).
perlfan 24 May, 2020
Like I said - I imported the form from Joomla - there it works perfectly. Another imported form (pure contact form without file upload) works however with Wordpress. So it really must be the file upload.
perlfan 26 May, 2020
No idea what the error might cause? :-) Could you maybe tell me if the path URL ({path:front}/uploads/) is correct for Wordpress - maybe I have to adapt the rights of the folder (what does path:front correspond to) ? Thanks for help. Frank
Max_admin 26 May, 2020
Good question, could you please write {path:front}/uploads/ in HTML element on wordpress ? what does it show ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
perlfan 26 May, 2020
I'm sorry, but how do I paste this into the code to get it compiled? Thanks for help...
healyhatman 26 May, 2020
In your form, on the first page, add a HTML element with just {path:front}/uploads/ in it. Save, open the form, tell us what it shows.
perlfan 26 May, 2020
Ok, thank you. The path is:
/var/www/user41/html/belaubigteuebersetzung/wp-content/plugins/chronoforms6/front/chronoforms/uploads/
The folder permission is set to 755.

I don't know if any of this could cause the error ...
Max_admin 26 May, 2020
the path looks fine, and it's writable ?

Could you please send me a message by the "contact" page to try the new v7 for WordPress ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.