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
jaded
Theme Guru



Joined: Nov 01, 2003
Posts: 1006

PostPosted: Sun Feb 08, 2009 3:06 pm Reply with quote

I have upgraded a website for someone who was running 7.0 to RN 2.3.

There are a few issues that have arisen.

The site seems to function well now with only a few bugs.

The Nuke Styles Contact Plus module was working before the upgrade.

If this cannot be corrected, does anyone know of a working module that will accomplish what this one did?

Code:


Fatal error: Call to undefined function sql_query() in /home2/****/public_html/modules/Contact/index.php on line 62



Fatal error: Call to undefined function sql_query() in /home2/****/public_html/admin/modules/ns_contact_plus.php on line 21


These are lines 55-68 of Contact/index.php

Code:
function ns_form() {

global $module_name, $sitename, $prefix, $dbi;
include("header.php");
OpenTable();
echo "<center><font class=\"title\">"._CONTACTUS."</font></center>";
CloseTable();
OpenTable();
$result_s = sql_query("select show_add from ".$prefix."_ns_contact_show", $dbi);
list($show_add) = sql_fetch_array($result_s, $dbi);
if ($show_add == 1) {
echo "<br><br><center><font class=\"title\"><u>"._ADDRESSINFO."</u></font></center><br>";
ns_info();
echo "<hr>";
}


There are lines 19-23 of admin/modules/ns_contact_plus.php


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);
if ($radminsuper==1) {
[/code]

_________________
Themes BB Skins [ Only registered users can see links on this board! Get registered or login! ]
Graphic Tees [ Only registered users can see links on this board! Get registered or login! ]
Paranormal Tees [ Only registered users can see links on this board! Get registered or login! ]
Ghost Stories & More [ Only registered users can see links on this board! Get registered or login! ]

Last edited by jaded on Sun Feb 08, 2009 4:30 pm; edited 1 time in total 
View user's profile Send private message Visit poster's website
jakec
Site Admin



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

PostPosted: Sun Feb 08, 2009 3:08 pm Reply with quote

It's using the old database layer, there is a post here about conversion.

Also Guardian has an updated version of this module at his site.
 
View user's profile Send private message
jaded







PostPosted: Sun Feb 08, 2009 3:15 pm Reply with quote

Thank you, Jake. I will go and get the new module after I try the conversion method myself. Should it fail. LOL
 
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 ©