PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
CodyG
Life Cycles Becoming CPU Cycles


Joined: Jan 02, 2003
Posts: 666
Location: Vancouver Island

PostPosted: Sat Mar 31, 2007 10:52 am Reply with quote Back to top

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. Wink

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.



RavensScripts
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Mar 31, 2007 10:56 am Reply with quote Back to top

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. Wink
View user's profile Send private message
CodyG
Life Cycles Becoming CPU Cycles


Joined: Jan 02, 2003
Posts: 666
Location: Vancouver Island

PostPosted: Sat Mar 31, 2007 5:58 pm Reply with quote Back to top

in fisubsilversh

in blocks.html
<td align=left><font class="content">$content</font></td>

in overall_header.tpl (in the style sheet section)
.row1{text-align:left; background:#eaedf4}

Still haven't figured out the left-align in forums summary center block or the homepage news items but when I do, I'll post it here.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3136
Location: near Albany NY

PostPosted: Sat Mar 31, 2007 8:45 pm Reply with quote Back to top

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 user's profile Send private message Visit poster's website
montego
Former Admin in Good Standing


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

PostPosted: Sun Apr 01, 2007 10:07 am Reply with quote Back to top

CodyG wrote:
in fisubsilversh

in blocks.html
<td align=left><font class="content">$content</font></td>

in overall_header.tpl (in the style sheet section)
.row1{text-align:left; background:#eaedf4}

Still haven't figured out the left-align in forums summary center block or the homepage news items but when I do, I'll post it here.


CodyG, if you want your sites to be XHTML compliant, I would use the following instead:

<td align="left">

It is such a simple thing, but XHTML, rightly so, is "picky". Wink
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum