PHP Web Host - Quality Web Hosting For All PHP Applications NGNUKE Webmaster Resources
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   This topic is locked: you cannot edit posts or make replies.
Author Message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16647
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16647
Location: Kansas

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

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.
Only registered users can see links on this board!
Get registered or login to the forums!
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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   This topic is locked: you cannot edit posts or make replies.

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