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 Oct 31, 2008 8:42 pm Reply with quote

In the Downloads admin _CATEGORY is undefined.


Solution:

Find line 25 in all the downloads admin lanquage files
//define('_CATEGORY','Category');

Replace line 25 in all files
define('_CATEGORY','Category');
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Oct 31, 2008 10:56 pm Reply with quote

This is an interesting one. It's actually in the v2.30.00 Change Log as being fixed. What we had discovered is that it is actually dependent on which blocks/modules you are showing whether or not it works. That's why it was commented out in the first place. We fixed the ones we caught but obviously didn't look far enough.

What we recommend and what we will be changing them all to is
if (!defined('_CATEGORY')) define('_CATEGORY','Category');

The main reason is (as I stated above) that it does get defined in most circumstances and if you just uncomment it then you will throw an exception in PHP. We will be releasing this in the c2.30.01 fixpack w/i the next 2 weeks or sooner.

Thanks!
 
View user's profile Send private message
Guardian2003
Site Admin



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

PostPosted: Sat Nov 01, 2008 6:10 am Reply with quote

While testing my error reporting class I also found another one
Trying with E_ALL:E_STRICT; ERROR: Constant _AB_NOREFERERS already defined in language/nukesentinel/lang-english.php

I'll add in to Mantis and the previous one if not already done.
 
View user's profile Send private message Send e-mail
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 ©