Hi,
I have a simple file upload which isn't working. I have managed to do this successfully before but I can't see what the problem is: This is the degug report:
Data Array:
Array
(
[chronoform] => Contact_us_form
[event] => submit
[option] => com_chronoforms
[Itemid] =>
[input_dept] => xxxxx
[input_name] => Tim
[input_gfa_nbr] => E64
[input_email] => xxxxx
[input_comment] => cccc
[input_file_attachment] =>
[input_submit_8] => Submit
[b968eb2f44ba88dcecc41a710a7bf8a5] => 1
)
Validation Errors:
Array
(
[input_file_attachment] => 6
)
Thank you for your comment or query. An email has been sent to the appropriate Department and will be attended to as soon as possible.
Debug Data
PHP returned this error for file upload by : input_file_attachment, PHP error is: 6
email
0
Result
An email has been SENT successfully from xxxxxx to yyyyyyy
Body
Message From: Tim
Email address: me@myemail
GFA Nbr: E64
Question or Comment:
cccc
Attachments
array ( )
Any thoughts gratefully received.
Cheers
Tim
I have a simple file upload which isn't working. I have managed to do this successfully before but I can't see what the problem is: This is the degug report:
Data Array:
Array
(
[chronoform] => Contact_us_form
[event] => submit
[option] => com_chronoforms
[Itemid] =>
[input_dept] => xxxxx
[input_name] => Tim
[input_gfa_nbr] => E64
[input_email] => xxxxx
[input_comment] => cccc
[input_file_attachment] =>
[input_submit_8] => Submit
[b968eb2f44ba88dcecc41a710a7bf8a5] => 1
)
Validation Errors:
Array
(
[input_file_attachment] => 6
)
Thank you for your comment or query. An email has been sent to the appropriate Department and will be attended to as soon as possible.
Debug Data
PHP returned this error for file upload by : input_file_attachment, PHP error is: 6
0
Result
An email has been SENT successfully from xxxxxx to yyyyyyy
Body
Message From: Tim
Email address: me@myemail
GFA Nbr: E64
Question or Comment:
cccc
Attachments
array ( )
Any thoughts gratefully received.
Cheers
Tim
Hi Tshirley,
PHP File Error 6 is "Value: 6; Missing a temporary folder."
I think this is a setting in your site Global Configuration, the folder needs to exist and be writable by the Joomla! User (and the FTP user if FTP is turned on).
Bob
PHP File Error 6 is "Value: 6; Missing a temporary folder."
I think this is a setting in your site Global Configuration, the folder needs to exist and be writable by the Joomla! User (and the FTP user if FTP is turned on).
Bob
Thanks, the site seems to work for uploading extensions etc, but not for uploading files in Chronoforms. The folder setting is
/home/glidinga/public_html/tmp
As far as I know it hasn't changed.
There is a folder in the root of my site, called /public_html/tmp/ with permission 0755.
It's a bit confusing.
Tim
/home/glidinga/public_html/tmp
As far as I know it hasn't changed.
There is a folder in the root of my site, called /public_html/tmp/ with permission 0755.
It's a bit confusing.
Tim
Hi Tim,
ChronoForms is just using the standard PHP upload code so it should work in exactly the same way as other file uploads. Do you have FTP enabled in the site Global Configuration?
Bob
ChronoForms is just using the standard PHP upload code so it should work in exactly the same way as other file uploads. Do you have FTP enabled in the site Global Configuration?
Bob
OK..
FTP was not enabled. When I tried to enable it and save the config I got:
FTP::login: Unable to login
JFTP: :write: Unable to use passive mode
Could not save data. Error: Could not write to the configuration file
It's very strange.
I would be happy to take this offline and happy to pay for a solution.
Cheers
Tim
FTP was not enabled. When I tried to enable it and save the config I got:
FTP::login: Unable to login
JFTP: :write: Unable to use passive mode
Could not save data. Error: Could not write to the configuration file
It's very strange.
I would be happy to take this offline and happy to pay for a solution.
Cheers
Tim
To update this issue, it is almost certainly not a Chronoforms problem, but may be connected with settings in a Firewall extension that is installed in the site.
I am investigating now, and if I find what it is I will post the result here so that the matter is closed off.
My apologies for troubling you with this.
Cheers
Tim
I am investigating now, and if I find what it is I will post the result here so that the matter is closed off.
My apologies for troubling you with this.
Cheers
Tim
Hi Tim,
It will be a permissions problem of some kind. I recommend you turn FTP off again as if it is on Joomla! tries to use it and the permissions problems can get worse :-(
Bob
It will be a permissions problem of some kind. I recommend you turn FTP off again as if it is on Joomla! tries to use it and the permissions problems can get worse :-(
Bob
This problem is now resolved.
The variable "upload_tmp_dir" in the PHP Information section of the site was set to "No Value". I believe that this was previously set but changed by a fellow administrator, as part of a plan to increase security on the site.
I added this variable back into the php.ini file and the file uploads started working again.
The moral of this story is that the reliability of any system is inversely proportional to the number of people who know the admin password🙂
Thanks for all the advice and my apologies for troubling you with something that was not directly connected with Chronoforms.
Cheers
Tim
The variable "upload_tmp_dir" in the PHP Information section of the site was set to "No Value". I believe that this was previously set but changed by a fellow administrator, as part of a plan to increase security on the site.
I added this variable back into the php.ini file and the file uploads started working again.
The moral of this story is that the reliability of any system is inversely proportional to the number of people who know the admin password🙂
Thanks for all the advice and my apologies for troubling you with something that was not directly connected with Chronoforms.
Cheers
Tim
This topic is locked and no more replies can be posted.