Author |
Message |
psychicc
New Member


Joined: Mar 24, 2005
Posts: 20
|
Posted:
Tue Dec 06, 2005 8:11 am |
|
I think you should make a script for the nuke toolbox that will check for errors in your file system, not just the SQL tables. |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Tue Dec 06, 2005 8:48 am |
|
psychicc wrote: | I think you should make a script for the nuke toolbox that will check for errors in your file system, not just the SQL tables. |
What sort of errors did you have in mind?
Syntax errors?
Whether a specific file is readable?
If a specific file exists?
Whether a specific directory exists? |
|
|
|
 |
psychicc

|
Posted:
Wed Dec 07, 2005 8:30 pm |
|
like if there is a PHP error in the page, it will tell you what is wrong. For example: if you get all blank pages, it will check for that and it will tell you what to do to fix it. It could work with SQL errors too with the page. |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Wed Dec 07, 2005 10:51 pm |
|
Unfortunately, blank pages could be caused by many things, making it difficult to suggest how to resolve it. The most common, parsing errors, shouldn't occur unless a script has been written or modified incorrectly, and the best way to resolve that is to view the page with the PHP display_errors setting on so you can see exactly what the error is. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Guardian2003

|
Posted:
Thu Dec 08, 2005 12:23 am |
|
It is certainly possible to check if a specific function is loaded but as kguske said, it would be nearly impossible to check for syntax/parsing errors.
What might help though is more meaningful error messages within the files themselves. |
|
|
|
 |
CodyG
Life Cycles Becoming CPU Cycles

Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island
|
Posted:
Fri Dec 29, 2006 12:23 pm |
|
Is it possible to record file modification dates?
On a perfect nuke planet, there would be a record of all the days I tweeked something. |
_________________ "We want to see if life is ubiquitous." D.Goldin |
|
|
 |
Guardian2003

|
Posted:
Fri Dec 29, 2006 2:08 pm |
|
I have just started using 'private' nuke Journal entries for that  |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sun Dec 31, 2006 12:14 am |
|
File modification dates would be dependent on the upload time, it would not be all that helpful. Better would be a comparison using file hashes or file comparisons (SVN / CVS / etc) |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
|