500 Internal Server Error...

23 views
Skip to first unread message

Patrick Gelin

unread,
Dec 16, 2011, 12:51:25 AM12/16/11
to qubi...@googlegroups.com
Hi,

When I attempt to link a digital object to a record I've got the error
message :

Oops! An Error Occurred : The server returned a "500 Internal Server Error".

The link was "http://www.netecoute.fr/" or "http://www.netecoute.fr".
I'm using ICA-Atom 1.2.0.

By the way there is to much "Waiting localhost" using the interface. Do
you mean it will be a problem from ICA Atom or my network configuration ?

Thank you for your help.
Patrick

Jesús García Crespo

unread,
Dec 16, 2011, 2:23:30 AM12/16/11
to qubi...@googlegroups.com
On Thu, Dec 15, 2011 at 9:51 PM, Patrick Gelin <patric...@free.fr> wrote:
Oops! An Error Occurred : The server returned a "500 Internal Server Error".

Can you run the application in debug mode to diagnose the error?
Please, follow the following instructions: http://qubit-toolkit.org/wiki/index.php?title=Debug_mode
 
By the way there is to much "Waiting localhost" using the interface. Do
you mean it will be a problem from ICA Atom or my network configuration ?

You should try a faster machine and setup an accelerator. PHP is an interpreted language, for each request the code is parsed and compiled. That's why we highly recommend to cache the PHP bytecode, it makes a difference and the deployment is pretty easy, but it is not documented in our wiki site though.

--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | +1.604.527.2056

Patrick Gelin

unread,
Dec 16, 2011, 2:42:04 AM12/16/11
to qubi...@googlegroups.com
ok, this is traces :

stack trace

at ()
in SF_ROOT_DIR/lib/model/QubitDigitalObject.php line 518 ...
}
else
{
throw new sfException('Encountered error fetching
external resource.');
}

// Set digital object as external URI
at QubitDigitalObject->importFromURI('http://www.google.fr')
in
SF_ROOT_DIR/apps/qubit/modules/informationobject/actions/addDigitalObjectAction.class.php
line 122 ...
at InformationObjectAddDigitalObjectAction->processForm()
in
SF_ROOT_DIR/apps/qubit/modules/informationobject/actions/addDigitalObjectAction.class.php
line 93 ...
at
InformationObjectAddDigitalObjectAction->execute(object('sfWebRequest'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php
line 92 ...
at
sfExecutionFilter->executeAction(object('InformationObjectAddDigitalObjectAction'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php
line 78 ...
at sfExecutionFilter->handleAction(object('sfFilterChain'),
object('InformationObjectAddDigitalObjectAction'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php
line 53 ...
at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php
line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfCacheFilter.class.php
line 65 ...
at sfCacheFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php
line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/SiteSettingsFilter.class.php line 46 ...
at siteSettingsFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php
line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfRenderingFilter.class.php
line 33 ...
at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php
line 53 ...
at sfFilterChain->execute()
in
SF_ROOT_DIR/plugins/sfHistoryPlugin/lib/sfHistoryPluginFilter.class.php
line 18 ...
at sfHistoryPluginFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php
line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/QubitTransactionFilter.class.php line 40 ...
at QubitTransactionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php
line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/vendor/symfony/lib/controller/sfController.class.php
line 238 ...
at sfController->forward('informationobject', 'addDigitalObject')
in
SF_ROOT_DIR/vendor/symfony/lib/controller/sfFrontWebController.class.php
line 48 ...
at sfFrontWebController->dispatch()
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 170 ...
at sfContext->dispatch()
in SF_ROOT_DIR/index.php line 6 ...

Le 16/12/2011 08:23, Jes�s Garc�a Crespo a �crit :
ces :> On Thu, Dec 15, 2011 at 9:51 PM, Patrick Gelin <patric...@free.fr


> <mailto:patric...@free.fr>> wrote:
>
> Oops! An Error Occurred : The server returned a "500 Internal Server
> Error".
>
>
> Can you run the application in debug mode to diagnose the error?
> Please, follow the following
> instructions: http://qubit-toolkit.org/wiki/index.php?title=Debug_mode
>
>
> By the way there is to much "Waiting localhost" using the interface. Do
> you mean it will be a problem from ICA Atom or my network
> configuration ?
>
>
> You should try a faster machine and setup an accelerator. PHP is an
> interpreted language, for each request the code is parsed and compiled.
> That's why we highly recommend to cache the PHP bytecode, it makes a
> difference and the deployment is pretty easy, but it is not documented
> in our wiki site though.
>
> --

> Jes�s Garc�a Crespo,


> Software Engineer, Artefactual Systems Inc.
> http://www.artefactual.com | +1.604.527.2056
>

> --
> You received this message because you are subscribed to the Google
> Groups "Qubit Toolkit Developers" group.
> To post to this group, send email to qubi...@googlegroups.com.
> To unsubscribe from this group, send email to
> qubit-dev+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/qubit-dev?hl=en.

Jesús García Crespo

unread,
Dec 16, 2011, 3:01:42 AM12/16/11
to qubi...@googlegroups.com
Hi again Patrick,

On Thu, Dec 15, 2011 at 11:42 PM, Patrick Gelin <patric...@free.fr> wrote:
throw new sfException('Encountered error fetching external resource.');
 
When you import an external digital object, the URI should point to a downloadable file that can be processed as such.

http://www.netecoute.fr is actually a HTML file

This could be a valid URI for the digital object import, a JPG image:
http://farm3.staticflickr.com/2037/2115748446_1479875948_o.jpg

Regards,

--
Jesús García Crespo,

David Juhasz

unread,
Dec 16, 2011, 6:02:04 PM12/16/11
to qubi...@googlegroups.com
We should trap this error and show a helpful message to the user.

I've filed an issue report for this:
http://code.google.com/p/qubit-toolkit/issues/detail?id=2210

--
David Juhasz,
Software Engineer

Artefactual Systems Inc.
www.artefactual.com

Jesús García Crespo

unread,
Dec 16, 2011, 6:14:10 PM12/16/11
to qubi...@googlegroups.com
I second that.


On Fri, Dec 16, 2011 at 3:02 PM, David Juhasz <da...@artefactual.com> wrote:
We should trap this error and show a helpful message to the user.

I've filed an issue report for this:
http://code.google.com/p/qubit-toolkit/issues/detail?id=2210

--
Reply all
Reply to author
Forward
0 new messages