Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - How 2 upgade from 7.01 to 7.5
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedHow 2 upgade from 7.01 to 7.5

 Post Reply Post Reply Page  123 5>
Author
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Topic: How 2 upgade from 7.01 to 7.5
    Posted: 03 October 2003 at 9:06am
REMEMBER BACK-UP ALL FILES FIRST INCASE THINGS DON'T GO TO PLAN!!!!

All Users

Skins and Language files for version 7.01 will NOT work with version 7.5, some mods for 7.01 may also not run.

Upgarding Access Version

Upgrading from version 7.01 to 7.5 Access version is straight forward. Just replace the old files with the new ones keeping the same database file. In the Access database you will have to increase the size of the field Browser to 20 in the table tblActiveUsers.

Upgrading MS SQL Server Version
Upgrading from version 7.01 to 7.5 MS SQL Server version is a little more complcated. You need to replace all the old files with the new ones. You then also need to change the stored procedure wwfSpLastAndFirstThreadAuthor, in the SQL Enterprise Manager  to the following:-

CREATE PROCEDURE [dbo].[wwfSpLastAndFirstThreadAuthor] (
@lngTopicID int

AS
SELECT tblThread.Thread_ID, tblThread.Author_ID, tblThread.Message, tblThread.Message_date, tblAuthor.Username
FROM tblAuthor, tblThread
WHERE tblAuthor.Author_ID = tblThread.Author_ID AND tblThread.Topic_ID = @lngTopicID
ORDER BY tblThread.Message_date ASC;
GO


You will also need to add the following new stored procedure if you wish to use the SQL Server Stats page in the admin section. The new SP is:-

CREATE PROCEDURE [dbo].[wwfSpDBinfo] As 
Declare @low int
Declare @dbsize dec(10,2)
Declare @dbpath nvarchar(100)
Declare @logpath nvarchar(100)
Declare @dbfilesize dec(10,2)
Declare @logfilesize dec(10,2)
Declare @maxdbfilesize dec(10,2)
Declare @maxlogfilesize dec(10,2)
 
--Minimum Database Size
select @low = low from master.dbo.spt_values
            where type = N'E' and number = 1
--Calculation of current Database Size in MB
select @dbsize = (convert(dec(15),sum(size)) *  @low  / 1048576)
from [sysfiles]
--Actual File Size of Log and Data File
Select TOP 1 @dbpath = [filename] from [sysfiles] where groupid = 1
Select TOP 1 @logpath = [filename] from [sysfiles] where groupid = 0
Select @dbfilesize =  convert(dec(10,2),sum([size]))/128 from [sysfiles] where [filename] = @dbpath     --in MB
Select @logfilesize = convert(dec(10,2),sum([size]))/128 from [sysfiles] where [filename] = @logpath   --in MB
Select TOP 1 @maxdbfilesize = convert(dec(10,2),[maxsize])/128 from [sysfiles] where [filename] = @dbpath
Select TOP 1 @maxlogfilesize = convert(dec(10,2),[maxsize])/128 from [sysfiles] where [filename] = @logpath
If @maxdbfilesize = (-.01) Set @maxdbfilesize = -1
If @maxlogfilesize = (-.01) Set @maxlogfilesize = -1
 
---Creating Output Table
select     @dbsize Databasesize, @dbpath DataLocation , @logpath LogLocation,
    @dbfilesize DatabaseFileSize, @logfilesize Logfilesize,
    @maxdbfilesize MaxDBSize, @maxlogfilesize MazLogSize,
    ServerProperty('edition') Edition,
    CASE ServerProperty('IsCluster')
     WHEN 0 THEN 'No Cluster'
     WHEN 1 THEN 'Cluster'
      ELSE  'No Cluster/Unknown'
    END Cluster,
    CASE ServerProperty('License_Type')
     WHEN 'PER_SEAT' THEN 'Seat Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
     WHEN 'Per_Processor' THEN 'Processor Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
     ELSE 'Licensing Disabled / Unknown'
    END Licensing,
    ServerProperty('ProductLevel') PLevel
GO

You will also need to increase the size of the field Browser in the table tblActiveUsers to 20.


Edited by -boRg-
Back to Top
crusad3r View Drop Down
Newbie
Newbie


Joined: 19 July 2003
Status: Offline
Points: 17
Direct Link To This Post Posted: 03 October 2003 at 10:14am

What do you do if you do not have access to the ServerProperty() function.

 

Back to Top
simpson View Drop Down
Groupie
Groupie


Joined: 31 July 2002
Status: Offline
Points: 127
Direct Link To This Post Posted: 03 October 2003 at 10:26am

Originally posted by -boRg- -boRg- wrote:

All Users
Skins and Language files for version 7.01 will NOT work with version 7.5, some mods for 7.01 may also not run.

But you can copy/paste your old language file into the new one above the "New to 7.05", right?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 03 October 2003 at 10:34am
Yes simpson that should work.

Sorry crusad3r if the SQL DB Stats stored procedure won't run then you won't be able to view the SQL srever stats, but it's more eye candy then a feature that you need.

Edited by -boRg-
Back to Top
crusad3r View Drop Down
Newbie
Newbie


Joined: 19 July 2003
Status: Offline
Points: 17
Direct Link To This Post Posted: 03 October 2003 at 12:06pm

Originally posted by -boRg- -boRg- wrote:

Yes simpson that should work.

Sorry crusad3r if the SQL DB Stats stored procedure won't run then you won't be able to view the SQL srever stats, but it's more eye candy then a feature that you need.

 

Yea I know but I'm a tweaker.  Could I replace the values that it is getting with the GetServerPerperty with somthing static?

 

for instance replace

 

    ServerProperty('edition') Edition,
    CASE ServerProperty('IsCluster')
     WHEN 0 THEN 'No Cluster'
     WHEN 1 THEN 'Cluster'
      ELSE  'No Cluster/Unknown'
    END Cluster,
    CASE ServerProperty('License_Type')
     WHEN 'PER_SEAT' THEN 'Seat Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
     WHEN 'Per_Processor' THEN 'Processor Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
     ELSE 'Licensing Disabled / Unknown'
    END Licensing,
    ServerProperty('ProductLevel') PLevel

 

With somthing like

    'Unknown' Edition, 
    'No Cluster' Cluster,
    'Licensing Disabled / Unknown'  Licensing,
    '2000' PLevel

 

If that will work..  What is Plevel?

 

Thanks

 

Back to Top
crusad3r View Drop Down
Newbie
Newbie


Joined: 19 July 2003
Status: Offline
Points: 17
Direct Link To This Post Posted: 03 October 2003 at 12:14pm
Originally posted by crusad3r crusad3r wrote:

Originally posted by -boRg- -boRg- wrote:

Yes simpson that should work.

Sorry crusad3r if the SQL DB Stats stored procedure won't run then you won't be able to view the SQL srever stats, but it's more eye candy then a feature that you need.

 

Yea I know but I'm a tweaker.  Could I replace the values that it is getting with the GetServerPerperty with somthing static?

 

for instance replace

 

    ServerProperty('edition') Edition,
    CASE ServerProperty('IsCluster')
     WHEN 0 THEN 'No Cluster'
     WHEN 1 THEN 'Cluster'
      ELSE  'No Cluster/Unknown'
    END Cluster,
    CASE ServerProperty('License_Type')
     WHEN 'PER_SEAT' THEN 'Seat Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
     WHEN 'Per_Processor' THEN 'Processor Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
     ELSE 'Licensing Disabled / Unknown'
    END Licensing,
    ServerProperty('ProductLevel') PLevel

 

With somthing like

    'Unknown' Edition, 
    'No Cluster' Cluster,
    'Licensing Disabled / Unknown'  Licensing,
    '2000' PLevel

 

If that will work..  What is Plevel?

 

Thanks

 

 

Sorry for spamming up your topic here, but I answered my own question, it does work.

 

Thanks alot.

cRusad3r

Back to Top
tnt266 View Drop Down
Newbie
Newbie


Joined: 04 September 2003
Status: Offline
Points: 7
Direct Link To This Post Posted: 03 October 2003 at 1:47pm

I'm getting the following error message when loggin in.

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strTableBottomRowColour'

/login_user.asp, line 392

I'm not sure if this has to do with the size of the field browser in the Access database.  If so, can someone help me out with how to do this?  (I'm not a database guy at all, pretty clueless).

Back to Top
tnt266 View Drop Down
Newbie
Newbie


Joined: 04 September 2003
Status: Offline
Points: 7
Direct Link To This Post Posted: 03 October 2003 at 1:50pm
Never mind, I answered my own question.  Great forum upgrade!
Back to Top
 Post Reply Post Reply Page  123 5>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.