PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
psychicc
New Member
New Member


Joined: Mar 24, 2005
Posts: 20

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

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

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

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 Visit poster's website
psychicc
New Member
New Member


Joined: Mar 24, 2005
Posts: 20

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

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


Joined: Jun 04, 2004
Posts: 5708

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

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


Joined: Aug 28, 2003
Posts: 5830

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

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.
View user's profile Send private message Send e-mail Visit poster's website
CodyG
RavenNuke(tm) Development Team


Joined: Jan 02, 2003
Posts: 661
Location: Vancouver Island

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

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


Joined: Aug 28, 2003
Posts: 5830

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

I have just started using 'private' nuke Journal entries for that Wink
View user's profile Send private message Send e-mail Visit poster's website
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 3221

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

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)
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2010 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum