OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Errors after patching from 2.1.0-1 to 2.1.1

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Errors after patching from 2.1.0-1 to 2.1.1

Postby sjones » Tue Jul 18, 2006 2:59 pm

After running the patch to go from 2.1.0-1 to 2.1.1 I now get the error below when trying to log in to my journal. I'd appreciate any suggestions for how to correct the error(s).

Thanks in advance,
Steve

------
Notice: Undefined index: url in /home/.salty/sjedit88/newmediaandsociety.com/classes/user/UserDAO.inc.php on line 136

Warning: session_regenerate_id(): Cannot send session cookie - headers already sent by (output started at /home/.salty/sjedit88/newmediaandsociety.com/classes/user/UserDAO.inc.php:136) in /home/.salty/sjedit88/newmediaandsociety.com/classes/session/SessionManager.inc.php on line 209

Warning: Cannot modify header information - headers already sent by (output started at /home/.salty/sjedit88/newmediaandsociety.com/classes/user/UserDAO.inc.php:136) in /home/.salty/sjedit88/newmediaandsociety.com/classes/session/SessionManager.inc.php on line 193

Notice: Undefined index: url in /home/.salty/sjedit88/newmediaandsociety.com/classes/user/UserDAO.inc.php on line 136
DB Error: Unknown column 'url' in 'field list'
sjones
 
Posts: 46
Joined: Sun Jan 29, 2006 8:47 am

Postby asmecher » Tue Jul 18, 2006 3:15 pm

Hi Steve,

Upgrading is a two-step process -- first you need to upgrade the codebase, then the database. It sounds like you've finished the first step. To accomplish the second, run tools/upgrade.php with the "upgrade" command. Alternately, you can upgrade via the web interface. This is documented in docs/UPGRADE.

I'd recommend the command-line upgrade method, and please ensure that your max_execution_time setting in php.ini is sufficiently high. (As always, back up your database before proceeding.)

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby sjones » Tue Jul 18, 2006 4:12 pm

Thanks, Alec. It seems to have been the max_execution_time setting that did me in when I tried to do that earlier. I recall changing it for another upgrade some while back, but it seems to have been reset, though I'm not sure how. I'll have to remember that for future upgrades.

Looking forward to trying out all of the new features! It seems like quite a substantial upgrade, thanks for keeping at it!

Steve
sjones
 
Posts: 46
Joined: Sun Jan 29, 2006 8:47 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], Google [Bot], Yahoo [Bot] and 2 guests