Kayako logo
Now Implemented (V3) Feature requests that have been implemented.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
craigbrass Offline
Senior Member
 
Posts: 5,387
Join Date: Jun 2005
Location: Cumbria, UK
Detect Upgrade Script Needs to be Run - 08-08-2007, 01:44 PM

As I was saying in another thread, it would be nice if when you login to the admin area it checks to see if you have uploaded files but haven't run the database upgrade script and if this is the case, redirect you to the upgrade script.

The reason for this is I imagine a lot of people upload the files and then either forget or do not know they need to do anything more.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#2) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,119
Join Date: Jan 2006
Location: United Kingdom
08-08-2007, 03:31 PM

Good idea


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
  (#3) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 855
Join Date: May 2005
Location: Henderson, Nevada
08-08-2007, 03:38 PM

Thing is the upgrade script is within the "setup" directory which if the "setup" directory is there you will get a red text that says you must delete the setup directory and it wont let you login. So it pretty much already does it.. granted it doesnt tell you that you haven't run the upgrade script yet or not so someone could not run the script and delete the setup directory..


Steve
Digital Mayhem, Inc.
AIM: Steve.Lawrence@Digital-Mayhem.com
MSN: Steve.Lawrence@Digital-Mayhem.com
GTALK: Steve.Lawrence@Digital-Mayhem.com
YAHOO: DigitalMayhem_Steve
SKYPE: DigitalMayhem_Steve

I'm Important
   
Reply With Quote
  (#4) Old
craigbrass Offline
Senior Member
 
Posts: 5,387
Join Date: Jun 2005
Location: Cumbria, UK
08-08-2007, 03:45 PM

That is true Steve but I think something that does as I said would be better. I imagine a fair few people submit support tickets about problems because they haven't run the upgrade script.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#5) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,119
Join Date: Jan 2006
Location: United Kingdom
09-08-2007, 11:44 AM

This has already been implemented:
Code:
if (version_compare(SWIFTVERSION, $_SWIFT["settingscache"]["core"]["version"]) == -1 )
...
 echo "<center><b><font color='red' face='verdana, arial, helvetica' size='2'>[WARNING]: Database Version Tag (". $_SWIFT["settingscache"]["core"]["version"] .") and File (". SWIFTVERSION .") Mismatch!</font></b><BR /><font color='black' face='verdana, arial, helvetica' size='1'>Please update your files to the latest revision, This error happens when your database structure is different than the PHP files you are using.</font></center>\n<BR />";
...
However, this has now been tightened in the latest CVS as it is apparent that for some reason it was not triggering the warning.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
  (#6) Old
craigbrass Offline
Senior Member
 
Posts: 5,387
Join Date: Jun 2005
Location: Cumbria, UK
09-08-2007, 12:17 PM

Ah great. Yea, must admit I never saw anything like then when I tested just before posting this topic.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#7) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,119
Join Date: Jan 2006
Location: United Kingdom
09-08-2007, 04:10 PM

Committed 9th August 2007.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
Reply

Tags
detect, run, script, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to check tables after breaking auto-increment (PHP4 -> PHP5 upgrade) dotboost Technical Chat 1 26-07-2007 09:29 AM
Test Domain for Upgrade Dry Run? tm2000 Installation & Upgrading 6 08-03-2007 06:07 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46