Home | Webstore
Latest News: OOTP 25 Available - FHM 10 Available - OOTP Go! Available

Out of the Park Baseball 25 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 25 > OOTP Mods > OOTP Mods - Database Tools
Register Blogs FAQ Calendar Today's Posts Search

OOTP Mods - Database Tools Do you need to take a dump? SQL gurus welcome

Reply
 
Thread Tools
Old 07-20-2017, 09:10 PM   #281
Winnipeg59
All Star Starter
 
Join Date: Dec 2010
Location: Canada
Posts: 1,773
Blog Entries: 14
Have assumed an online league as Commissioner.
League uses Statslab.
Current setup is a bit flaky in a couple of areas.

I have the Admin page working OK now, but have a couple of "header issues", the first of which shows on the login page. I am not a coding person, so would love some help! And if I can get some help on this, I'll continue with the other trouble spot, but this first...
Attached Images
Image 
Winnipeg59 is offline   Reply With Quote
Old 07-21-2017, 12:57 AM   #282
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
You've got an issue with dbopen.php that is likely due to a formatting error of some sort when the credentials were entered. Check to make sure the quotes are all valid... some text editors insert different kinds of quotes. If that's not making sense, PM me with details and I can assist.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.
fhomess is offline   Reply With Quote
Old 07-21-2017, 03:21 PM   #283
Jsmitty
Bat Boy
 
Join Date: Feb 2015
Posts: 19
currently having a draft setup issue with statslab. 24 team league, everything is enabled and ready to go, lists and orders are in, however on the draft board itself every team in the league is showing as open-no auto in red beside their name.

not sure why it is not recognizing the human gm's. any ideas? thanks!
Jsmitty is offline   Reply With Quote
Old 07-24-2017, 08:39 PM   #284
Winnipeg59
All Star Starter
 
Join Date: Dec 2010
Location: Canada
Posts: 1,773
Blog Entries: 14
Another rookie Statslab question.

At this time I am uploading OOTP html reports for an online league, then creating and uploading a MySQL dump for Statslab. So far so good.

Question: Is there any way to upload one set of files for both? Or point both to same set of files, to upload required info only once?
Winnipeg59 is offline   Reply With Quote
Old 08-20-2017, 06:53 AM   #285
Spindel
All Star Reserve
 
Spindel's Avatar
 
Join Date: Oct 2003
Location: Lambertville, NJ
Posts: 751
I'm getting ready to update from StatsLab 16 to 18. What do I do?
__________________
Union League Baseball Commissioner since 2011.
Spindel is offline   Reply With Quote
Old 08-30-2017, 10:57 AM   #286
b10wick
Major Leagues
 
b10wick's Avatar
 
Join Date: Jun 2008
Posts: 318
If there is anybody online who has a couple of free minutes and could help me out with an install issue I'm having, please PM me. I've never used Statslab before and first time commish, so I'm trying to follow along with the steps but I've got zero experience with SQL.
b10wick is offline   Reply With Quote
Old 09-07-2017, 09:20 PM   #287
brunnerj
Bat Boy
 
Join Date: Sep 2017
Posts: 2
Hello, new to the forum. My league has been having trouble with the Export Tracker since changing our host a month or two ago. Before then, it worked perfectly, but now we just get a blank page. Exports still work, but the tracker doesn't display any information.

Exports tracker:


Admin config:


Ssh'd in, I see team export data under the exports folder that is specified in the config:


Does anyone have any idea what is going wrong, or how I can further debug this?
brunnerj is offline   Reply With Quote
Old 09-20-2017, 01:25 PM   #288
sjgmoney
Minors (Rookie Ball)
 
Join Date: Jun 2015
Posts: 46
Having an issue importing a draft into StatsLab, getting duplicate players. The underlying Excel file does not have duplicates but after getting imported it does for many players (not all).

Anybody have a clue here?

