Re: Problema que no consigo solucionar
| From: | Ralph Deffke | Date: | Mon, 08 Oct 2001 19:04:36 +0000 |
| Subject: | Re: Problema que no consigo solucionar | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70380@lists.php.net to get a copy of this message | ||
the infomation is not complete. I assume the following: our friend likes to
upload files. I assume this because this is the only purpose i know u use the
multipart/formdata enctype. if this is the case and the error occurs only if he
tries to upload a file then it is a server setup problem for uploading files. it
would be interesting if this is the case. if so then it could be a problem of
php setup. if the server has a general problem with this enctype it is a setup
problem of apache. for the upload procedure and how it works i suggest the php4
documentation which explains exactly how apache and php works together with
uploaded files and guides you to the point in the setups for apache and php
Julio Nobrega Trabalhando schrieb:
> If anyone didn't understand...
>
> Our friend has a script that works on a server but not on another. When he
> puts on a form the following:
>
> enctype="multipart/form-data"
>
> The server gives this error:
>
> >>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
> Please contact the server administrator, reglobal@pair.com and inform
> them of the time the error occurred, and anything you might have done
> that may have caused the error.
> More information about this error may be available in the server error
> log.
> >>
>
> He (I assume) correctly suppose it is a server configuration problem. If
> anyone knows the answer, please provide to him :-)
>
> --
>
> Julio Nobrega
>
> A hora está chegando:
> http://toca.sourceforge.net
> "Verdemar" <verdemar@wanadoo.es> wrote in message
> news:3BC187A2.701761FC@wanadoo.es...
> >
> > Hola,
> >
> > Soy un informático que esta desarrollando una Web en Php con una base de
> > datos
> > Mysql.
> > Ma gustaría que alguien me diera una solución para un problema que se me
> > viene producciendo
> > desde hace bastante tiempo, y es el siguiente:
> >
> > Cuendo envío datos a la base de datos y en el Method del formulario
> > pongo:
> > enctype="multipart/form-data", el servidor Apache me devuelve un mensaje
> > de Error como este:
> >
> > Internal Server Error
> > The server encountered an internal error or misconfiguration and was
> > unable to complete your request.
> > Please contact the server administrator, reglobal@pair.com and inform
> > them of the time the error occurred, and anything you might have done
> > that may have caused the error.
> > More information about this error may be available in the server error
> > log.
> >
> > La razón de que ponga esto esí es que el formulario tiene un campo para
> > seleccionar una
> > fotografía del disco duro del cliente para ser trasferida mediante el
> > PHP al servidor a un
> > directorio en concreto, la cual aprarecera en la Web ya que el registro
> > enviado, apunta a esa
> > fotografía en concreto através del registro.
> >
> > Lo curioso es que este mismo Script esta fincionado en otro servidor
> > correctamente y sin
> > problemas. Supongo que será algo relacionado con el tema deconfiguración
> > del servidor que
> > este no lo este. Si alguien pudiera ayudarme le estaría muy agradecido.
> >
> > Muchas gracias Víctor.
> >
> >