Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [error-handling]

The tag has no usage guidance.

20
votes
3answers
7k views

Whats the correct way for exception handling?

In Joomla core I find still many calls like this: // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); ...
6
votes
2answers
6k views

How to deal with “JFolder::create: Path not in open_basedir paths Unable to create destination” while installing Joomla extensions?

I am trying to install a new extension in Joomla,But I am getting this error Message: "JFolder::create: Path not in open_basedir paths Unable to create destination" What is the solution?
5
votes
2answers
4k views

How to do SQL exception / error handling compatible with 2.5 and 3.x?

I was trying to develop Joomla 2.5 and 3 component. As many things deprecated between these two versions and the way to throw and catch database and other errors, I could not find ways yet to make ...
7
votes
3answers
4k views

404 HTTP codes in Joomla

how do you make Joomla return a "real" 404 code? I can't figure out how to make this happen! I have changed htaccess.txt to .htaccess, enabled the system / redirect plugin, and turned on rewrite URLs ...
4
votes
3answers
3k views

return 404 header with 404 page

In this documentation http://docs.joomla.org/Creating_a_Custom_404_Error_Page there is advice to redirect to a custom 404 page by redirecting. This leads to the final page being served on a Header ...
6
votes
4answers
14k views

500 Internal Server Error after renaming htaccess.txt to .htaccess

I'm getting 500 errors showing on my site after renaming htaccess.txt to .htaccess
2
votes
1answer
519 views

Joomla Redirect without changing url

I am looking for a way to redirect joomla to a different page without changing the url in the address bar. We currently have a site setup that when it encounters a 404 page (eg. site.com/fake-url) it ...