Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Tool Box (TM)
Author Message
psychicc
New Member
New Member



Joined: Mar 24, 2005
Posts: 20

PostPosted: Tue Dec 06, 2005 8:11 am Reply with quote

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.
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Tue Dec 06, 2005 8:48 am Reply with quote

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?
 
View user's profile Send private message Send e-mail
psychicc







PostPosted: Wed Dec 07, 2005 8:30 pm Reply with quote

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

PostPosted: Wed Dec 07, 2005 10:51 pm Reply with quote

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...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
Guardian2003







PostPosted: Thu Dec 08, 2005 12:23 am Reply with quote

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

PostPosted: Fri Dec 29, 2006 12:23 pm Reply with quote

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 
View user's profile Send private message
Guardian2003







PostPosted: Fri Dec 29, 2006 2:08 pm Reply with quote

I have just started using 'private' nuke Journal entries for that Wink
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Dec 31, 2006 12:14 am Reply with quote

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)

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Tool Box (TM)

View next topic
View previous topic
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©