Questions tagged [error-handling]

For questions on how to troubleshoot, diagnose and resolve errors

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

What can cause Joomla to show a face and bare error message, even though debug is turned on

I am working on a site that has errors, and debug is turned on in the configuration. But all I see is the image below with a bare error and no context. How can I get the usual debug information?
mbrampton's user avatar
  • 314
2 votes
0 answers
18 views

'This page doesn't work' in articles & items

A strange issue occurred in my site https://myagiaparaskevi.gr/ suddenly. I've done no changes except publishing new articles. Every time I try to visit an article I get 'This page doesn't work'. ...
opk's user avatar
  • 21
0 votes
1 answer
40 views

"0 - syntax error, unexpected end of file" after transfering my site to another hoster

I recently transfered my domain from strato to netcup. I installed a fresh joomla 4 and installed my template (custom written). The Issue is I get the error: "0 - syntax error, unexpected end of ...
Jonathan Schmidt's user avatar
1 vote
1 answer
82 views

Error When Saving Modules After J3 - J4 Migration

Recently migrated a J3 site to J4.2.8 I had to uninstall a lot of plugins before the migration, and a few after, but everything appears to be working apart from one thing. In the Joomla admin area, ...
jonboy's user avatar
  • 3,563
2 votes
0 answers
163 views

Fatal Error Symfony

Joomla 4.2.8 and PHP 8.0.28 Accessed my website today and noticed this error on the home page (along with a white); Fatal error: Uncaught Error: Class "Symfony\Component\ErrorHandler\...
jonboy's user avatar
  • 3,563
0 votes
1 answer
57 views

PHP errors from ApiApplication

I get PHP errors as unhandled exceptions but I don't really see any information that can help me. How can I troubleshoot this? Unhandled exception - Joomla\CMS\Application\Exception\NotAcceptable A ...
Eoin's user avatar
  • 1,889
1 vote
1 answer
755 views

"Warning: session_start(): Failed to read session data" after upgrading from PHP 7.4 to PHP 8.0

After upgrading a stable Joomla 3.10.11 website from PHP 7.4 to PHP 8.0, the following error is displayed on the front end and back end of the website: Warning: session_start(): Failed to read ...
Neil Robertson's user avatar
2 votes
1 answer
93 views

403 error front end editing when HTML comments are in the content

I have a site I'm troubleshooting at the moment where articles won't save via the front end and return a 403 error when you either Save or Cancel editing. After whittling down potential causes, this ...
Patrick Jackson's user avatar
1 vote
2 answers
2k views

"0 Class 'JFormFieldList' not found" error

I tried to update to Joomla 4, but failed. So I restored to the previous version on server. But after the restoration, although the website (www.mslmaster.com) looks fine, but the Joomla itself does ...
Xuehong Zhang's user avatar
0 votes
0 answers
137 views

Internal Server Error on Send Test Mail

Im using Joomla 4.1.0 When i try to send a test mail, from Global Configuration - Server - Mail, i get the following error message. "An error has occurred while fetching the JSON data: HTTP 500 ...
George's user avatar
  • 1
8 votes
1 answer
933 views

What is the best way for raising an error message in Joomla 4

I'm working on updating a component for Joomla 4. In the code, there are various bits where we raise an error code when for example the user is not authorised to access a certain part. For example in ...
James Wadsworth's user avatar
2 votes
1 answer
989 views

Error Unable to detect manifest file. for JED - related to Folder permission

Hello there On Joomla 3.9.26 stable i clicked on the blue Button up in the Image and then the red button above appeared. I googled the error-message. I found something for joomla 1. and 2. but that ...
kamino's user avatar
  • 31
0 votes
0 answers
312 views

Error You are not permitted to use that link to directly access that page

I have a problem with Joomla! and I don't know how to solve it. I have a lot of articles, about 1500. When I try to open multiple articles in order to edit them, I receive one of these errors on ...
Mihai's user avatar
  • 1
1 vote
1 answer
530 views

Joomla 3.9.23 Installation error after moving configuration file

I've installed last version of Joomla (3.9.23) and have encountered a problem. When I install Joomla with automatic setup all is working correctly. What I need is to install Joomla by deploying ...
Green's user avatar
  • 36
0 votes
0 answers
49 views

Joomla showing a blank screen with only "Error" on it after turning on Debug

I've seen blank screen with only "Error" before, but none was like this time. It only happens when I turn on Debug from Global Configuration; after turning it off, it happens no more; If I ...
shenkwen's user avatar
  • 1,369
