Thursday 24 April 2008 3:30:35 am
Hi I'm looking for a form where an anonymous user can upload one or more files. I have tested on a eZ4 two solutions. Here my system:
-ubuntu6.3 Server
-Apache/2.2.4 (Ubuntu)
-PHP/5.2.3-1
-Mysql5 -eZ4
Solution 1: http://ez.no/developer/contribs/datatypes/enhanced_ezbinaryfile - proposed by Steven E. Bailey It seems to work.I created a form with two upload files. The form runs and I receive a mail and an line is created in the admin interface.
Collection #21 for <Formulaire d’inscription en ligne pour acteurs (M/F) et figurants (M/F)>
Last modified: 24/04/2008 11:12 am, Anonymous User
Nom: aa
Prénom: aaaa
Nom d’Artiste :
GSM:
Tél. Privé:
Tél. Bureau:
e-mail 1:
e-mail 2:
Site web:
Adresse:
Profession:
Nationalité:
Date de naissance:
Taille:
Type morphologique:Musclé/sportif
Couleur cheveux :Noir
Couleur cheveux autre:
Type cheveux:Long
Type cheveux autre:
Couleur yeux:Noir
Couleur yeux autre:
Robe:
Chemisier:
T-Shirt F:
Pantalon F:
Pointure F:
Chemise:
Tour de cou:
T-Shirt H:
Pantalon H:
Pointure H:
Langue maternelle: Not specified
Autres langues parlées couramment: Not specified
Autres langues (notions): Not specified
couper vos cheuveux: oui
colorer vos cheveux: oui
jouer en sous-vêtements: oui
jouer nu(e): oui
jouer dans des scènes érotiques: oui
Permis de conduire (voiture): oui
Permis de conduire (moto): oui
Permis de conduire (camion): oui
Equitation: oui
Danse: oui
Danse oui:
Chant: oui
Chant oui:
Instrument de musique: oui
Instrument de musique oui:
Autres aptitudes:
CV: WG_logo.png succesfully uploaded. Photo: white_opac_50.png succesfully uploaded. It says that the files has been uploaded successfully but there is no file stored on my server. I have looked recursive in these directories (/var/www/site_name/var/storage and /var/www/site_name/var/ezwebin_site/storage). Can somebody help find out if the files are really uploaded and if yes where the files are uploaded? THX
Solution 2: http://ez.no/developer/contribs/applications/sendappform This does not run at all. Here the ‘Warnings and Error messages’ Warning: include_once(lib/ezutils/classes/ezini.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/obskura/extension/sendAppForm/modules/sendAppForm/send.php on line 10 Warning: include_once() [function.include]: Failed opening 'lib/ezutils/classes/ezini.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/obskura/extension/sendAppForm/modules/sendAppForm/send.php on line 10 Warning: include_once(lib/ezutils/classes/ezmail.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/obskura/extension/sendAppForm/modules/sendAppForm/send.php on line 12 Warning: include_once() [function.include]: Failed opening 'lib/ezutils/classes/ezmail.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/obskura/extension/sendAppForm/modules/sendAppForm/send.php on line 12 Warning: include_once(lib/ezutils/classes/ezmailtransport.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/obskura/extension/sendAppForm/modules/sendAppForm/send.php on line 14 Warning: include_once() [function.include]: Failed opening 'lib/ezutils/classes/ezmailtransport.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/obskura/extension/sendAppForm/modules/sendAppForm/send.php on line 14 Fatal error: Class 'eZINI' not found in /var/www/obskura/extension/sendAppForm/modules/sendAppForm/send.php on line 18
The files are accessible! This solution is not so flexible as the Solution 1 but it can help me if it works. THX if somebody knows what is not ok on my server.
|