Home › Forum › Problemi Vari con WP › errore upload cforms II
-
AutorePost
-
-
31 Maggio 2008 alle 11:33 #6821nivol23Partecipante
Ciao a tutti, volevo cheidere una informazione, sto utilizzando il plugin cforms per fare un form e ho applicato l’opzione del modulo upload, ho riscontrato che il file viene allegato e ricevuto e come messaggio oltre a quello di ringraziamento per l’invio mi appare:
Warning: copy() [function.copy]: Unable to access http://www.my_site.xxx.xx/wp-content/plugins/cforms/attachments/noid-apple.jpg in /users/i/l/v/ilvendramin/public_html/wp-content/plugins/cforms/lib_nonajax.php on line 298
Warning: copy(www.my_site.xxx.xx/wp-content/plugins/cforms/attachments/noid-apple.jpg) [function.copy]: failed to open stream: No such file or directory in /users/i/l/v/ilvendramin/public_html/wp-content/plugins/cforms/lib_nonajax.php on line 2988
Qualcuno sa darmi una mano per questo problema?
Grazie mille e spero in una vostra risposta
-
31 Maggio 2008 alle 11:45 #54172ArturoPartecipante
cforms alcune volte fa le bizze se wp non e’ installato nella root del sito, ti dovrebbe dare una sorta di avviso nella pagina di configurazione, con precisione:
Pare che la tua ROOT principale di WordPress sia /pathdiWP. cforms provvederà ad auto-impostarsi comunque, se riscontrassi dei problemi con Ajax (modulo & ripristino CAPTCHA) apri il file js/cforms.js nella cartella del plugin di cforms e verifica la variabile sajax_uri. (Dopo avere cambiato il file, ricordati di svuotare la cache del tuo browser!)
ora qui parla solo del captcha, ma non vorrei che magari fa lo stesso con l’upload dei file, che io non utilizzo, prova a vedere magari e’ questo o magari no, tentar non nuoce… qualcuno ti sapra’ dire di meglio sicuramente!
p.s. assicurati comunque che noid-apple.jpg e lib_nonajax.php siano stati caricati correttamente tramite ftp sul server.
-
31 Maggio 2008 alle 12:40 #54176nivol23Partecipante
ciao e grazie dell’interesse, ho guardato come mi hai riportato
Pare che la tua ROOT principale di WordPress sia /pathdiWP. cforms provvederà ad auto-impostarsi comunque, se riscontrassi dei problemi con Ajax (modulo & ripristino CAPTCHA) apri il file js/cforms.js nella cartella del plugin di cforms e verifica la variabile sajax_uri. (Dopo avere cambiato il file, ricordati di svuotare la cache del tuo browser!)
e nel file js/cforms.js mi appare questo var sajax_uri = ‘/wp-content/plugins/cforms/lib_ajax.php’; adesso io sinceramente non so se è giusto questo parametro;
Poi mi è venuto un dubbio, io quando carico il file tramite upload penso che non viene salvato all’interno del server e se è si non saprei dove me lo salva;
Ho provato anche rifare l’upload del file lib_nonajax.php ma non cambia nulla ;
Ho notato una cosa quando configuro cform II nei parametri upload mi dice sempre che Non trovo la Cartella per gli Upload ! Verifica se esiste! ho cambiato diverse volte il percorso ma niente, allora mi chiedo dove si trova la cartella?
Grazie mille e spero che si utili queste informazioni in più;
-
31 Maggio 2008 alle 13:01 #54177wollyAmministratore del forum
ma la cartella di upload che tu selezioni esiste ed è scrivibile?
-
31 Maggio 2008 alle 13:04 #54178ArturoPartecipante
quale dovrebbe essere il percorso della cartella upload?
di default mi da che tra l’altro esiste gia’:
/home/utente/public_html/wp-content/plugins/cforms/attachments
e dice che questa cartella o qualsiasi altra che vai a specificare DEVE gia’ esistere, quindi la devi creare tu manualmente nel caso NON esista!
poi imposti le ext. dei file accettati e la dimensione massima. salvi e dovrebbe essere tutto a posto.
puoi fare una prova dando i permessi di scrittura a quella data cartella giusto per vedere se l’errore e’ perche’ non riesce a caricare i file.
il problema dovrebbe essere proprio quello perche’ ti dice che non riesce a trovare tale file
http://www.my_site.xxx.xx/wp-content/plugins/cforms/attachments/noid-apple.jpg
che dovrebbe essere il file allegato con il messaggio.
-
31 Maggio 2008 alle 13:34 #54180nivol23Partecipante
ho fatto come mi hai consigliato, ma da lo stesso identico problema, ho cambiato anche i permessi della cartella ma da sempre quel errore anzi per precisione me ne da uno in meno:
Warning: copy(http://www.ilvendramin.helloweb.eu/wp-content/plugins/cforms/attachments//noid-TEST Ammissione Psicologia on-line.pdf) [function.copy]: failed to open stream: HTTP wrapper does not support writeable connections in /users/i/l/v/ilvendramin/public_html/wp-content/plugins/cforms/lib_nonajax.php on line 298
e /home/utente/public_html/wp-content/plugins/cforms/attachments esiste già , quindi teoricamente ogni volta che fa upload lo salva all’interno di quel percorso il file …
però molto strano….
Potrebbe essere il problema del server??
-
31 Maggio 2008 alle 13:56 #54182ArturoPartecipante
hai cambiato /home/UTENTE/… Utente con il tuo nomeutente?
failed to open stream: HTTP wrapper does not support writeable connections
NON devi mettere l’url ma la path relativa cioe’
/ilvendramin/public_html/wp-content/plugins/cforms/attachments
prova cosi’ e fammi sapere…
-
31 Maggio 2008 alle 13:58 #54183nivol23Partecipante
Ho risolto…. semplicemente /users/i/l/v/ilvendramin/public_html/wp-content/plugins/cforms-1/attachments …. grazie mille dell’aiuto..
-
27 Agosto 2008 alle 6:41 #57100nivol23Partecipante
Ciao, volevo farvi un altra domanda, come si fa a determinare la path relativa al percorso della cartella per upload?
Perchè adesso ho un altro sito web e mi ritrovo con lo stesso problema…
Grazie mille e spero in una vostra risposta….
-
27 Agosto 2008 alle 9:31 #57101SteveAglAmministratore del forum
Quando nel form c’è un campo di upload e lo salvi avrai fra le altre opzioni disponibili in fondo alla pagina anche quella relativa all’upload con vari parametri fra cui la dire di caricamento
-
27 Agosto 2008 alle 18:00 #57125nivol23Partecipante
Ciao, ho guardato ma non riesco a trovarlo, l’unica cosa che mi dice è questa:
il percorso sembra esatto ma da o seguenti errori:
Warning: move_uploaded_file(../wp-content/plugins/cforms/attachments//noid-mucha16.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /web/htdocs/www.xxxx.it/home/wp-content/plugins/cforms/lib_nonajax.php on line 305
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/tmp/phpASIu6T’ to ‘../wp-content/plugins/cforms/attachments//noid-mucha16.jpg’ in /web/htdocs/www.xxxx.it/home/wp-content/plugins/cforms/lib_nonajax.php on line 305
Che cosa posso fare?
Grazie mille della disponibilità
-
27 Agosto 2008 alle 18:46 #57128SteveAglAmministratore del forum
Non ho molte idee… ma leggo:
/wp-content/plugins/cforms/attachments//noid-mucha16.jpg
forse la dir specificata non deve avere la / finale perchè viene aggiunta dal plugin in fase di caricamento.. se cosଠnon fosse lo sviluppatore del plugin è molto attento e attivo ed ha un forum di supporto dedicato… rivolgersi a lui è la strada migliore per trovare la soluzione rapidamente A meno che qualcuno non abbia avuto il medesimo problem e lo abbia risolto, ma visto che ad oggi non s’è fatto vivo nessuno…)
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.