Kunena 6.3.8 Released

The Kunena team has announce the arrival of Kunena 6.3.8 [K 6.3.8] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question Designing kunena 500 eror page

More
13 years 9 months ago #1 by Newkun
Hello, I'm trying to customize eror page of joomla.I put a picture in the page(eror.php) and it works good for 404 eror page. But when i checked it on 500 eror page of kunena,I couldn't see the picture.Probably it doesn't see its picture path...How can i supply kunena's 500 page to see same path with 404 eror page?

Thanks in advance

by the way I'm using J 1.5.22 + K 1.6.3

Please Log in or Create an account to join the conversation.

  • C0n
  • C0n's Avatar
  • Offline
  • Premium Member
  • Only the strongest will survive
More
13 years 7 months ago - 13 years 7 months ago #2 by C0n
I would also like to know this.

(EDIT : I found out how to solve it, Posted below)
Last edit: 13 years 7 months ago by C0n.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago - 13 years 7 months ago #3 by sozzled
See what I wrote a few minutes ago in Error 500 in feed page even though the issue does not relate to the RSS function. HTTP 500 Server Errors are diagnosed the same way.

As far as the HTTP 400 errors are concerned, that maybe a different issue.

I don't think that this is a Kunena issue and I doubt that it has anything to do with webpage design, but I could be wrong.

99% of HTTP Server Errors are not directly related to a fault in Kunena. They are usually caused by another Joomla extension that is either (a) trying to extract data from the Kunena database tables or (b) trying to display information in a way that conflicts with Kunena. First things first, we need to isolate the Joomla extension that is responsible for causing this HTTP 500 Server situation.
Last edit: 13 years 7 months ago by sozzled.

Please Log in or Create an account to join the conversation.

  • C0n
  • C0n's Avatar
  • Offline
  • Premium Member
  • Only the strongest will survive
More
13 years 7 months ago #4 by C0n
I found it no need to worry,

\administrator\components\com_kunena\libraries\error.php

Line : 138-151
Code:
if ($error && in_array ( $error ['type'], $types )) { header('HTTP/1.1 500 Internal Server Error'); while(@ob_end_clean()); echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>500 Internal Server Error</title> </head> <body> '; echo '<div style="width:760px;margin:0 auto;text-align:center;background:#d9e2ea top left repeat-x;-webkit-box-shadow: 3px 3px 5px #777;-moz-box-shadow: 3px 3px 5px #777;box-shadow: 3px 3px 5px #777;-webkit-border-radius:20px; -moz-border-radius:20px;border-radius:20px;">'; echo '<h1 style="background-color:#5388b4;color:white;text-shadow: 1px 1px 1px #000000;filter: dropshadow(color=#000000, offx=1, offy=1);padding-left:20px;-webkit-box-shadow: 1px 1px 2px #444;-moz-box-shadow: 1px 1px 2px #444;box-shadow: 1px 1px 2px #444;-webkit-border-radius: 20px; -moz-border-radius:20px;border-radius:20px;">500 Internal Server Error</h1>'; echo '<h2>Fatal Error was detected!</h2>';

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #5 by sozzled
That shows how to display a HTTP 500 Server error as a result of something caused by Kunena but it does not clearly indicate how you reached that point in the program code. What we need to know is what "things" are running when the error handler traps the situation. The HTTP 500 error may be been trapped by Kunena or by something else. What we need to do is to isolate which extension was responsible for trapping the error. Joomla Debug mode (and Kunena debug mode) will show us that.

Please Log in or Create an account to join the conversation.

  • C0n
  • C0n's Avatar
  • Offline
  • Premium Member
  • Only the strongest will survive
More
13 years 7 months ago #6 by C0n
I know sozzled he only wanted to change the design of the error page he did not want to fix the error so the soloution is there the topic has been answered and can be marked as solved :)

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago - 13 years 7 months ago #7 by sozzled
Oh ... so this is not really so much about Kunena but about how to customise an error page that, by if everything is running well, should never appear.

Thanks for the explanation, C0n. I will move it to the "hacks" category.
Last edit: 13 years 7 months ago by sozzled.

Please Log in or Create an account to join the conversation.

Time to create page: 0.321 seconds