4 votes
1 answer
657 views

504 Gateway Time-out on Update

Joomla 3.9.19 When I attempt to upgrade from 3.9.19 to 3.9.20 I am getting the following error after about 2 - 3 minutes after clicking 'update'. 504 Gateway Time-out The server didn't respond in ...
jonboy's user avatar
  • 3,563
1 vote
0 answers
20 views

How to avoid showing to users errors of type SQLSTATE?

I try to avoid showing this type of messages to the user I have tried to do it by modifying the global configuration but without success, I specifically modified the options Global configuration> ...
user615274's user avatar
1 vote
0 answers
19 views

Contacts - Error Occurred When Editing

Joomla 3.9.11 Whenever I am editing a contact I can see the following error on the page; Error An error has occurred. No other information. I am able to edit and save the contacts, so there is no ...
jonboy's user avatar
  • 3,563
0 votes
1 answer
133 views

How to redirect all exceptions/error to a 404 page or back to home page

I'm currently using Joomla and we have a small security vulnerability in our URI. Currently, it displays the Exception/Error directly to the user like so: You have an error in your SQL syntax; ...
butter's user avatar
  • 1
2 votes
4 answers
206 views

How to use cookies to populate RSForm fields without notices/warnings?

I have used this code to save the RSForm data in a cookie and if the user tries to fill in the same form again, the previously entered data is loaded as default values: Script called on form display: ...
Maskplain's user avatar
2 votes
2 answers
4k views

Failed to Read Session Data After Renaming DB

Joomla 3.9.11 Working on localhost, today I decided to rename my database from dbtest to dbnew. I did this using HeidiSQL > rename db When I visit my site I now see the following error; Warning: ...
jonboy's user avatar
  • 3,563
1 vote
1 answer
448 views

Joomla Warning Showing Incorrect PHP Version

Using Joomla 3.9.8 I recently migrated from localhost (PHP 7.1.9) to a live server (PHP 7.2) On localhost my site was installed at localhost/mysote. On my live server it's installed at dev.example....
jonboy's user avatar
  • 3,563
0 votes
2 answers
173 views

Only show PHP error messages to Super Admin

Is there a way to show PHP error messages only to a Super Admin? How are PHP error messages called or generated? I know in System Configuration we can set the level e.g. developer or none, would ...
Eoin's user avatar
  • 1,889
1 vote
1 answer
200 views

Add error reason when overriding save function

I have a custom save function in a class that is extending JModelAdmin. The save function calls several external functions in other helper files. At several points those helper files can indicate that ...
Chris Paschen's user avatar
0 votes
1 answer
1k views

After Login waring error You are not authorised to view this resource

I am getting warning error when user logged in. After logged in on top of header show warning message "You are not authorised to view this resource." And when try to download attachment it's showing ...
Sanjay Yadav's user avatar
1 vote
3 answers
2k views

When calling sendMail, how do I get the error if the mail isn't sent?

I'm sending email using the following code: $mail =& JFactory::getMailer(); $email_sent = $mail->sendMail( $from_email, $from_name, $to_email, $subject, ...
Sloan Thrasher's user avatar
0 votes
2 answers
212 views

Adding a hyperlink to the Joomla 3x custom 404 error page

I have the following code for my 404 it is located in error.php within the template if ($this->error->getCode() == '404') { header('Location: /images/masters/404.gif'); exit; } I ...
Iain's user avatar
  • 3
2 votes
1 answer
972 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 ...
Typhado's user avatar
  • 153
4 votes
3 answers
2k views

PHP 7 - how to get usefull information from an exception message?

After upgrading from PHP5 to PHP7 I get an error page saying: 0 - [] operator not supported for strings I've read that now PHP7 is smarter with exception. But the message I get is totally useless. I ...
AHeavyObject's user avatar
2 votes
1 answer
368 views

500 error when trying to upgrade from 3.6.2 to 3.6.5

I am tyring to upgrade my joomla to the latest version(3.6.2 to 3.6.5), but no matter I install it online or download the package and install from local, I got a 500 error. Also when I try to open ...
shenkwen's user avatar
  • 1,369
8 votes
2 answers
187 views

PHP error reporting

I'm trying to create a behaviour such as : if there's a php fatal error, I want the joomla error page to show up, but I also want to receive a mail telling me what the error was. The idea here is to ...
soenguy's user avatar
  • 263
1 vote
3 answers
293 views

Error 500 when bad password or user logout

