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! Fledgling
- Posts: 4
- Joined: Sun May 07, 2006 9:37 am
Re: Usefull tool: Joomla diagnostics
problem solved
Last edited by doomla on Sun May 07, 2006 3:05 pm, edited 1 time in total.
-
- Joomla! Apprentice
- Posts: 11
- Joined: Sat May 06, 2006 4:08 am
Re: Usefull tool: Joomla diagnostics
What's been solved?doomla wrote: problem solved
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun May 07, 2006 9:37 am
Re: Usefull tool: Joomla diagnostics
sorry for that... as there was no reply in hours I solved my problem in the meantime and erased my original post.
I had some error messages so I tried to find out with the diagnostics tool if some files were missing or corrupt, but this tool didn't work for me. it said that all files were missing (but they weren't).
I had some error messages so I tried to find out with the diagnostics tool if some files were missing or corrupt, but this tool didn't work for me. it said that all files were missing (but they weren't).
- Toni Marie
- Joomla! Ace
- Posts: 1503
- Joined: Tue May 09, 2006 5:37 am
- Location: Arid-Zona
- Contact:
Re: Usefull tool: Joomla diagnostics
Thank you so much for this! I'm used to installing Joomla through Fantastico... always a way to get a fresh install so I've never had a problem.
Today I installed on GoDaddy (can't even unpack a tar!) and it is incredibly frustrating. Using your diagnostic file I was able to pinpoint the corrupt and missing files that were causing a problem I couldn't otherwise find.
I can't tell you how much of a relief this is. I may get to sleep before sunup!
Today I installed on GoDaddy (can't even unpack a tar!) and it is incredibly frustrating. Using your diagnostic file I was able to pinpoint the corrupt and missing files that were causing a problem I couldn't otherwise find.
I can't tell you how much of a relief this is. I may get to sleep before sunup!
-
- Joomla! Explorer
- Posts: 251
- Joined: Mon Sep 05, 2005 3:50 pm
Re: Usefull tool: Joomla diagnostics
A couple of us have been working on just such a component under the project name JSecure (http://forge.joomla.org/sf/projects/jsecure) for a couple of months. The initial goal is something very much along these lines - a generated snapshot file that can be stored on the server and downloaded. Hopefully we can get an alpha out shortly. And anyone with some time to help with the project would be welcome.bugmenot wrote: this tool is a great idea! but it is quite useless in its current form for people who run localized version of joomla.
it would be nice to include instructions on how to generate the joomla_1.0.8.txt file from any joomla install package.
IMHO this tool should be made into the backend, in the next joomla release, it would certainly help with file integrity related issues, and to detect what files had been tampered with.
some features ideas:
-1- ability to check current files hash vs original files hash from the admin panel.
-2- ability to snap files hash file from admin panel.
-3- ability to save that file to a local machine for later use.
-4- ability to check current files hash vs previously save files hash from the admin panel.
the point here is
- to be always able to check vs original set of files (joomla install files should ship with a hash file)
- to be able to save a snapshot of files at any time, for example when one is finished with customizing one's own site and installing third party components/modules/plugins (still known as mambots)
- to be able to check vs this snapshot, for example to detect which file needs to be restored in case of a defaced site
- in case the admin panel is broken for some reason, it would be necessary to run diagnostic from outside admin panel, via uploading a clean diagnostic.php (found in joomla install files) and hash file (original one, or previously genertaed one) to the site. for this reason it is good to be able to export the generated hash file.
david
- stingrey
- Joomla! Hero
- Posts: 2756
- Joined: Mon Aug 15, 2005 4:36 pm
- Location: Marikina, Metro Manila, Philippines
- Contact:
Re: Usefull tool: Joomla diagnostics
Look forward to keeping track of progressdavidrrm wrote: A couple of us have been working on just such a component under the project name JSecure (http://forge.joomla.org/sf/projects/jsecure) for a couple of months. The initial goal is something very much along these lines - a generated snapshot file that can be stored on the server and downloaded. Hopefully we can get an alpha out shortly. And anyone with some time to help with the project would be welcome.
Rey Gigataras
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
- brian
- Joomla! Master
- Posts: 12787
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Usefull tool: Joomla diagnostics
When you are ready to relese I ill be more than happy to test for you and provide appropriate feedback
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
neat, would like to hear more about that as well when there's information.davidrrm wrote:
A couple of us have been working on just such a component under the project name JSecure (http://forge.joomla.org/sf/projects/jsecure) for a couple of months. The initial goal is something very much along these lines - a generated snapshot file that can be stored on the server and downloaded. Hopefully we can get an alpha out shortly. And anyone with some time to help with the project would be welcome.
david
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: 18
- Joined: Mon May 29, 2006 8:10 pm
Re: Usefull tool: Joomla diagnostics
Do we need a new file for 1.0.9?
-
- Joomla! Apprentice
- Posts: 18
- Joined: Mon May 29, 2006 8:10 pm
Re: Usefull tool: Joomla diagnostics
OK, it seems there is code there for me to create my own text file, but I'm not exactly clear how this works. Sorry, I'm not a coder.
It seems that I need a clean complete set of the files to build my text file. I can't use the ones I have now as I they might be corrupted and so shouldn't be used for a base. I'm gathering I would need to download the full Joomla install package, run it locally, build my file and then upload that to my production server.
Am I correct or is there an easier way?
Re: Usefull tool: Joomla diagnostics
Hi,
Thah should be correct way of building such a text file.
Thah should be correct way of building such a text file.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon May 29, 2006 2:35 am
Re: Usefull tool: Joomla diagnostics
I'm showing that all files are corrupt. Did some post a solution for that that I missed?
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
I'll generate a few variation later today for common use
[edit: files have been placed]
[edit: files have been placed]
Last edited by Websmurf on Fri Jun 09, 2006 8:25 am, edited 1 time in total.
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
- Chinaman
- Joomla! Guru
- Posts: 575
- Joined: Sun Aug 21, 2005 8:46 am
- Location: Perth, Western Australia
- Contact:
Re: Usefull tool: Joomla diagnostics
Great addition to my J! toolbox - will be using this at site setup time, to take a "timestamp" picture of files immediately after successful J! install, and again at site launch, which will give me a nice view of what coms, mods, bots, temps, etc are installed at site launch.
May I suggest that this maybe integrated into Joomla distro, auto run on successful installation, with option to download the final txt
Forgot to say - Thank You
May I suggest that this maybe integrated into Joomla distro, auto run on successful installation, with option to download the final txt
Forgot to say - Thank You
Joomla! - enjoying every minute of the journey!
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu May 18, 2006 11:48 pm
Re: Usefull tool: Joomla diagnostics
Hi there guys
I did what adam said but it is still not working !!!
It gives me the following:
Warning: main(configuration.php): failed to open stream: No such file or directory in /home/domain/public_html/joomla/diagnostics.php on line 63
Warning: main(configuration.php): failed to open stream: No such file or directory in /home/domain/public_html/joomla/diagnostics.php on line 63
Fatal error: main(): Failed opening required 'configuration.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/domain/public_html/joomla/diagnostics.php on line 63
Plz help !!!
I did what adam said but it is still not working !!!
It gives me the following:
Warning: main(configuration.php): failed to open stream: No such file or directory in /home/domain/public_html/joomla/diagnostics.php on line 63
Warning: main(configuration.php): failed to open stream: No such file or directory in /home/domain/public_html/joomla/diagnostics.php on line 63
Fatal error: main(): Failed opening required 'configuration.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/domain/public_html/joomla/diagnostics.php on line 63
Plz help !!!
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu May 18, 2006 11:48 pm
Re: Usefull tool: Joomla diagnostics
I edited the code and replaced the line that calls the configure.php file with configuration.php-dist instead but it now says that the files are missing what shall I have to do to the code so that it reads the right ?
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu May 18, 2006 11:48 pm
Re: Usefull tool: Joomla diagnostics
returened to the same error
Plz help
Code: Select all
Warning: main(configuration.php): failed to open stream: No such file or directory in /home/arabnix/public_html/alug/diagnostics.php on line 63
Warning: main(configuration.php): failed to open stream: No such file or directory in /home/arabnix/public_html/alug/diagnostics.php on line 63
Fatal error: main(): Failed opening required 'configuration.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/arabnix/public_html/alug/diagnostics.php on line 63
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
did you put the file in your joomla root?
There should be a configuration.php file present for this to work.
Ones you see a list of files that contain either a warning or error, it's a good thing to re-upload those files.
(remember, this script gives an indication, it's not leading).
There should be a configuration.php file present for this to work.
Ones you see a list of files that contain either a warning or error, it's a good thing to re-upload those files.
(remember, this script gives an indication, it's not leading).
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: 32
- Joined: Thu May 18, 2006 11:48 pm
Re: Usefull tool: Joomla diagnostics
There is no file called "configuration.php" even in the root dir of the joomla
there is a file called "configuration.php-dist" and still not working
there is a file called "configuration.php-dist" and still not working
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
There should be a file called configuration.php once you've installed joomla. Why isn't there with you?
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: 32
- Joined: Thu May 18, 2006 11:48 pm
Re: Usefull tool: Joomla diagnostics
Aha you mean after installation
Man for sure the MD5 of the files after installation shall be different
And they will never be the same as those in the txt file bcoz MD5 shall encrypt each file with a differen key
Thanx Man
Man for sure the MD5 of the files after installation shall be different
And they will never be the same as those in the txt file bcoz MD5 shall encrypt each file with a differen key
Thanx Man
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
No, that's not true.
Normally the md5 file hash is the same for each occasion.
The only thing that might mess it up are line break differences. This typically occour when a file will be transfered from windows to linux, or to mac or something like that.
Normally the md5 file hash is the same for each occasion.
The only thing that might mess it up are line break differences. This typically occour when a file will be transfered from windows to linux, or to mac or something like that.
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! Intern
- Posts: 51
- Joined: Tue Jan 17, 2006 8:40 pm
Re: Usefull tool: Joomla diagnostics
Adam,
Can we expect a version for 1.0.10?
Can we expect a version for 1.0.10?
-
- Joomla! Apprentice
- Posts: 23
- Joined: Mon Jul 03, 2006 2:22 pm
Re: Usefull tool: Joomla diagnostics
hi
will the utility work on version 1.0.10?
will the utility work on version 1.0.10?
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
No, i'm going to release a version for joomla 1.0.10 tomorrow.
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
Files have been uploaded:
http://www.joomla-addons.org/option,com ... id,23.html
http://www.joomla-addons.org/option,com ... id,23.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! Intern
- Posts: 53
- Joined: Mon Aug 14, 2006 9:07 pm
Re: Usefull tool: Joomla diagnostics
Nice Tool DUDE! I'm a newbie who doesn't know anything about PHP and such, but I'm a pretty good hack. I've installed galleries and forums before and this was my first attempt at a CMS. Upon loading the Joomla code, I noticed that there was no file integrity check, which surprised me. I hope they'd offer this kind of tool in there next version.
I use a free version of coffee cup to FTP files. It's okay, but sometimes it misses files or times out, etc. This tool helped me find the ones I was missing and solved problems I had.
THANKS!
Scott
I use a free version of coffee cup to FTP files. It's okay, but sometimes it misses files or times out, etc. This tool helped me find the ones I was missing and solved problems I had.
THANKS!
Scott
-
- Joomla! Virtuoso
- Posts: 3173
- Joined: Sun Apr 16, 2006 12:20 am
- Location: 127.0.0.1
Re: Usefull tool: Joomla diagnostics
when you do this, it also indexes files in the cache folder which then causes errors when you run the diagnostic againWebsmurf 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
Backup, backup, backup!
The "Master" .htacess file by Nicholas http://snipt.net/nikosdion/the-master-htaccess
The "Master" .htacess file by Nicholas http://snipt.net/nikosdion/the-master-htaccess
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Usefull tool: Joomla diagnostics
Mm.. good idea yeah.
Will have a look at this for the upcoming version.
Will have a look at this for the upcoming version.
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