Skip to main content

Questions tagged [debug]

Debug is to find and eliminate errors in software.

Filter by
Sorted by
Tagged with
0 votes
1 answer
82 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
72 views

Memory overflow connected with php debug bar

I'm having a bizarre problem on a testing server. The environment is Debian 12 (pre release) with PHP 8.2.5. Joomla 4.3.1. With debug enabled, huge amounts of session data are generated. This is shown ...
mbrampton's user avatar
  • 314
0 votes
2 answers
81 views

Why does template stuff still appear after uninstall [helixultimate]

I installed the site template Helixultimate. Some time later, I removed it by Manage Extension. Then, I logged stuff inside of SiteMenu.php and found e.g. helixultimatemenulayout inside the params ...
SteAp's user avatar
  • 173
0 votes
1 answer
25 views

Checking the consistency of a component

As a Joomla newbie, it's quite hard to get started developing a component. At least, the Joomla 4 component isn't finished yet. Does a tool exist, which checks the consistency of a component? Reports ...
SteAp's user avatar
  • 173
0 votes
0 answers
40 views

Why does JText::_ not translate in model field?

Not quite sure how to debug this. We have a modal where labels are shown translated, but the options in the select input are not. $options[] = JHtml::_('select.option', 'GB', JText::_('...
Olle Härstedt's user avatar
1 vote
1 answer
210 views

How to print a php variable to the browser's console?

So within administrator function. echo("<script>console.log('PHP: " . $data . "');</script>"); It seems it doesn't insert the js script on the page. This works from a ...
Plamen's user avatar
  • 747
2 votes
3 answers
373 views

How to create a (better) development environment for Joomla 4

I have been writing a custom joomla 4.x component. It's not working. But rather than getting people here to debug my code I want to know how to set up a proper development environment that will give ...
Huw Evans's user avatar
  • 371
1 vote
1 answer
34 views

Change debug variable during cli script execution

I'm trying to make a script to update components and I want to retrieve the logs to check the execution of all the requests related to the update of a component. In the script I use Joomla methods, ...
Jordan Troadec's user avatar
1 vote
1 answer
2k views

Call to undefined method Joomla\CMS\Application\SiteApplication::isSite() in Joomla 4

I updated to Joomla 4! and the site displays an error. Here is a snippet of the debug log. 2021-11-23T16:27:43+00:00 CRITICAL ::1 error Uncaught Throwable of type Error thrown with message &...
marcelo's user avatar
  • 13
2 votes
1 answer
527 views

How to debug: read data timeout / End of script

On my site, after new user registration, a 500 server error occurs. The error log says: mod_fcgid: read data timeout in 31 seconds, referer: https://mysite.com/login?view=registration End of script ...
shenkwen's user avatar
  • 1,389
0 votes
0 answers
54 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,389
1 vote
1 answer
74 views

Better ways to debug in an event function like onUserAfterSave

I have several questions regarding this issue: On other parts of Joomla, I can use var_dump to output variable to debug, but in some events like onUserAfterSave, var_dump won't work. I kind of know ...
shenkwen's user avatar
  • 1,389
0 votes
1 answer
41 views

How to debug joomla behaviors?

I was using protostar for a looong time. I jsut bought a theme and switched to it (it uses helix framework). As soon as i switched it. On all pages a text appeared "// You can place JavaScript like.....
user2102266's user avatar
5 votes
4 answers
680 views

How to setup a proper extension development environment?

My goal is to setup a proper development environment using Ubuntu 16.04 to build Joomla extensions. Until now I've just been zipping my extension and reinstalling it. That should drive anyone crazy. ...
Wieger's user avatar
  • 253
1 vote
1 answer
379 views

How to debug a 500 can't load error?

I have moved a website running joomla from my old VPS to my own server. The server is working fine, other sites are loading. However, this joomla site doesn't load. Please can someone explain what ...
Vincent Gledhill's user avatar
2 votes
3 answers
5k views

Why does var_dump not output anything?

Some background:I am trying to debug a component(JoomShopping) which is not working correctly after I migrate 2.5 to 3.7 (I followed their migrate instruction and didn't encounter any problem during ...
shenkwen's user avatar
  • 1,389
0 votes
2 answers
304 views

Debugging methods- How can I determine the source of the error - "0 Class 'ContentHelperRoute'"?

My question is what are some alternative methods of determining or tracing the source of an error in Joomla when the source of error isn't shown by normal debugging means? By normal debug methods, I ...
Barto's user avatar
  • 101
5 votes
2 answers
1k views

Get a stacktrace instead of error 0

I really need a stacktrace instead of a stupid "Error 0: Could not connect to MySQL". I've set debugging to on and error reporting to max. Any idea? Edit: Temporary solution: Hacking Joomla core. ...
Olle Härstedt's user avatar
2 votes
1 answer
131 views

How to debug Joomla with php7

Probably out of bad habit and laziness, before php 7, if I was debugging and I wanted to know a value I would put in my code either echo '<pre>'; print_r($myvalue); echo '</pre>'; or ...
James Wadsworth's user avatar
5 votes
1 answer
2k views

Can I use git to version control Joomla website's debugging and development?

I have a joomla website on a remote server that I am constantly developing. To debug it, I need to have a local copy, but this creates a version problem: Sometimes I debug and modify the local ...
shenkwen's user avatar
  • 1,389
0 votes
1 answer
357 views

Page Jumping on Load

The website in question is www.grip.org.za/joomla/ The issue is that whenever I load one of the pages on the menu, the whole website moves to the right a bit, then back to the center/default ...
F3nrirX's user avatar
5 votes
1 answer
92 views

Phpstorm debug Joomla\\Data\\DataObject

A short question about debugging with phpstorm (8-10) and xdebug. Please have a look at the above screenshot. There is no possibility to see the full object. May I be missing something in the ...
JProof's user avatar
  • 196
3 votes
2 answers
669 views

Joomla Debug Console does not show Database Queries

My Joomla 3.4.4 website is not showing Database Queries in Joomla Debug Console at the site front-end but it can be seen at the Administrator back-end. Below is the screenshot at the front-end And ...
Aung Myo Linn's user avatar
7 votes
2 answers
980 views

What's the common practice for debugging?

1) local or remote? I understand that the best practice for debugging is to have a local version of your website, but sometimes to make a local version of your current website can be very time ...
shenkwen's user avatar
  • 1,389
2 votes
0 answers
55 views

Do I have to make a local version of my website before I can use Xdebug? [closed]

I am trying to find out a way to debug my website. This is a very new field for me, so I am following the "Using an IDE" steps on this page: https://docs.joomla.org/How_to_debug_your_code and some ...
shenkwen's user avatar
  • 1,389
2 votes
1 answer
1k views

How to debug Joomla! after render the last module?

I have a site with some performance issues. I have tried to debug it with no much luck. I have the following information: ... Application 0.527 seconds (+0.004); 6.93 MB (+0.018) - ...
pQB's user avatar
  • 215
1 vote
2 answers
179 views

Extraneous characters outside HTML causing exceptionally slow page load

I got handed an issue to look at where a sites pages were loading exceptionally slowly - we're talking 13 to 20 seconds. The site is obviously customised with various addons. I did some digging into ...
Ian Macintosh's user avatar
1 vote
1 answer
169 views

How do I find what is causing the error when I get the "500 error screen"

I have recently transferred my joomla 2.5.6 site over to a new server. The site and the database are both both connected and the files have been transferred but i get a 500 error on 2 separate ...
Matthew Proctor's user avatar
1 vote
1 answer
738 views

How can I use the memory usage tool in the Joomla Debug Console?

EDIT: I've rewritten this question, but the topic is the same. How can I use the memory usage tool in the Joomla! Debug Console? By that I mean, when do people look at this and how do people know ...
TryHarder's user avatar
  • 2,340