Hi all.
I made a simple form with just an upload file.
Using Joomla 4.
The result is always this error message:
Warning: Trying to access array offset on value of type null in myserverpath/administrator/components/com_chronoforms7/chronoforms/functions/upload/upload_output.php on line 27
Also the file name in debug is empty
Any idea?
Thanks
I made a simple form with just an upload file.
Using Joomla 4.
The result is always this error message:
Warning: Trying to access array offset on value of type null in myserverpath/administrator/components/com_chronoforms7/chronoforms/functions/upload/upload_output.php on line 27
Also the file name in debug is empty
Array ( [option] => com_chronoforms7 [cont] => manager [chronoform] => form-17may22-1427 [gpage] => end_page [__cf_token] => 83ed41c0-51c3-4d9c-8ebf-f2c0602c2674 [file_1] => )
Any idea?
Thanks
here it is thanks
[file=https://ebk.pixxdb.net/uploadfile_17_May_2022_17%2032%2014.cf7bak]https://ebk.pixxdb.net/uploadfile_17_May_2022_17%2032%2014.cf7bak[/file]
[file=https://ebk.pixxdb.net/uploadfile_17_May_2022_17%2032%2014.cf7bak]https://ebk.pixxdb.net/uploadfile_17_May_2022_17%2032%2014.cf7bak[/file]
OK
It works very well for me, after a little correction...
In Settings, Upload Files, you write this...
/var/www/vhosts/area-shop.com/httpdocs/ebk/
I suppose that you want to upload file in folder /httpdocs/ebk/ of your domain area-shop.com
In this case, you have to write...
{path:root}/httpdocs/ebk/
In another case, write me in what folder you want to upload your file.
Good luck...
It works very well for me, after a little correction...
In Settings, Upload Files, you write this...
/var/www/vhosts/area-shop.com/httpdocs/ebk/
I suppose that you want to upload file in folder /httpdocs/ebk/ of your domain area-shop.com
In this case, you have to write...
{path:root}/httpdocs/ebk/
In another case, write me in what folder you want to upload your file.
Good luck...
Yes, I'm using Joomla 4 and CF7.
But you haven't answer to my question.
Have you a folder named /httpdocs/ebk/ at the root of your site?
But you haven't answer to my question.
Have you a folder named /httpdocs/ebk/ at the root of your site?
Sorry, no the folder is {path:root}/upload/files/
I've corrected it, the error is always the same
https://ebk.pixxdb.net/it/?option=com_chronoforms7&cont=manager&chronoform=uploadfile
I've corrected it, the error is always the same
https://ebk.pixxdb.net/it/?option=com_chronoforms7&cont=manager&chronoform=uploadfile
Sorry but there is an error in your form...
Look at the debug.
I read
If you modify Settings of the form like I said ({path:root}/upload/files/), you should have..
Look at the debug.
I read
[path] => \var\www\vhosts\area-shop.com\httpdocs\ebk\If I don't modify your form, I have the same error than you...
If you modify Settings of the form like I said ({path:root}/upload/files/), you should have..
[path] => https:/ebk.pixxdb.net/upload/files/
OK
I suppose that your folder /upload/files/ exists at the root of your site...
1: Backup your form
2: Delete your form
3: Clear Joomla Cache and Chronoforms Cache
4: Restore your form
5: Retry...
I suppose that your folder /upload/files/ exists at the root of your site...
1: Backup your form
2: Delete your form
3: Clear Joomla Cache and Chronoforms Cache
4: Restore your form
5: Retry...
Thanks Colnem, but the solution was easier that thought.
The allowed file extension was missing in Chronoforms general settings (not in single form setting).
I found it debugging the whole upload script.
The bug is that it should give an error.
The allowed file extension was missing in Chronoforms general settings (not in single form setting).
I found it debugging the whole upload script.
The bug is that it should give an error.
You need to login to be able to post a reply.