Author |
Message |
jumus
Hangin' Around

Joined: Jul 15, 2008
Posts: 30
|
Posted:
Sun Dec 09, 2012 7:03 pm |
|
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? |
|
|
|
 |
spasticdonkey
RavenNuke(tm) Development Team

Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Mon Dec 10, 2012 1:49 am |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Mon Dec 10, 2012 6:59 am |
|
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. |
_________________ 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! |
|
|
 |
montego

|
Posted:
Mon Dec 10, 2012 7:00 am |
|
BTW, I also moved your thread over to the one for RN 2.5... |
|
|
|
 |
jumus

|
Posted:
Tue Dec 11, 2012 7:40 am |
|
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?  |
|
|
|
 |
spasticdonkey

|
Posted:
Tue Dec 11, 2012 10:47 am |
|
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

|
Posted:
Tue Dec 11, 2012 8:20 pm |
|
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

|
Posted:
Tue Dec 11, 2012 8:37 pm |
|
|
|
 |
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm

Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Wed Dec 12, 2012 6:58 am |
|
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;
|
|
|
|
|
 |
|