Since update to version 3.6 when user tries to login with bad password he is not redirected to proper page (did you forget password? for example). Instead he gets an Error 500 message. Also when user ...
Thomas Kolasa's user avatar
1 vote
1 answer
163 views

which exception should be thrown when sanity checks fail?

Which SPL exception should be thrown when sanity checks fail? For example, if the check() function fails when saving data with JTable or a parameter check fails? I'd prefer to use something more ...
nimble's user avatar
  • 418
1 vote
1 answer
467 views

Redirect Loop for category article that is linked on a menu item

I am refactoring a website which has the main menu items that link directly to a specific article of corresponding categories. Now for each of these menu items, there are children blog category menu ...
FFrewin's user avatar
  • 19.6k
1 vote
1 answer
57 views

JLoader for JLog

I'm currently using the following to load JLog: jimport('joomla.log.log'); I'd like to make use of JLoader, however I'm unsure as to which file I need to register. Would I use: JLoader::register('...
Lodder's user avatar
  • 26.8k
1 vote
3 answers
8k views

Joomla 404 always redirects to homepage

I'm having issues getting the proper 404 page (templates/MY_TEMPLATE/error.php) to work. I've spent hours reading through and trying every example or fix listed on Stack Exchange and other sites with ...
Tyler Ancell's user avatar
1 vote
2 answers
385 views

Error Offlajn extensions

The contact page of my site ( [url]https://www.portal-gestao.com/contactos.html[/url]) is returning the error: Table 'portalge_2015.j30_offlajn_forms' doesn't exist SQL=SELECT fields FROM ...
Delete my account's user avatar
1 vote
2 answers
4k views

Overriding save() method on form, how do I redirect to or show the form again after raiseError or enqueueMessage?

I am developing a component that uses a standard list/edit form to create records in the database (all of which goes smoothly) based on the Hello World! tutorial here. In addition to saving info to ...
Tom's user avatar
  • 11
0 votes
1 answer
3k views

Backup failed using Akeeba

I failed my latest attempts to backup my Joomla2.5 website after the following error message from Akeeba: Backup Failed The backup operation has been halted because an error was detected. ...
MattAllegro's user avatar
5 votes
2 answers
4k views

Logging to a file only with JLog

I believe the JLog documentation is incorrect with this: Often you may wish to display an error log message and log to an error file. Joomla allows this natively through the JLog::add function. For ...
Tom's user avatar
  • 811
1 vote
1 answer
455 views

FJ Related Articles Plus module - Fatal error when tags added to an article

I use the FJ Related Articles Plus module to display at the bottom some pages. When I tagged the pages (not all but most of my tags), then the pages are not longer accessible and I have to either ...
MagTun's user avatar
  • 986
2 votes
2 answers
735 views

Any way of overriding "Error displaying the error page: Application Instantiation Error" message?

When there's an error with the Database, Joomla throws that error. It takes place so early in the execution cycle that nothing from the Joomla application is ready, so you get an ugly blank page with ...
Isidro Baquero's user avatar
6 votes
4 answers
16k 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
RustyJoomla's user avatar
  • 2,066
5 votes
3 answers
1k views

How to enable error_reporting only for administrator?

There are many times that I need to debug issues on the administration area of Joomla and need to do so on the live site. But I don't want to enable error_reporting also for the front-end. Is there ...
FFrewin's user avatar
  • 19.6k
8 votes
1 answer
1k views

Replace deprecated getError and getErrors

I have been looking through some logs and noticed that getError() and getErrors() are throwing deprecated messages in Joomla 3.3 (we just updated). Apparently these were deprecated back in Joomla 2.5, ...
DemonGyro's user avatar
  • 181
7 votes
3 answers
5k 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 ...
user101289's user avatar
  • 1,119
6 votes
2 answers
7k 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?
Hbirjand's user avatar
  • 387
4 votes
3 answers
4k 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 ...
jdog's user avatar
  • 953
2 votes
1 answer
1k views

Tag view Notice: Array to string conversion in

OK i have a major problem under Joomla 3. When i generate a search URL for tagged items i get the following message and i am missing a lot of items: Notice: Array to string conversion in /www/htdocs/...
Hyperxx's user avatar
  • 63
3 votes
1 answer
352 views

How to add the joomla style tootltip error message to a form

I know, that joomla 3.x uses bootstrap, both css and js. When I am filling in the registration form and my password is too short for example, I start getting those javascript tooltip error messages. ...
Eva Farkasne's user avatar