Jump to content

Probleem weergave factuur en pakbon, Internal Server Error


J.D.H

Recommended Posts

Hallo,

 

Ik heb een groot probleem met het bekijken van een factuur en pakbon!!

 

Als ik een factuur of een pakbon wil bekijken dan krijg ik de volgende melding:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] 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.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

Wie kan en zou mij willen helpen om bovenstaand probleem op te lossen.

 

Alvast bedankt!

 

p.s.

Ik gebruik versie 1.5.2

Link to comment
Share on other sites

Zet de development mode eens aan, en kijk of je een uitgebreidere foutmelding krijgt.

Text version - How to Debug Prestashop Error 500

 

Error 500 is a nightmare for every developer, because it doesn’t tell you anything at all about what’s going on. It’s more or less like the scary Blank Page.

If you had this error with Prestashop 1.4, it was probably due to some .htaccess misconfiguration when activating friendly urls, or some folders permissions not set to 0755. However, Prestashop was crystal clear about errors if the display_errors setting in config.inc.php was set to true. But now you already did it, and you also turned on ps_debug_sql! Plus, you are not using any htaccess special configuration, and you are whether set the folders permissions to 0755 or running the store on a local environment. So, what’s the catch?

Prestashop 1.5 comes with some new Exception classes, to help the developer have a better tracking of the errors’ source. Howver, what Prestashop doesn’t tell you, since it does not have a decent user manual, is that you have to enable the development mode to take advantage of the new debugging features.

So, just head to config/ and open up defines.inc.php. Then, set _PS_MODE_DEV_ to TRUE as shown below

 

 

?

1

2

3

 

define('_PS_MODE_DEV_', true);

define('_PS_DEBUG_PROFILING_', false);

define('_PS_MODE_DEMO_', false);

It should be at line 28.

Now go back to the error page and refresh, you should see something like this (may vary depending of the exception thrown)

Bron: http://nemops.com/debug-prestashop-error-500/

Link to comment
Share on other sites

Bedankt voor je reactie!

 

Heb defines.inc al ingesteld zoals is omschreven maar krijg dezelfde foutmelding i.p.v. een overzicht. Of ik moet iets fout hebben gedaan.

 

Ingesteld als:

define('_PS_MODE_DEV_', true);

define('_PS_DEBUG_PROFILING_', false);

define('_PS_MODE_DEMO_', false);

Link to comment
Share on other sites

Bedankt voor je reactie!

 

Heb defines.inc al ingesteld zoals is omschreven maar krijg dezelfde foutmelding i.p.v. een overzicht. Of ik moet iets fout hebben gedaan.

 

Ingesteld als:

define('_PS_MODE_DEV_', true);

define('_PS_DEBUG_PROFILING_', false);

define('_PS_MODE_DEMO_', false);

Bedankt voor je reactie!

 

Heb defines.inc al ingesteld zoals is omschreven maar krijg dezelfde foutmelding i.p.v. een overzicht. Of ik moet iets fout hebben gedaan.

 

Ingesteld als:

define('_PS_MODE_DEV_', true);

define('_PS_DEBUG_PROFILING_', false);

define('_PS_MODE_DEMO_', false);

Dat staat verder goed. Staat error_reporting aan in de config.inc.php?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...