Forums

Error - Uploading files with Chronoforms5

Kronosites 17 Aug, 2014
I was trying to upload a file through one form by chronoforms v5 but always shows the same error:

"Could not create the directory".

The directory exists, and have the correct permissions. The "URL PATH" is OK too. The FTP is enabled in joomla configuration.

But file never uploads.

[list]Here you can find the form: http://interpretacionsimultanea.es/es/empleo[/list]

Here the backend configuration:
[attachment=0]BackEnd-1.PNG[/attachment]
[attachment=1]Captura2.PNG[/attachment]

¿What's the problem?
GreyHead 17 Aug, 2014
Hi Kronosites,

it looks as though you have set the Upload Path to the /public_html/ folder - I doubt that is what you intended?

Bob
Kronosites 17 Aug, 2014
I was only making tests.

My absolute server path is that:

/home/MYUSER/domains/interpretacionsimultanea.es/public_html/curriculums


I wanna upload the files into the folder "curriculums" inside my public_html. But shows the same error.
I try to upload into "public_ftp" and the same error appears.
GreyHead 17 Aug, 2014
Hi Kronosites,

Then it is almost certainly a permissions problem. What do you see when you add a Debugger action?

Bob
Kronosites 17 Aug, 2014
This is my debugger info:


Array
(
    [chronoform] => inscripciones
    [event] => submit
    [Nombre:] => asdas
    [Apellidos:] => dasd
    [Provincia:] => Albacete
    [eres_autonomo] => Sí
    [lengua_A] => Búlgaro
    [OtrasA] => asdasd
    [lengua_B] => Inglés
    [OtrasB] => 
    [lengua_C] => 
    [OtrasC] => 
    [intérprete_jurado_en_España] => 
    [En_algun_otro_pais] => 
    [En_que_lengua] => 
    [Título:] => Formación profesional
    [Otros_titulos] => 
    [Modalidades_de_interpretación:] => Consecutiva
    [Especialización] => Económica
    [otra_especialidad] => 
    [Experiencia] => 
    [Miniconferencia1] => 
    [Media_Jornada1] => 
    [Jornada_Completa1] => 
    [Hora_extra1] => 
    [Miniconferencia2] => 
    [Media_Jornada2] => 
    [Jornada_completa2] => 
    [Horasextra2] => 
    [Percio_por_hora] => 
    [Precio_media_jornada_4h] => 
    [Precio_por_jornada_8h] => 
    [Traducción_normal] => 
    [Traducción_jurada] => 
    [recaptcha_challenge_field] => 03AHJ_VuuP76XRKgePnSN_NoyVuLZSyulTJPHXx7HUei71zpGX68-oOO0w-Hy6DzwK1v_g4w6_swHfWMj4uKpvsZUurMH10OUw7coBhF6fkne_VbIvoybzmiod1CTnZejWtfy9Ot62xPkVDLXGEZ3Vn07Mz8MAe7_c2A0COgGCbe89aA5_LiNANbnXj_XA0BVINM5X9QwX6UF44KU0TUedUkSKE_eMzhTTBQ
    [recaptcha_response_field] => qualifies hAireoo
    [Enviar] => Enviar
)

Array
(
)

Errors

Array
(
    [0] => Couldn't create upload directroy: /MYUSER/domains/interpretacionsimultanea.es/public_html/curriculums
)

Debug Info

Array
(
)
GreyHead 17 Aug, 2014
Hi KronoSites,

Please try (a) turning off FTP if that is enabled in the Site Global Configuration and (b) putting the uploads folder somewhere other than the site root e.g. in the Chronoforms uploads folder to see if that works OK.

This is a permissions problem.

Bob
Kronosites 17 Aug, 2014
Ok.

This what happends...

1- I turned OFF my FTP on my joomla configuration.
2- I changed de path into this:

3- This is now my debugg info (at the end of this post)

All seems to be OK isn't it?. On debugger shows "file upload successfully".
BUT file are NOT into this folder. File DONT upload.



Array
(
    [chronoform] => inscripciones
    [event] => submit
    [Nombre:] => asd
    [Apellidos:] => asd
    [Provincia:] => Albacete
    [eres_autonomo] => No
    [lengua_A] => Alemán
    [OtrasA] => asd
    [lengua_B] => Japonés
    [OtrasB] => asd
    [lengua_C] => Húngaro
    [OtrasC] => asd
    [intérprete_jurado_en_España] => búlgaro
    [En_algun_otro_pais] => Antillas Holandesas
    [En_que_lengua] => bielorruso
    [Título:] => Estudios Universitarios
    [Otros_titulos] => 
    [Modalidades_de_interpretación:] => Consecutiva
    [Especialización] => Económica
    [otra_especialidad] => 
    [Experiencia] => 
    [Miniconferencia1] => 
    [Media_Jornada1] => 
    [Jornada_Completa1] => 
    [Hora_extra1] => 
    [Miniconferencia2] => 
    [Media_Jornada2] => 
    [Jornada_completa2] => 
    [Horasextra2] => 
    [Percio_por_hora] => 
    [Precio_media_jornada_4h] => 
    [Precio_por_jornada_8h] => 
    [Traducción_normal] => 
    [Traducción_jurada] => 
    [recaptcha_challenge_field] => 03AHJ_VuuuA5uHu-kOgiZbxueTVdj5CTDhRRpMXgsy1B1eGpNBL3_D2s40Ez3PEU071H6OhuynANlEqimAdDO19vhhItHfkzR_xKIO7dWESaoOmmZkpQyR_7AGuEmHavCbd2pHb0FakQI1vMjcupGQHX1aa6ejaYvD1aJ1sYQScf0LSj7cl3RAFeGxHtVxlf6ln9BVWGOHdJTR
    [recaptcha_response_field] => and dscopita
    [Enviar] => Enviar
    [archivo] => 20140817111252_0010140130-EduardoEscolar.pdf
)

Array
(
    [archivo] => Array
        (
            [name] => 20140817111252_0010140130-EduardoEscolar.pdf
            [original_name] => 0010140130-EduardoEscolar.pdf
            [path] => home/MYUSER/domains/interpretacionsimultanea.es/public_html/components/com_chronoforms5/chronoforms/uploads20140817111252_0010140130-EduardoEscolar.pdf
            [size] => 259825
            [link] => home/MYUSER/domains/interpretacionsimultanea.es/public_html/components/com_chronoforms5/chronoforms/uploads20140817111252_0010140130-EduardoEscolar.pdf
        )

)

Errors

Array
(
)

Debug Info

Array
(
    [] => Array
        (
            [Files Upload] => Array
                (
                    [0] => Upload routine started for file upload by : archivo
                    [1] => home/MYUSER/domains/interpretacionsimultanea.es/public_html/components/com_chronoforms5/chronoforms/uploads20140817111252_0010140130-EduardoEscolar.pdf has been uploaded successfully.
                )
        )
)
Max_admin 19 Aug, 2014
Please leave the path field completely empty and try again, I think that your path is just incorrect!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 19 Aug, 2014
Hi Kronosites,

Please check the path in the debug info here
home/MYUSER/domains/interpretacionsimultanea.es/public_html/components/com_chronoforms5/chronoforms/uploads20140817111252_0010140130-EduardoEscolar.pdf
You will see that it is missing a / after uploads.

Bob
This topic is locked and no more replies can be posted.