Home | Webstore
Latest News: OOTP 27 Buy Now - FHM 12 Available - OOTP Go! 27 Available

Out of the Park Baseball 27 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
Thread Tools
Old 02-05-2005, 10:28 AM   #1
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Posts: 12,006
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.

Last edited by kq76; 02-05-2005 at 10:29 AM.
kq76 is offline  
Old 02-05-2005, 11:48 AM   #2
DaveHorn
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,146
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
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Posts: 12,006
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.
kq76 is offline  
Old 02-05-2005, 12:26 PM   #4
DaveHorn
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,146
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
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Posts: 12,006
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.
kq76 is offline  
Old 02-05-2005, 01:06 PM   #6
DaveHorn
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,146
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
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Posts: 12,006
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.

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

Bookmarks


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

Forum Jump


All times are GMT -4. The time now is 06:58 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments