Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues
Author Message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Fri Jan 02, 2009 8:18 pm Reply with quote

Anyone else get this? Need confirmation.

Notice: Use of undefined constant _ADDCATEGORY - assumed '_ADDCATEGORY' /modules/FAQ/admin/index.php on line 91

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Palbin







PostPosted: Fri Jan 02, 2009 8:46 pm Reply with quote

Also this on editing a Category.

Notice: Undefined variable: language in /***/raven/modules/FAQ/admin/index.php on line 215
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sat Jan 03, 2009 5:06 am Reply with quote

I am not getting either of these errors when adding or editing a category in the FAQ's.
 
View user's profile Send private message
Guardian2003
Site Admin



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

PostPosted: Sat Jan 03, 2009 5:48 am Reply with quote

I see them both using PHP Nuke Debugger.
The first one is a simple fix, add the constant to the module admin language file (wrapped in an if(!defined test ).
The second one needs a thorough examination of the code as $language is not declared anywhere within the page and from a quick look at the code it seems to be used as part of a form submission to select the FAQ language used. Depending on the logic you could probably use $currentlang instead if it is in the functions global statement.
 
View user's profile Send private message Send e-mail
jakec







PostPosted: Sat Jan 03, 2009 8:17 am Reply with quote

Apologies I've just noticed this are Notices and I didn't have it set to E_ALL in rnconfig.php. Embarassed
 
Palbin







PostPosted: Sat Jan 03, 2009 10:13 am Reply with quote

Ok just wanted to make sure. Added to Mantis.
 
Palbin







PostPosted: Sat Jan 03, 2009 3:22 pm Reply with quote

See mantis for fixes to the above.
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Sat Jan 03, 2009 3:54 pm Reply with quote

Changes made per your description, Palbin. Thanks

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN 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 ©