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.
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Aug 21, 2006 3:37 pm
Re: Usefull tool: Joomla diagnostics
Hello,
I have been using your diagnostics for J 1.0.10 on my french Joomla 1.0.10.
The result is : "File is corrupted or has been altered - WARNING" for any Joomla core file.
Any idea ?
I have been using your diagnostics for J 1.0.10 on my french Joomla 1.0.10.
The result is : "File is corrupted or has been altered - WARNING" for any Joomla core file.
Any idea ?
-
- Joomla! Intern
- Posts: 64
- Joined: Mon Aug 22, 2005 6:47 pm
Re: Usefull tool: Joomla diagnostics
Same to me. All Files corrupted. I have test in two different servers, both linux.
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
You will have to use the correct version of it.
md5 hashes on a windows machine are different from the ones on a linux server.
Even unzipping on the server and uploading them to a server result in different md5 hashes.
md5 hashes on a windows machine are different from the ones on a linux server.
Even unzipping on the server and uploading them to a server result in different md5 hashes.
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
- limestone
- Joomla! Enthusiast
- Posts: 109
- Joined: Fri Sep 02, 2005 7:35 pm
- Location: UK
Re: Usefull tool: Joomla diagnostics
Surely the way this should work in future is to be included as an administrator component. Generate its own hashes immediately on first installation. Then be available to check for changes thereafter. If I know I have made a change to something myself, I run it and accept the new hash as correct and it updates its hashes. Sort of like Windows File Checker. (Did I just ask for a Joomla component to work like part of Windows? )
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Aug 21, 2006 3:37 pm
Re: Usefull tool: Joomla diagnostics
I have tested both the linux and Windows version, the result is the same.Websmurf wrote: You will have to use the correct version of it.
md5 hashes on a windows machine are different from the ones on a linux server.
Even unzipping on the server and uploading them to a server result in different md5 hashes.
The site is hosted in a Linux machine. But all was tested first in Windows before the files get uploaded via FTP to the Linux machine.
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
Normally that should result in a correct list. Never had problems with it myself and I haven't heared this from others before.
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
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Fri Jul 21, 2006 12:22 pm
- Contact:
Re: Usefull tool: Joomla diagnostics
I m cheking my site via diagnostics and tells me that configuration.php-dist is missing, but in the version of joomla that file is not included. So what to do now?
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
No, I wouldn't worry about it. configuration.php-dist is a default configuration layout which can be used for a manual installation of joomla (without the installer).
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
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
Just updated it for version 1.0.11.
- changed md5 hashing method to avoid different hashes on different platforms
- added check for register_globals and register global emulation
- added check for _VALID_MOS for each file that will include another.
- changed md5 hashing method to avoid different hashes on different platforms
- added check for register_globals and register global emulation
- added check for _VALID_MOS for each file that will include another.
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
-
- Joomla! Enthusiast
- Posts: 105
- Joined: Wed Jan 04, 2006 4:43 pm
Re: Usefull tool: Joomla diagnostics
Top notch Adam! Thanks for making this available.
-
- Joomla! Apprentice
- Posts: 22
- Joined: Wed Aug 09, 2006 6:08 pm
Re: Usefull tool: Joomla diagnostics
using the 1.0.11 version, i get File is corrupted or has been altered warning for a lot of the files like
/home/mysite/public_html/administrator/components/com_content/admin.content.html.php
im wondering if this is the reason my sef won't work after migration.
what do i do now that i get that warning? right now my site won't come up, just a blank. last thing i did was add a menu item so i could test out my sef that wasn't working at all.
/home/mysite/public_html/administrator/components/com_content/admin.content.html.php
im wondering if this is the reason my sef won't work after migration.
what do i do now that i get that warning? right now my site won't come up, just a blank. last thing i did was add a menu item so i could test out my sef that wasn't working at all.
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
Try overwriting the files again with the joomla package. My best guess is some of the files got corrupted during the upload.
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
-
- Joomla! Apprentice
- Posts: 22
- Joined: Wed Aug 09, 2006 6:08 pm
Re: Usefull tool: Joomla diagnostics
now i remember i had used a opensef patch hack, of course i would get
File is corrupted or has been altered
your tool is good for the core files, which would be altered if you apply hacks.. i'm learning
File is corrupted or has been altered
your tool is good for the core files, which would be altered if you apply hacks.. i'm learning
-
- Joomla! Fledgling
- Posts: 4
- Joined: Thu Jun 22, 2006 11:01 am
Re: Usefull tool: Joomla diagnostics
When I run the diagnostic I get a few dozen security flags with messages like the following
Error Filename Type
SECURITY /home/integrit/public_html/includes/Cache/Lite.php File does not contain _VALID_MOS. Read more =>
http://www.joomla-addons.org/faq/view/_ ... s/147.html
The "read more" does not appear to be valid.
Ken
Error Filename Type
SECURITY /home/integrit/public_html/includes/Cache/Lite.php File does not contain _VALID_MOS. Read more =>
http://www.joomla-addons.org/faq/view/_ ... s/147.html
The "read more" does not appear to be valid.
Ken
- pe7er
- Joomla! Master
- Posts: 24986
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
Very usefull tool, thanks Adam!
edit:
PS: It isn't listed at the Extensions site, is it?
E.g. in: http://extensions.joomla.org/component/ ... Itemid,35/
edit:
PS: It isn't listed at the Extensions site, is it?
E.g. in: http://extensions.joomla.org/component/ ... Itemid,35/
Last edited by pe7er on Tue Sep 19, 2006 12:53 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
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
Fixed the linkintegrity wrote: When I run the diagnostic I get a few dozen security flags with messages like the following
Error Filename Type
SECURITY /home/integrit/public_html/includes/Cache/Lite.php File does not contain _VALID_MOS. Read more =>
http://www.joomla-addons.org/faq/view/_ ... s/147.html
The "read more" does not appear to be valid.
Ken
Made a change the the faq section, so the urls are a bit different. Added a redirect for the old urls.
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
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
No it isn't (yet). Will add it there.pe7er wrote: Very usefull tool, thanks Adam!
edit:
PS: It isn't listed at the Extensions site, is it?
E.g. in: http://extensions.joomla.org/component/ ... Itemid,35/
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
-
- Joomla! Apprentice
- Posts: 5
- Joined: Fri Sep 08, 2006 3:01 pm
Re: Usefull tool: Joomla diagnostics
Hi there,
I ran the diagnostics and I get the following error:
Compair file hashes against original
Warning: file(joomla_1.0.11.txt) [function.file]: failed to open stream: No such file or directory in /home/mysite/public_html/diagnostics.php on line 123
Notice: Undefined offset: 1 in /home/mysite/public_html/diagnostics.php on line 126
Error Filename Type
SECURITY /home/mysite/public_html/administrator/components/com_events/admin.events.main.php File does not contain _VALID_MOS. Read more
SECURITY /home/mysite/public_html/administrator/components/com_events/admin.events.php File does not contain _VALID_MOS. Read more
SECURITY /home/mysite/public_html/administrator/components/com_feedgator/etc/xajax.inc.php File does not contain _VALID_MOS. Read more
Is this a serous problem that I should fix asap.
Any help would be much appreciated.
joseG
I ran the diagnostics and I get the following error:
Compair file hashes against original
Warning: file(joomla_1.0.11.txt) [function.file]: failed to open stream: No such file or directory in /home/mysite/public_html/diagnostics.php on line 123
Notice: Undefined offset: 1 in /home/mysite/public_html/diagnostics.php on line 126
Error Filename Type
SECURITY /home/mysite/public_html/administrator/components/com_events/admin.events.main.php File does not contain _VALID_MOS. Read more
SECURITY /home/mysite/public_html/administrator/components/com_events/admin.events.php File does not contain _VALID_MOS. Read more
SECURITY /home/mysite/public_html/administrator/components/com_feedgator/etc/xajax.inc.php File does not contain _VALID_MOS. Read more
Is this a serous problem that I should fix asap.
Any help would be much appreciated.
joseG
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
Make sure you also upload joomla_1.0.11.txt, that's the first error you are getting.
About the _VALID_MOS error: http://www.joomla-addons.org/faq/view/j ... s/147.html
About the _VALID_MOS error: http://www.joomla-addons.org/faq/view/j ... s/147.html
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
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Sep 29, 2006 1:54 pm
Re: Usefull tool: Joomla diagnostics
I just uploaded the file and ran a check, and *every* file says "WARNING - File is corrupted or has been altered."
I just had a restore done by my host due to a hack. But why would I get this result?
-----------------------------------------------------------------------------------
MOD note: link removed.
Please see: http://forum.joomla.org/index.php/topic,65.0.html
I just had a restore done by my host due to a hack. But why would I get this result?
-----------------------------------------------------------------------------------
MOD note: link removed.
Please see: http://forum.joomla.org/index.php/topic,65.0.html
Last edited by pe7er on Fri Oct 27, 2006 7:35 pm, edited 1 time in total.
Only exact URLs allowed. See Forum Rules.
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri Nov 17, 2006 9:31 am
Re: Usefull tool: Joomla diagnostics
i bet it is a great tool... but i can't download it, the downloaded file is corruped!
can i get it from somewhere else?
thanks.
can i get it from somewhere else?
thanks.
- sc00zy
- Joomla! Exemplar
- Posts: 9532
- Joined: Thu Aug 18, 2005 9:07 am
- Location: Assen, Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
I second that. The download is corrupt.sampsota wrote: i bet it is a great tool... but i can't download it, the downloaded file is corruped!
can i get it from somewhere else?
thanks.
I attached a working archive for you.
You do not have the required permissions to view the files attached to this post.
Arjan Menger
https://welldotcom.nl - Puntgaaf Internetbureau
https://welldotcom.nl - Puntgaaf Internetbureau
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri Nov 17, 2006 9:31 am
Re: Usefull tool: Joomla diagnostics
Thanks, that worked...!
Unfortunatly everything seems to be ok, meaning it didn't find my problem... with my images in the media manager that aren't working!!
oh well, I'll find it!!
Unfortunatly everything seems to be ok, meaning it didn't find my problem... with my images in the media manager that aren't working!!
oh well, I'll find it!!
- sc00zy
- Joomla! Exemplar
- Posts: 9532
- Joined: Thu Aug 18, 2005 9:07 am
- Location: Assen, Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
I allready notified Adam van Dongen and he fixed the download system. So no more corrupted downloads anymore.
Arjan Menger
https://welldotcom.nl - Puntgaaf Internetbureau
https://welldotcom.nl - Puntgaaf Internetbureau
-
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Nov 20, 2006 11:02 am
Re: Usefull tool: Joomla diagnostics
I have 3 _VALID_MOS errors, I have checked the original files but they don't have the line defined( '_VALID_MOS' ) or die( 'Restricted access' );Websmurf wrote:
About the _VALID_MOS error: http://www.joomla-addons.org/faq/view/j ... s/147.html
Shall I add this line myself or just ignore it?
Thanks in advance.
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
Depends a bit on which files it are. If they're core files, you should be ok
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
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Nov 28, 2006 2:45 am
Re: Usefull tool: Joomla diagnostics
wedsmurf
Great tool !
thank a lot
Great tool !
thank a lot
-
- Joomla! Apprentice
- Posts: 46
- Joined: Mon Nov 20, 2006 9:52 am
Re: Usefull tool: Joomla diagnostics
Does anyone have a demo?
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
Version for Joomla 1.0.12 is available from now.
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
-
- Joomla! Apprentice
- Posts: 34
- Joined: Thu Dec 21, 2006 8:48 am
- Contact:
Re: Usefull tool: Joomla diagnostics
Yes I got three valid_mos warnings on three include files that I never altered (so they should be "stock")... I guess this is normal