Joined: Jan 02, 2003 Posts: 668 Location: Vancouver Island
Posted:
Sat Mar 31, 2007 10:52 am
I've almost completed my oldest site from rn2.02 (previously 6.9) to rn2.1
As I rarely take the simple path with most things, and, my site is heavily modified over 5 years, my upgrade path was file by file, table by table.
I disabled the site with Sentinel ... (first time I've used that feature... tres cool) and two hours later, after much consternation with some header.html commenting, everything is groovy and users are posting in the shoutbox once again.
This cms so rocks!
One question about the db edits for -bbessions and bbsessions_keys. The command is below, but what exactly is getting deleted from these tables.
Code:
$sql = "DELETE FROM ".$prefix."_bbsessions";
sqlexec($sql);
$sql = "DELETE FROM ".$prefix."_bbsessions_keys";
sqlexec($sql);
Remaining issues: all with my old mods, of course. They may be old, but they are still required.
Themes. I didn't touch the theme directory, so everything there is pre-2.1. Thankfully, they all work. The biggest problem is the IE text centering in blocks, modules etc, etc. I'm not sure if I need to edit 1 file, a few files, or dozens of files?? in themes and blocks and modules? or just themes?
Avatar Paths. Some of them work, others don't. It's in the old code, too. Could I post snippets here and get help fixing them?
an example from my error log...
[Sat Mar 31 08:34:58 2007] [error] [client xx.xx.xx.xx] File does not exist: /path/modules/Forums/images/avatars/http:, referer:
Only registered users can see links on this board! Get registered or login to the forums!
And there is something happening with popups that I can't figure out.
[Sat Mar 31 08:34:11 2007] [error] [client xx.xx.xx.xx] File does not exist: /path/themes/fisubsilversh/forums/themes/fisubsilversh, referer:
Only registered users can see links on this board! Get registered or login to the forums!
No wonder that file doesn't exist, the path doesn't exist either.
That's about it.
This is my most important site and for the first time in 5 years I feel it is running on code that will get me into the next 5 years without worries.
Joined: Apr 06, 2006 Posts: 2415 Location: Iowa, USA
Posted:
Sat Mar 31, 2007 10:56 am
Those delete statements are deleting all rows from the tables since they don't have where clauses.
The themes you just have to hack on until they work again. I had to add align="left" to certain TD tags in my theme. It isn't hard once you identify where things are coming from.
Joined: Aug 30, 2005 Posts: 3186 Location: near Albany NY
Posted:
Sat Mar 31, 2007 8:45 pm
Just to add to what Gremmie said; base nuke (unfortunately) doesn't use sessions. Forums uses a kind of home grown version of sessions instead of "standard" PHP sessions. So it generates it's own session id and maintains it's own tables. These get filled in as people use the system and they are supposed to get deleted when people sign out or time out. Sometimes they don't get deleted and it's just a good practice to clean them out as part of any upgrade.
It's a shame that you can't use the version of themes that come with RN 2.10 and I'd suggest that you at least evaluate them somehow on a test system. There was a lot of work done to make them compliant and to speed them up. LOL: I have a certain interest in that topic but still you might be very happy with the results. In another thread (I think it's a sticky) I posted a list of the themes and which ones are now compliant.
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