Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
jumus
Hangin' Around



Joined: Jul 15, 2008
Posts: 30

PostPosted: Sun Dec 09, 2012 7:03 pm Reply with quote

Help me. How do I upgrade from Raven Nuke 2.02.02 to RN 2.5?
Is there a straight upgrade, or do I have to do a staged upgrade?
 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Mon Dec 10, 2012 1:49 am Reply with quote

This should get you started [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message Visit poster's website
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Mon Dec 10, 2012 6:59 am Reply with quote

jumus, that is a really significant upgrade path! If you have customization, just a warning that the core code in almost every module has changed significantly since 2.2.2, including very significant security fixes. But, because of the security fixes alone, I would highly encourage you to take this upgrade on.

I also want to stress even more the importance for you to do test upgrades in a local LAMP or WAMP environment on your PC. I also highly encourage you to heed the warnings about backing up your production DB and files PRIOR to your production upgrade.

Good luck with your upgrade. If you have questions, please do not hesitate to search for answers here and if no answer is found, ask.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
montego







PostPosted: Mon Dec 10, 2012 7:00 am Reply with quote

BTW, I also moved your thread over to the one for RN 2.5...
 
jumus







PostPosted: Tue Dec 11, 2012 7:40 am Reply with quote

I followed the direction step by step, now my site is blank.
There is nothing on the site.
Everything was successful.
What may have gone wrong? Crying or Very sad
 
spasticdonkey







PostPosted: Tue Dec 11, 2012 10:47 am Reply with quote

A blank page usually indicates some type of fatal error. Are you doing this on a live site? Either way you need to find out what the error is so I would set $display_errors = true; in config.php and report back with the error details. If this is a live site set $display_errors = false; once you have the info

When posting the error details, exclude your server path as that should not be posted in public.
 
jumus







PostPosted: Tue Dec 11, 2012 8:20 pm Reply with quote

This is the error I am having. I think it is in the theme:
Fatal error: Call to undefined function sql_query() in /home/.../public_html/.../themes/.../theme.php on line 60

Now when i check theme on line 60, it is:
$toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi);

The full code starting line 57 to 65 is:
}
$topics_list = "<select name=\"new_topic\" onChange='submit()'>\n";
$topics_list .= "<option value=\"\">All Topics</option>\n";
$toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi);
while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) {
if ($topicid==$topic) { $sel = "selected "; }
$topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
$sel = "";
}

What this means?
 
spasticdonkey







PostPosted: Tue Dec 11, 2012 8:37 pm Reply with quote

Anytime you see $dbi in the code it's older code that needs to be updated. Although the steps aren't too hard Smile [ Only registered users can see links on this board! Get registered or login! ]
 
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1008
Location: Netherland

PostPosted: Wed Dec 12, 2012 6:58 am Reply with quote

Code:
$toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi);

while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) {


Replace with

Code:
$toplist = $db->sql_query("select topicid, topictext from ".$prefix."_topics order by topictext");

while(list($topicid, $topics) = $db->sqlsql_fetchrow($toplist)) {


Code:
OLD :global $prefix, $dbi;


Code:
NEW: global $prefix, $db; 
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

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 ©