Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
LinkBack Thread Tools Display Modes
Old 02-05-2005, 10:28 AM   #1 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
BOSI Error

After importing the last export of the last season and then clicking on the start new season import link, I get the following error:

Quote:
Error inserting batting information(You have an error in your SQL syntax near '' at line 1)
Please report the following query --
insert into bosi_BAT_GAME_HISTORY(PLAYER_ID, LEAGUE_ID, TEAM_ID, SPOT, SEASON, AB, R, H, RBI, HR, K, BB, D, T, POG) VALUES
I've started new seasons before and not had this problem. I know very little about SQL. This league is on the OLS. Anybody have an idea about what might be wrong? Thanks.

EDIT: I was going to post this in BOSI's forum, but it looks pretty desolate there now.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002

Last edited by kq76; 02-05-2005 at 10:29 AM.
kq76 is offline  
Old 02-05-2005, 11:48 AM   #2 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
There is no data to insert in that query. Although if you typed exactly what you did than your problem my of been user error.

You need rollover your league file and import the NEW season before you click Start New Season.
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 02-05-2005, 11:56 AM   #3 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
Quote:
Originally Posted by DaveHorn
There is no data to insert in that query.
Which means don't worry about it, or..?

Quote:
Originally Posted by DaveHorn
Although if you typed exactly what you did than your problem my of been user error. You need rollover your league file and import the NEW season before you click Start New Season.
Sorry. After I imported last year's CSVs I uploaded the new year's CSVs and then I clicked the start new season button. I followed (or at least I tried to): http://www.bosicentral.com/help_newseason.html.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline  
Old 02-05-2005, 12:26 PM   #4 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
Quote:
Originally Posted by kq76
Which means don't worry about it, or..?
No it likely means something went wrong.

What the code is doing here is getting all the data out of the bat_game table and archiving them in a player and team format into bat_game_history table. It appears you might have something funky in your bat_game table. Not sure what would of caused it. It appears that you either have bad data or no data in your bat_game table? You sure you didn't hit the Start New Season twice?

Is your league date correct in BOSI, did it switch to the new season. If so, maybe you just hit it twice and you are fine.

I'm not sure what fail safe mechanisms are built in case Start New Season fails. Are you familiar with phpmyadmin or a similar tool so you could look at the bag_game table and verify its data?
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 02-05-2005, 12:59 PM   #5 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
Quote:
Originally Posted by DaveHorn
You sure you didn't hit the Start New Season twice?
I may have. I don't remember exactly as I'm doing a bunch of things at once and it was a couple hours ago.

Quote:
Originally Posted by DaveHorn
Is your league date correct in BOSI, did it switch to the new season. If so, maybe you just hit it twice and you are fine.
No, it still has last year's date.

Quote:
Originally Posted by DaveHorn
I'm not sure what fail safe mechanisms are built in case Start New Season fails. Are you familiar with phpmyadmin or a similar tool so you could look at the bag_game table and verify its data?
I am a bit familiar with phpmyadmin and I opened it, but all I see are my phpbb tables which is probably because the league's BOSI is on the OLS's server. I guess the only person who could fix it from here is Andreas?

Even if this doesn't get fixed, thanks.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline  
Old 02-05-2005, 01:06 PM   #6 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
Bummer, my next suggestion was to see if you wanted me to take a peak at the DB for you.

Yeah, I'm not sure how the OLS works. You don't have access to the BOSI database? How about the code? Another possibility is that it moved the data into the history tables correctly, but something else went wrong, so now when you try you are getting an error before you can get to the part the went wrong the first time.
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 02-05-2005, 01:16 PM   #7 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 281
Thanked 332x in 190 posts
Quote:
Originally Posted by DaveHorn
Bummer, my next suggestion was to see if you wanted me to take a peak at the DB for you.

Yeah, I'm not sure how the OLS works. You don't have access to the BOSI database? How about the code? Another possibility is that it moved the data into the history tables correctly, but something else went wrong, so now when you try you are getting an error before you can get to the part the went wrong the first time.
I'd give you access if I could, but other than BOSI's admin import page which I believe most BOSI admins use, I don't think I can access it if it is on the OLS. Maybe someone on the OLS knows better though.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002

Last edited by kq76; 02-05-2005 at 01:22 PM.
kq76 is offline  
 

Bookmarks

Thread Tools
Display Modes

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



All times are GMT -4. The time now is 07:22 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments