Usefull tool: Joomla diagnostics
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- RussW
- Joomla! Exemplar
- Posts: 9347
- Joined: Sun Oct 22, 2006 4:42 am
- Location: Sunshine Coast, Queensland, Australia
- Contact:
Re: Usefull tool: Joomla diagnostics
rafaelmm
The Diagnostic tool is designed for Joomla! 1.0.11 and 1.0.12 (using the correct Duagnostic tool and hash file for the Joomla! version)
1) Is your version of Joomla! supported by the Diagnostic tool? V1.0.11 and 1.0.12 - English
2) are you sure you are using the right Diagnostic tool version for the verison of Joomla! ?
The Diagnostic tool is designed for Joomla! 1.0.11 and 1.0.12 (using the correct Duagnostic tool and hash file for the Joomla! version)
1) Is your version of Joomla! supported by the Diagnostic tool? V1.0.11 and 1.0.12 - English
2) are you sure you are using the right Diagnostic tool version for the verison of Joomla! ?
Joomla! on the fabulous Sunshine Coast...
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
- sc00zy
- Joomla! Exemplar
- Posts: 9532
- Joined: Thu Aug 18, 2005 9:07 am
- Location: Assen, Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
The ones from rafaelmm are more offtopicRobInk wrote: Moderator note; off topic message from user Muis deleted
Arjan Menger
https://welldotcom.nl - Puntgaaf Internetbureau
https://welldotcom.nl - Puntgaaf Internetbureau
Re: Usefull tool: Joomla diagnostics
Not my day, hitting the wrong button :P Sorry Muis, reply has been moved backsc00zy wrote:The ones from rafaelmm are more offtopicRobInk wrote: Moderator note; off topic message from user Muis deleted
@ rafaelmm, please try to remain on topic
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Jun 11, 2007 6:53 pm
Joomla Diagnostic Help please
I am new to Joomla
I have done an auto installation through my host on my subdomain but I can not get the screen for the administration; I have run the diagnostic and the following are the results. I am not sure what to do next, please can someone help.
Setting Advice
register_globals Register globals are turned on on your server. For security reasons you're adviced to turn this off. Read more
Compair file hashes against original
Warning: file(joomla_1.0.12.txt): failed to open stream: No such file or directory in /var/tmp/cpanel_phpengine.1181846958.140268152.46846600534 on line 393
Notice: Undefined offset: 1 in /var/tmp/cpanel_phpengine.1181846958.140268152.46846600534 on line 396
Error Filename Type
Missing files
Created by Adam van Dongen - Joomla Diagnostics © 2006 Adam van Dongen
Error Filename Type
MISSING /var/tmp/ File is missing
I have done an auto installation through my host on my subdomain but I can not get the screen for the administration; I have run the diagnostic and the following are the results. I am not sure what to do next, please can someone help.
Setting Advice
register_globals Register globals are turned on on your server. For security reasons you're adviced to turn this off. Read more
Compair file hashes against original
Warning: file(joomla_1.0.12.txt): failed to open stream: No such file or directory in /var/tmp/cpanel_phpengine.1181846958.140268152.46846600534 on line 393
Notice: Undefined offset: 1 in /var/tmp/cpanel_phpengine.1181846958.140268152.46846600534 on line 396
Error Filename Type
Missing files
Created by Adam van Dongen - Joomla Diagnostics © 2006 Adam van Dongen
Error Filename Type
MISSING /var/tmp/ File is missing
- pe7er
- Joomla! Master
- Posts: 24986
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Joomla Diagnostic Help please
Welcome to Joomla!makiz63 wrote:Compair file hashes against original
Warning: file(joomla_1.0.12.txt): failed to open stream: No such file or directory in /var/tmp/cpanel_phpengine.1181846958.140268152.46846600534 on line 393
Did you upload the diagnostics.php & the checksum.txt file to the same directory?
(btw: I don't have the right file names at hand, but you'll need to upload the two files from the package).
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Jun 11, 2007 6:53 pm
Re: Usefull tool: Joomla diagnostics
yes I uploaded the 2 files: diagnostic.php and jomla txt file
- pe7er
- Joomla! Master
- Posts: 24986
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
What are the permissions (CHMOD) of the file joomla.txt (the one from the diagnostics)?makiz63 wrote:yes I uploaded the 2 files: diagnostic.php and jomla txt file
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Jun 11, 2007 6:53 pm
Re: Usefull tool: Joomla diagnostics
the permission for joomla.txt file is: 0644
Many thanks
Many thanks
- pe7er
- Joomla! Master
- Posts: 24986
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
weird, that should be enough...makiz63 wrote:the permission for joomla.txt file is: 0644
Are you sure that both uploaded diagnostics files are in the same directory?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Jun 11, 2007 6:53 pm
Re: Usefull tool: Joomla diagnostics
yes they are in the same folder. My host did an auto installation of Joomla on my subdomain.
I have managed to get http://www.domain1.com/joomla or http://www.domain1.com/subdomain.com but cant get the browser to find each site using its own domain name.
I want to be able to use the url http://www.domain1.com to open up one joomla site and the url http://www.domain2.com to open a second joomla site etc
I have managed to get http://www.domain1.com/joomla or http://www.domain1.com/subdomain.com but cant get the browser to find each site using its own domain name.
I want to be able to use the url http://www.domain1.com to open up one joomla site and the url http://www.domain2.com to open a second joomla site etc
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Jul 06, 2007 5:25 pm
Re: Usefull tool: Joomla diagnostics
OK so I may just be retarded but I can't get my FTP software to work. It keeps saying that it is timed out and I looked at the error and it said it could be due to my firewall however I made sure the program was allowed. BTW I am running vista premium upgrade. Someone help I was doing it at work and it worked but I need to make sure I can do it here at home too. TY
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Jul 07, 2007 8:34 am
- Contact:
Re: Usefull tool: Joomla diagnostics
This is weirred, i have joomla running ok so far, but couldnt install any components or add ons, not through backend, or even ftp, so i run this php script and i got like 300 files missing!!!
im just installing a new joomla , maybe there is a problem with the installation.
im just installing a new joomla , maybe there is a problem with the installation.
Signature Rules: http://forum.joomla.org/index.php/topic,65.0.html
- RussW
- Joomla! Exemplar
- Posts: 9347
- Joined: Sun Oct 22, 2006 4:42 am
- Location: Sunshine Coast, Queensland, Australia
- Contact:
Re: Usefull tool: Joomla diagnostics
Did you upload both the diagnostic.php file and the correct version of the *.txt file for the version of Joomla! you are running? Are they both in the " / " directory of your Joomla! instance.
If I remember correctly, the hash is only generated for English versions of Joomla!
If I remember correctly, the hash is only generated for English versions of Joomla!
Joomla! on the fabulous Sunshine Coast...
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
jup, only for a default installation of Joomla. Localized installations will give other hashes, if you have components installed that alter the core, they will give alternate hashes as wellRussW wrote: Did you upload both the diagnostic.php file and the correct version of the *.txt file for the version of Joomla! you are running? Are they both in the " / " directory of your Joomla! instance.
If I remember correctly, the hash is only generated for English versions of Joomla!
Adam van Dongen - Developer
- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl
- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl
- Ivan Cardy
- Joomla! Enthusiast
- Posts: 186
- Joined: Wed Apr 11, 2007 4:22 pm
- Location: spain
- Contact:
Re: Usefull tool: Joomla diagnostics
I am trying to get this to work for me but I am missing something in my path construction to my local site please can someone tell me the right path to my local site. Does it have to be on line if the tool is on the web server ?Websmurf wrote:Actually, the code is allready in diagnostics.phpJAF Site Design wrote: I think, if I have some spare time, I will make a little script that writes your own joomla_1.0.8.txt file from the current setup which you know is uncorrupt. (chances are I'll give up, but you never know)
modify:toCode: Select all
generateMd5Hash();
Then call your file:Code: Select all
generateMd5Hash('/my/path/to/joomla/root');
diagnostics.php?task=generate
- RussW
- Joomla! Exemplar
- Posts: 9347
- Joined: Sun Oct 22, 2006 4:42 am
- Location: Sunshine Coast, Queensland, Australia
- Contact:
Re: Usefull tool: Joomla diagnostics
There is no way we can tell you the path to your site, this is different with every server and account.
If you look in your configuration.php, it will give you what your absolute path is.
if you continue to have problems, try using the embedded (same tool) "Diagnostic" that is in Joomla! Tools Suite, using the the "Custom Hash" option, you might find it easier.
If you look in your configuration.php, it will give you what your absolute path is.
if you continue to have problems, try using the embedded (same tool) "Diagnostic" that is in Joomla! Tools Suite, using the the "Custom Hash" option, you might find it easier.
Joomla! on the fabulous Sunshine Coast...
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
- Ivan Cardy
- Joomla! Enthusiast
- Posts: 186
- Joined: Wed Apr 11, 2007 4:22 pm
- Location: spain
- Contact:
Re: Usefull tool: Joomla diagnostics
yes ok I realised that but I guess I wasn't very clear with my request I am trying to compare two sites one at home and the other on line does my home site have to have web availability for this to work or can it work by giving the right path in my computer?RussW wrote: There is no way we can tell you the path to your site, this is different with every server and account.
- RussW
- Joomla! Exemplar
- Posts: 9347
- Joined: Sun Oct 22, 2006 4:42 am
- Location: Sunshine Coast, Queensland, Australia
- Contact:
Re: Usefull tool: Joomla diagnostics
As long as your home site is running under a webserver environment then the Diagnostic tool should work as it would online.
In both cases, your configuration.php will provide you with your absolute path that is needed to build your own hash files.
In both cases, your configuration.php will provide you with your absolute path that is needed to build your own hash files.
Joomla! on the fabulous Sunshine Coast...
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
- Ivan Cardy
- Joomla! Enthusiast
- Posts: 186
- Joined: Wed Apr 11, 2007 4:22 pm
- Location: spain
- Contact:
Re: Usefull tool: Joomla diagnostics
Ok I think I am getting this so if i run this and get no result the two sets are identical? or is there some conformation? I just want to make sure I know what the result is supposed to be.RussW wrote: As long as your home site is running under a webserver environment then the Diagnostic tool should work as it would online.
In both cases, your configuration.php will provide you with your absolute path that is needed to build your own hash files.
- RussW
- Joomla! Exemplar
- Posts: 9347
- Joined: Sun Oct 22, 2006 4:42 am
- Location: Sunshine Coast, Queensland, Australia
- Contact:
Re: Usefull tool: Joomla diagnostics
You run it on one site, and make the hash, then you can run it on the other site using the hash made on the first site as reference. If you get no errors, then the files are the same.
Joomla! on the fabulous Sunshine Coast...
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
-
- Joomla! Explorer
- Posts: 345
- Joined: Sun Jul 16, 2006 1:21 pm
Re: Usefull tool: Joomla diagnostics
Hi guys,
Thanks for the tool. I ran the tool and got 430 warnings and errors. My questions are :
1- What does this mean ?
2- What about the files I modified due to language compatiblity?
3- Why it does not show the dates modified?
4- How to fix the errors and warnings?
Thanks
Thanks for the tool. I ran the tool and got 430 warnings and errors. My questions are :
1- What does this mean ?
2- What about the files I modified due to language compatiblity?
3- Why it does not show the dates modified?
4- How to fix the errors and warnings?
Thanks
- RussW
- Joomla! Exemplar
- Posts: 9347
- Joined: Sun Oct 22, 2006 4:42 am
- Location: Sunshine Coast, Queensland, Australia
- Contact:
Re: Usefull tool: Joomla diagnostics
If you have modified files, they will show up as having been changed, the Diagnostic Tool is designed to work with the "English" version of Joomla!, thus if you are using another translated version, it will highlight many (if not all) files as missing.
Joomla! on the fabulous Sunshine Coast...
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/
-
- Joomla! Intern
- Posts: 61
- Joined: Thu Dec 13, 2007 10:48 pm
- Contact:
Re: Usefull tool: Joomla diagnostics
I ran the diagnostics and found three files that need this line added:
defined( '_VALID_MOS' ) or die( 'Restricted access' );
However, I am not sure where to add them. Can anyone tell me if it should go at the bottom before the ?> or at the start of each document?
My affected files are: ...includes/Cache/Lite.php, ...includes/domit/xml_domit_rss_shared.php and ...includes/phpmailer/class.phpmailer.php
Thanks so very much!!!
defined( '_VALID_MOS' ) or die( 'Restricted access' );
However, I am not sure where to add them. Can anyone tell me if it should go at the bottom before the ?> or at the start of each document?
My affected files are: ...includes/Cache/Lite.php, ...includes/domit/xml_domit_rss_shared.php and ...includes/phpmailer/class.phpmailer.php
Thanks so very much!!!
ScrapbookSuppliesDirect.com
-
- Joomla! Intern
- Posts: 61
- Joined: Thu Dec 13, 2007 10:48 pm
- Contact:
Re: Usefull tool: Joomla diagnostics
My apologies, I have a second question....
I changed our htaccess.txt file to simply .htaccess because we're running on Apache Linux and we'd like to use spider friendly urls. But, the diagnostics tool picked this up as a missing file. Is this okay?
Thanks once again,
Jeanne
I changed our htaccess.txt file to simply .htaccess because we're running on Apache Linux and we'd like to use spider friendly urls. But, the diagnostics tool picked this up as a missing file. Is this okay?
Thanks once again,
Jeanne
ScrapbookSuppliesDirect.com
- pe7er
- Joomla! Master
- Posts: 24986
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
yes, that's okay...ScrapbookSupplies wrote:I changed our htaccess.txt file to simply .htaccess because we're running on Apache Linux and we'd like to use spider friendly urls. But, the diagnostics tool picked this up as a missing file. Is this okay?
In the Joomla distribution the file is called htaccess.txt because .htaccess could give problems during upload.
The site's administrator has to take action (rename the file) to get it working on the (Linux/Apache) server.
htaccess.txt is just an unimportant text file, .htaccess is a Linux system file (with commands that are used by Apache).
The diagnostics file only checks the files (and filenames) in the original distribution, and therefore the renaming to .htacecss gives an error (which can be ignored)....
Last edited by pe7er on Sat Dec 22, 2007 1:06 pm, edited 1 time in total.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Intern
- Posts: 61
- Joined: Thu Dec 13, 2007 10:48 pm
- Contact:
Re: Usefull tool: Joomla diagnostics
Thank you for the information! I feel much better about it now - I was quite concerned about the htaccess (I do not know much about how it works but I know it's important on our main site).pe7er wrote:yes, that's okay...ScrapbookSupplies wrote:I changed our htaccess.txt file to simply .htaccess because we're running on Apache Linux and we'd like to use spider friendly urls. But, the diagnostics tool picked this up as a missing file. Is this okay?
In the Joomla distribution the file is called htaccess.txt because .htaccess could give problems during upload.
The site's administrator has to take action (rename the file) to get it working on the (Linux/Apache) server.
htaccess.txt is just an unimportant text file, .htaccess is a Linux system file (with commands that are used by Apache).
The diagnostics file only checks the files (and filenames) in the original distribution, and therefore the renaming to .htacecss gives an error (which can be ignored)....
Are you familiar with the "defined( '_VALID_MOS' ) or die( 'Restricted access' );" command that the Diagnostic Tool finds missing and states needs to be added to certain files? I am not sure where to add it in the files that needed it - would I paste it into the bottom before the ?> part?
Oh! Is it okay to leave the Diagnostics on the server or is that a security issue?
Once again, thank you so much for your help! Everyone on this board has been so very friendly!
Jeanne
ScrapbookSuppliesDirect.com
- pe7er
- Joomla! Master
- Posts: 24986
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
The defined( '_VALID_MOS' ) or die( 'Restricted access' ); in a file will prevent that file being opened directly (being accessed by using the full URL in the browser). Those files may only be accessed by Joomla.ScrapbookSupplies wrote:Are you familiar with the "defined( '_VALID_MOS' ) or die( 'Restricted access' );" command that the Diagnostic Tool finds missing and states needs to be added to certain files? I am not sure where to add it in the files that needed it - would I paste it into the bottom before the ?> part?
You can ignore the ones (3 or 4 warnings) that are reported in Joomla core files...
(Technical background: those files only have so called 'classes' in them, and no other instructions. Therefore it does not matter that they can be accessed from outside Joomla: there's nothing that can be done with those files...).
No, you'd better delete the Diagnostics files afterwards (or change the Permission with CHMOD to 000).Oh! Is it okay to leave the Diagnostics on the server or is that a security issue?
Otherwise you might display sensitive information about your website / files to visitors / potential hackers...
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Dec 29, 2007 5:47 am
Re: Usefull tool: Joomla diagnostics
I know this post is very old but it contained information I needed. Thanks.
- agentk98
- Joomla! Apprentice
- Posts: 21
- Joined: Sat Dec 08, 2007 12:20 pm
Re: Usefull tool: Joomla diagnostics
http://www.joomla-addons.org is having internal server errors. Any other place I can download?
-
- Joomla! Apprentice
- Posts: 29
- Joined: Wed Sep 19, 2007 2:00 pm
Re: Usefull tool: Joomla diagnostics
Hey Adam - thanks for this info.Websmurf wrote: Hi Guys and Girls,
Today I though of a cool little tool to find corrupted files on your server. I see a lot of threads on the forum currently that are caused by files that have been messed up during installation.
This little tool will compair the file hashes on your server with what it's supose to be. Download:
http://www.joomla-addons.org/option,com ... id,23.html
Instructions:
- upload both files
- go to yoursite.com/diagnostics.php
The script should list what's wrong with the files on your server.
Adam
I downloaded the tool, as I'm having problems with my system. Just loaded newest version of Joomla. Had to install it via FTP. In going through each and every single darn folder, I found a bunch of files missing, so kept adding via FTP. Still didn't work. I get this mssg: "500 - View not found [name, type, prefix]: frontpage,html,contentView".
So after downloading the tool, I extracted the two files (the text file and the diagnostics.php file), uploaded them via FTP...and now what? I tried going to my site (nafmmaf.org) and typing in nafmmaf.org/diagnostics.php -- but nothing happened. I get this mssg: "Page not found; The page you are looking for might have been removed, had its name changed, or is temporarily unavailable."
How on earth do I RUN the file to have it check to see what else is missing? And why does this happen? Can't I just FTP the extracted Joomla files and have them all transfer? Is it my server? My FTP program or?
This is being setup on a pointed domain - do you think that may be the issue?
Thanks for any advice you can give me... Katrina