Sent from my 2PS64 using Tapatalk
sjgmoney is offline   Reply With Quote
Old 12-03-2017, 08:32 PM   #289
kleric
Minors (Double A)
 
Join Date: Dec 2003
Location: Denver, CO
Posts: 160
Trying to upgrade to v18 version of StatsLab. If I replace the whole folder, I get these errors all over every page:

Warning: mysqli_query() expects parameter 1 to be mysqli, resource given in /home/<snip>/ttbl/StatsLab/manager_records.php on line 14

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /home/<snip>/ttbl/StatsLab/manager_records.php on line 15

If I leave v16 version of StatsLab in place, then just copy over, say, the manager_records.php file, I still get the exact same error.

Any help anyone?
Thanks.
kleric is offline   Reply With Quote
Old 12-04-2017, 11:49 AM   #290
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
You need to update the dbopen.php file in your sql uploads folder, too.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.
fhomess is offline   Reply With Quote
Old 12-04-2017, 11:52 AM   #291
kleric
Minors (Double A)
 
Join Date: Dec 2003
Location: Denver, CO
Posts: 160
Quote:
Originally Posted by fhomess View Post
You need to update the dbopen.php file in your sql uploads folder, too.

With what info?
kleric is offline   Reply With Quote
Old 12-04-2017, 11:53 AM   #292
kleric
Minors (Double A)
 
Join Date: Dec 2003
Location: Denver, CO
Posts: 160
Quote:
Originally Posted by kleric View Post
With what info?

AH nevermind, I see what changed. Thanks!
kleric is offline   Reply With Quote
Old 12-04-2017, 02:17 PM   #293
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
Quote:
Originally Posted by kleric View Post
AH nevermind, I see what changed. Thanks!
For those who don't... StatsLab18 has a new version of dbopen.php. You should be able to copy the settings from your previous dbopen.php to the new one and then install that one in the uploads folder.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.
fhomess is offline   Reply With Quote
Old 12-26-2017, 12:38 PM   #294
b10wick
Major Leagues
 
b10wick's Avatar
 
Join Date: Jun 2008
Posts: 318
Is there anybody who would be willing to go in and fix my StatsLab errors I'm receiving for me? I'd be willing to send some money to help compensate for your time. I'm not very savvy when it comes to this stuff and I started receiving an error out of nowhere.

ERROR: OOTP SQL Utilities not configured properly (no ootp_sql_admin table)

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/thesala/public_html/StatsLab/nav_functions.php on line 371

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/thesala/public_html/StatsLab/nav_functions.php on line 679

If interested, please PM me.
b10wick is offline   Reply With Quote
Old 02-19-2018, 07:52 AM   #295
CT-Sox-Fan
Minors (Double A)
 
Join Date: Sep 2006
Posts: 128
Not all draft pool players showing up

When I import the draft pool, I get a message that it uploaded 1200 players. When I then Generate Auto Draft List, it only adds 531 players and I have this message. I get a similar message with uploading the draft order and the draft eligible players. The 3 screen images of the messages are included below.

No idea if it's significant but the 531 players loaded seem to be the lower end of the potential scale of players in the draft. None of the "future star" players are loaded.
Attached Images
Image Image Image 
__________________
---------------------------------
Dave A.

MLBD- Toronto Blue Jays GM,
FCBL- Baltimore Orioles GM,
EIB- Texas Rangers GM
CT-Sox-Fan is offline   Reply With Quote
Old 02-19-2018, 08:46 AM   #296
CT-Sox-Fan
Minors (Double A)
 
Join Date: Sep 2006
Posts: 128
NVM. Exported the SQL files with replace accents checked, regenerated and all is well.
__________________
---------------------------------
Dave A.

MLBD- Toronto Blue Jays GM,
FCBL- Baltimore Orioles GM,
EIB- Texas Rangers GM
CT-Sox-Fan is offline   Reply With Quote
Old 04-06-2018, 12:33 PM   #297
Max Boyer
Minors (Double A)
 
