Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 4:43 pm (All times are UTC )

 


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.



Post new topic Reply to topic  [ 162 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
Posted: Sun May 07, 2006 9:50 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun May 07, 2006 9:37 am
Posts: 4
problem solved  ;D


Last edited by doomla on Sun May 07, 2006 3:05 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Sun May 07, 2006 4:56 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat May 06, 2006 4:08 am
Posts: 11
doomla wrote:
problem solved  ;D

What's been solved?


Top
   
 
Posted: Mon May 08, 2006 2:11 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun May 07, 2006 9:37 am
Posts: 4
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).


Top
  E-mail  
 
Posted: Tue May 09, 2006 6:07 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Tue May 09, 2006 5:37 am
Posts: 1206
Location: Arid-Zona
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!

_________________
http://www.mydynamicsite.com


Top
  E-mail  
 
Posted: Fri May 12, 2006 1:22 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Mon Sep 05, 2005 3:50 pm
Posts: 248
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.

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


Top
  E-mail  
 
Posted: Fri May 12, 2006 11:44 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Mon Aug 15, 2005 4:36 pm
Posts: 2399
Location: Marikina, Metro Manila, Philippines
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.

Look forward to keeping track of progress

_________________
God grant me the Serenity to Accept the things I cannot change, the Courage to change the things I can and the Wisdom to know the Difference.


Top
  E-mail  
 
Posted: Fri May 12, 2006 11:47 pm 
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Fri Aug 12, 2005 7:19 am
Posts: 4471
Location: Leeds, UK
When you are ready to relese I ill be more than happy to test for you and provide appropriate feedback


Top
  E-mail  
 
Posted: Mon May 15, 2006 8:26 am 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Aug 19, 2005 2:23 pm
Posts: 2158
Location: The Netherlands
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

neat, would like to hear more about that as well when there's information.

_________________
Adam van Dongen - Developer

- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl


Top
  E-mail  
 
Posted: Thu Jun 08, 2006 5:45 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon May 29, 2006 8:10 pm
Posts: 18
Do we need a new file for 1.0.9?


Top
  E-mail  
 
Posted: Thu Jun 08, 2006 7:14 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi Jesse,

See http://forum.joomla.org/index.php/topic ... #msg311635

_________________
Regards Robin


Top
   
 
Posted: Thu Jun 08, 2006 5:44 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon May 29, 2006 8:10 pm
Posts: 18
RobInk wrote:


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?


Top
  E-mail  
 
Posted: Thu Jun 08, 2006 6:44 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi,

Thah should be correct way of building such a text file.

_________________
Regards Robin


Top
   
 
Posted: Fri Jun 09, 2006 1:24 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon May 29, 2006 2:35 am
Posts: 5
I'm showing that all files are corrupt. Did some post a solution for that that I missed?


Top
  E-mail  
 
Posted: Fri Jun 09, 2006 7:37 am 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Aug 19, 2005 2:23 pm
Posts: 2158
Location: The Netherlands
I'll generate a few variation later today for common use :)

[edit: files have been placed]

_________________
Adam van Dongen - Developer

- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl


Last edited by Websmurf on Fri Jun 09, 2006 8:25 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Sat Jun 10, 2006 6:01 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sun Aug 21, 2005 8:46 am
Posts: 570
Location: Perth, Western Australia
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  :)

_________________
Joomla! - enjoying every minute of the journey!


Top
  E-mail  
 
Posted: Mon Jun 12, 2006 1:44 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 18, 2006 11:48 pm
Posts: 31
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 !!!  :-[


Top
  E-mail  
 
Posted: Mon Jun 12, 2006 2:01 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 18, 2006 11:48 pm
Posts: 31
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 ???:-[


Top
  E-mail  
 
Posted: Mon Jun 12, 2006 2:13 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 18, 2006 11:48 pm
Posts: 31
returened to the same error  :'(

Code:
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


Plz help


Top
  E-mail  
 
Posted: Mon Jun 12, 2006 2:48 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Aug 19, 2005 2:23 pm
Posts: 2158
Location: The Netherlands
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).

_________________
Adam van Dongen - Developer

- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl


Top
  E-mail  
 
Posted: Mon Jun 12, 2006 5:06 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 18, 2006 11:48 pm
Posts: 31
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  :(


Top
  E-mail  
 
Posted: Tue Jun 13, 2006 7:16 am 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Aug 19, 2005 2:23 pm
Posts: 2158
Location: The Netherlands
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


Top
  E-mail  
 
Posted: Tue Jun 13, 2006 10:06 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 18, 2006 11:48 pm
Posts: 31
Aha you mean after installation  :o
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


Top
  E-mail  
 
Posted: Tue Jun 13, 2006 1:36 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Aug 19, 2005 2:23 pm
Posts: 2158
Location: The Netherlands
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.

_________________
Adam van Dongen - Developer

- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl


Top
  E-mail  
 
Posted: Wed Jun 28, 2006 7:38 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Jan 17, 2006 8:40 pm
Posts: 51
Adam,

Can we expect a version for 1.0.10?


Top
  E-mail  
 
Posted: Mon Jul 03, 2006 3:00 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Jul 03, 2006 2:22 pm
Posts: 23
hi

will the utility work on version 1.0.10?


Top
  E-mail  
 
Posted: Mon Jul 03, 2006 4:07 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Aug 19, 2005 2:23 pm
Posts: 2158
Location: The Netherlands
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


Top
  E-mail  
 
Posted: Thu Jul 06, 2006 12:09 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Aug 19, 2005 2:23 pm
Posts: 2158
Location: The Netherlands
Files have been uploaded:
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


Top
  E-mail  
 
Posted: Mon Aug 14, 2006 9:51 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Aug 14, 2006 9:07 pm
Posts: 53
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


Top
  E-mail  
 
Posted: Wed Aug 23, 2006 11:22 pm 
Joomla! Virtuoso
Joomla! Virtuoso
Online

Joined: Sun Apr 16, 2006 12:20 am
Posts: 3060
Location: 127.0.0.1
Websmurf wrote:
JAF 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)

Actually, the code is allready in diagnostics.php

modify:
Code:
generateMd5Hash();

to
Code:
generateMd5Hash('/my/path/to/joomla/root');


Then call your file:
diagnostics.php?task=generate

when you do this, it also indexes files in the cache folder which then causes errors when you run the diagnostic again

_________________
Backup, backup, backup! Never forget to backup.
*JoomlaPack can not only backup your site, but help you migrate it as well!*


Top
   
 
Posted: Thu Aug 24, 2006 7:30 am 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Aug 19, 2005 2:23 pm
Posts: 2158
Location: The Netherlands
Mm.. good idea yeah.
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


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 162 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Quick reply

 



Who is online

Users browsing this forum: Geoff, jhcm and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group