Bug 6021

Summary: Error 500 message of patroncards_upgrade.pl between update report of webinstaller
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Installation and upgrade (web-based installer)Assignee: Henri-Damien LAURENT <henridamien>
Status: CLOSED WONTFIX QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: P5 - low CC: gmcharlt
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marcel de Rooy 2011-03-31 09:35:53 UTC
The current code for $DBversion = '3.01.00.107' includes calling another script (patroncards_upgrade.pl) outside updatedatabase. It died with me on "Table creator_batches already exists in script patroncards_upgrade.pl".
This die only ends that script but the 500 error comes between the upgrade lines in web installer (catched by IPC call to updatedatabase in install.pl). 

# Status: 500
# Content-type: text/html
#
# <h1>Software error:</h1>
# <pre>DB ERROR: Table 'creator_batches' already exists
# </pre>
# <p>
# For help, please send mail to the webmaster (<a href="mailto:bibliotheek@rijksmuseum.nl">bibliotheek@rijksmuseum.nl</a>), giving this error message
# and the time and date of the error.
#
# </p>