phpScheduleIt
May 18, 2013, 01:08:52 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Upgrading from 1.0.1 to 1.2.12  (Read 472 times)
yeahmag
Newbie
*

Karma: 0
Posts: 8


« on: January 13, 2012, 07:35:20 PM »

I'm testing updating an old 1.0.1 instance to 1.2.12. After editing the update.sql file to reflect the correct DB name I was able to successfully run the updates. From there I get the error:

There was an error executing your query:
DB Error: no such field SELECT count(*) as num FROM login WHERE (email='mckinnon@caltech.edu' OR logon_name='mckinnon@caltech.edu') AND password='XXX' [nativecode=1054 ** Unknown column 'logon_name' in 'where clause']

I'm guessing I need to find and old update.sql script to go to 1.1 first... Any other ideas?

Thanks.

-Aaron
Logged
yeahmag
Newbie
*

Karma: 0
Posts: 8


« Reply #1 on: January 13, 2012, 07:40:39 PM »

Some additional info:

PHP 5.3.3
php-pear-db-1.7.13-2.el5.rf
php-pear-1.4.9-6.el5
Server version: Apache/2.2.3
mysql  Ver 14.12 Distrib 5.0.27 (running with "sql_mode = MYSQL40")
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5403


WWW
« Reply #2 on: January 17, 2012, 02:09:11 PM »

Oooh boy. Your guess is probably correct. I'm not sure if there's going to be a simple way to run this upgrade, though. If you're comfortable, it may be simpler to create a 2nd database for 1.2.12 and import the data yourself.
Logged
BernardII
Newbie
*

Karma: 0
Posts: 6


« Reply #3 on: January 20, 2012, 04:18:55 AM »

I was having the same problem......thanks "yeahmag" for sharing the info Wink
Logged
yeahmag
Newbie
*

Karma: 0
Posts: 8


« Reply #4 on: January 20, 2012, 12:30:00 PM »

Is there a way to export the data?
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5403


WWW
« Reply #5 on: January 23, 2012, 02:09:35 PM »

The simplest way would be to use the tools built into MySQL or a tool like phpMyAdmin
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!