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.30.01 RN All Other Issues
Author Message
jamesj
New Member
New Member



Joined: Nov 30, 2007
Posts: 6

PostPosted: Tue Mar 24, 2009 4:19 pm Reply with quote

I am using RavenNuke 2.3.01, I installed Nuke Treasury 1.1.1 which works on an unconverted site runing 7.6 [ Only registered users can see links on this board! Get registered or login! ] The Treasury module works and displays the Donation block on two sites I upgraded to RavenNuke 2.3.01 [ Only registered users can see links on this board! Get registered or login! ] & [ Only registered users can see links on this board! Get registered or login! ] ; however these two sites display a blank screen when I attempt to acces the Treasury Admin Panel I.e. @ [ Only registered users can see links on this board! Get registered or login! ]
I get a blank screen
Where should I look to figure out how to resolve this issue? I deleted & reinstalled the files and SQL database files twice; no change.
 
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Tue Mar 24, 2009 5:05 pm Reply with quote

Try this and see if the admin works. [ Only registered users can see links on this board! Get registered or login! ]

It probably is using the old dbi SQL layer.

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
nuken







PostPosted: Tue Mar 24, 2009 6:08 pm Reply with quote

You could also try changing admin/modules/treasury.php line #25,26,27 from
Code:
if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }


$result = sql_query("select radminsuper from ".$prefix."_authors where aid='$aid'", $dbi);

list($radminsuper) = sql_fetch_row($result, $dbi);



to
Code:
if (!defined('ADMIN_FILE')) {

   die('Access Denied');
}
$result = $db->sql_query("select radminsuper from ".$prefix."_authors where aid='$aid'");
list($radminsuper) = $db->sql_fetchrow($result);


and see if that works.


*Update. That does seem to work. I just tested it on a test site and it worked fine without uncommenting the lines in mainfile.
 
jamesj







PostPosted: Tue Mar 24, 2009 7:06 pm Reply with quote

Try this and see if the admin works. [ Only registered users can see links on this board! Get registered or login! ]

It probably is using the old dbi SQL layer.

The above fixed the issue

Modifying the admin/modules/treasury.php file did not fix the issue

Thanks
 
nuken







PostPosted: Tue Mar 24, 2009 7:11 pm Reply with quote

sorry, in all the globals in treasury.php change the $dbi to $db.
 
jamesj







PostPosted: Sun Mar 29, 2009 1:05 am Reply with quote

That worked,
Thanks
 
jamesj







PostPosted: Sun Mar 29, 2009 2:56 am Reply with quote

I had to put it back to a modified mainfile.php and the treasury.php from the 1.1.1 version. The donation amounts did not record properly.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN All Other 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 ©