Max Boyer's Avatar
 
Join Date: Feb 2012
Location: Montreal, Qc, Canada
Posts: 139
Blog Entries: 1
*I've deleted the previous post. I've answered my own questions while digging into StatsLab. Got the hang of it now. Haha.

Here's some icons that I've made for the Disabled List/Injuries for StatsLab.

http://maxretrobaseball.net/StatsLab/injury_report.php

Healed!
Injured!
Day-To-Day
__________________
www.maxretrobaseball.net - [Fictional League w/Historical Players - All year long sims, since Feb'12.] Français/English Community

Last edited by Max Boyer; 04-08-2018 at 10:50 AM. Reason: Found my answers while playing around with StatsLab
Max Boyer is offline   Reply With Quote
Old 04-10-2018, 03:41 PM   #298
junebug41
Minors (Rookie Ball)
 
Join Date: Oct 2010
Posts: 42
SQL errors on StatsLab 18 install for new league

I consider StatsLab a must for online leagues, and I'm hoping for some help from the hive to get it up and running in a new league.

We've made it all the way through installation, successfully connected to the database and the validator shows all files OK, but then get errors when trying to log in to complete setup. Here's what we're looking at:

Successful validation:

Name:  Valid-1.jpg
Views: 315
Size:  166.5 KB
Name:  Valid-2.jpg
Views: 315
Size:  156.5 KB


First error after clicking "StatsLab Admin" link:

Name:  Error-1.jpg
Views: 332
Size:  55.4 KB

Second error(s) after clicking "click here to login":

Name:  Error-2.jpg
Views: 325
Size:  163.3 KB



I have only the most rudimentary understanding of code, so any help in resolving these errors would be truly appreciated!
junebug41 is offline   Reply With Quote
Old 04-11-2018, 10:58 AM   #299
Max Boyer
Minors (Double A)
 
Max Boyer's Avatar
 
Join Date: Feb 2012
Location: Montreal, Qc, Canada
Posts: 139
Blog Entries: 1
Try this first

Login Issues
— No Users in Login Dropdown —
If you are unable to login because there are no users in the login dropdown, there are several possible reasons for this. Regardless of the reason, the fix is relatively simple:

- Login to phpMyAdmin or whatever database admin tool you're using for MySQL
- Connect to your StatsLab database
- Drop the human_managers and ootp_sql_users tables
- Open StatsLab in your browser
- Access the sql_file_load.php page
- Load the leagues, sub_leagues, divisions, teams, and team_relations tables
- Load the human_managers table (do this after loading the others)

You should now be able to access the login page with the drop down populated.

*Note that this will not erase user settings or change user passwords.

From the StatsLab wiki page and it worked for me!

http://www.rhinopeel.com/StatsLab/wi...roubleshooting
__________________
www.maxretrobaseball.net - [Fictional League w/Historical Players - All year long sims, since Feb'12.] Français/English Community
Max Boyer is offline   Reply With Quote
Old 05-02-2018, 09:44 AM   #300
CT-Sox-Fan
Minors (Double A)
 
Join Date: Sep 2006
Posts: 128
Statslab draft question

OOTP18,

When a team times out and StatsLab auto-picks, it is picking the first player in the draft alphabetically by last name (who happens to be a scrub MR).

As I recall it didn't do this last season (also with OOTP18). Is there a setting somewhere about draft intelligence that I've forgotten about? Haven't been able to find anything.

Right now I'm having to go in and clear that pick to allow a more intelligent pick to be made. I'd rather not have to keep doing that. (I know - have the GMs actually show up for the draft - real life issues for some).
__________________
---------------------------------
Dave A.

MLBD- Toronto Blue Jays GM,
FCBL- Baltimore Orioles GM,
EIB- Texas Rangers GM
CT-Sox-Fan is offline   Reply With Quote
Reply

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 02:19 AM.

 

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 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments