Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues
Author Message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun May 04, 2008 11:29 pm Reply with quote

Lately I've noticed that the path to resolution to several different issues has been with the theme being used. Please notice that I said the path to resolution Wink.

Before posting your issue, please just take a moment to switch to the fisubice theme that comes with RavenNuke(tm). If your issue still exists then it's probably not theme related. However, if the issue does NOT exist when using the fisubice theme then the chances are very good that it IS theme related. This will help expedite a resolution to your issue.


Last edited by Raven on Mon May 05, 2008 10:05 am; edited 1 time in total 
View user's profile Send private message
Raven







PostPosted: Mon May 05, 2008 10:04 am Reply with quote

Another great debugging tool is included in RavenNuke(tm) that definitely deserves mention in the event you aren't inclined to read the documentation Wink. FKelly has added code that tracks all SQL calls and reports back different amounts of information based upon what log level you set. In the rnconfig.php file there is a setting called $loglevel. By default it is set to 0 (zero). Here is the internal documentation/note from the rnconfig.php file. It is self explanatory.

Code:
/*********************************************************************************

* SQL Logging to Text Log File:
* Calls through db/mysql.php only are logged.
* loglevel = 0 -> no logging (default setting)
* loglevel = 1 -> logs sql errors (with associated IP address) only
* loglevel = 2 -> logs ALL sql query statements and errors and is intended for
*                 development testing purposes only as the log file can grow
*                 rather quickly!
* set up a dblog file in your /rnlogs directory with privileges of 666 to use this
*********************************************************************************/
$loglevel = 0;


This is a most excellent utility to use when all looks well and you can't seem to figure out why something isn't adding a record, modifying a record, etc.

Also, setting the $error_reporting to E_ALL ($error_reporting = E_ALL;) while debugging will assist you.

Be sure to always check your server error log for other messages that may be helpful.
 
Display posts from previous:       
Post new topic   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues

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 ©