Home | Webstore
Latest News: OOTP 26 Available - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 26 > OOTP Mods > OOTP Mods - Database Tools

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

Reply
 
Thread Tools
Old 05-10-2010, 02:42 AM   #361
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,648
Quote:
Originally Posted by bayken37 View Post
I apologize if this has already been answered, but I was wondering if there is a way to add in the sandwich picks when using the Draft Utility on this mod?
Yes. Schedule your draft for an additional round. Then modify the draft order in round 2 to be your "sandwich pick round" using the Skip Pick links on the draft board.
__________________
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 05-15-2010, 09:25 AM   #362
Mike Lowe
Hall Of Famer
 
Mike Lowe's Avatar
 
Join Date: Dec 2001
Location: San Diego, CA
Posts: 2,165
Where are the passwords generated from for this utility? Is a GM's password the same as it is in game?

I have a handful of guys who's passwords work in-game but not with the utility.

Is there a way for me to adjust these?
__________________
Franchise. Sliders.
@MikeLowe47 | YouTube | Discord
Mike Lowe is offline   Reply With Quote
Old 05-15-2010, 09:36 AM   #363
Alan T
All Star Starter
 
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
Quote:
Originally Posted by Mike Lowe View Post
Where are the passwords generated from for this utility? Is a GM's password the same as it is in game?

I have a handful of guys who's passwords work in-game but not with the utility.

Is there a way for me to adjust these?
I believe the default password in statslab for all owners is:

baseball

In your admin screen you should be able to reset a user's password back to default password if they forget it
__________________
- Front Office Offseason League. (Fast Paced OOTP-X and OOTP11 leagues, sims one season every week)
Alan T is offline   Reply With Quote
Old 05-26-2010, 09:10 PM   #364
dangarion
All Star Reserve
 
dangarion's Avatar
 
Join Date: Feb 2003
Location: Orange, CA
Posts: 569
Is there any reason why all the passwords would all the sudden stop working? And how can I go about fixing that?
__________________
DanGarion
GM - Los Angeles Dodgers The Peanuts and Cracker Jack Baseball League
PCJBL!
dangarion is offline   Reply With Quote
Old 05-27-2010, 03:51 PM   #365
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,648
Quote:
Originally Posted by dangarion View Post
Is there any reason why all the passwords would all the sudden stop working? And how can I go about fixing that?
Actually, yes. I've seen this happen a few times where a host has changed the encryption protocol used. The only recourse is to reset all the passwords from the Admin page (or using a SQL command directly into the DB if you know how to do that).
__________________
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 05-28-2010, 03:36 AM   #366
dangarion
All Star Reserve
 
dangarion's Avatar
 
Join Date: Feb 2003
Location: Orange, CA
Posts: 569
Quote:
Originally Posted by fhomess View Post
Actually, yes. I've seen this happen a few times where a host has changed the encryption protocol used. The only recourse is to reset all the passwords from the Admin page (or using a SQL command directly into the DB if you know how to do that).
Ok well... Since the passwords all don't work, that means the admin password won't work either. I tried deleting the password in MySQL and logging in and that didn't work. How would I go about running a command to reset them?
__________________
DanGarion
GM - Los Angeles Dodgers The Peanuts and Cracker Jack Baseball League
PCJBL!
dangarion is offline   Reply With Quote
Old 05-28-2010, 12:25 PM   #367
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,648
Quote:
Originally Posted by dangarion View Post
Ok well... Since the passwords all don't work, that means the admin password won't work either. I tried deleting the password in MySQL and logging in and that didn't work. How would I go about running a command to reset them?
Naturally...

PM sent with instructions.
__________________
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 05-29-2010, 09:40 AM   #368
DWK
All Star Reserve
 
DWK's Avatar
 
Join Date: Mar 2007
Location: Somewhere in South Carolina
Posts: 636
I'm having a problem with Logos not showing up. I hit "Capitalize Team Logos" and nothing happens.

Other than that everything else works fine
DWK is offline   Reply With Quote
Old 05-29-2010, 07:13 PM   #369
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,648
Quote:
Originally Posted by DWK View Post
I'm having a problem with Logos not showing up. I hit "Capitalize Team Logos" and nothing happens.

Other than that everything else works fine
Looks like your HTML reports have the same problem. Make sure you've loaded all the different sized versions of the logos to your website. For example, you only have san_diego_padres.png. You should have san_diego_padres_110.png, san_diego_padres_90.png, san_diego_padres_40.png, etc.
__________________
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 05-31-2010, 12:52 PM   #370
Goody
Hall Of Famer
 
Goody's Avatar
 
Join Date: Mar 2002
Location: South Korea
Posts: 3,530
I am totally stumped after spending over 4 hours at least trying to figure out my problem installing StatsLab. I'm getting the same thing that Stu was getting, with the file permissions.

I've checked them and checked them again. Both the folders are at 755 and the files are at 644.

I've had two other apps running off of SQL databases that work. A phpBB board and drupal.


My last idea is maybe something to do with .htaccess file? Since drupal is installed directly into the root directory "public_html" I think it modified the .htaccess file to increase its security. But if this is the case it seems it would have broken my phpBB board, which it didn't. If it is the case I wouldn't have any idea what lines to add the .htaccess to allow the app permissions.


Like Stu, after changing both folders to 777 I was able to get a bit further, but still had lots of errors popping up.

Last edited by Goody; 05-31-2010 at 12:57 PM.
Goody is offline   Reply With Quote
Old 06-02-2010, 05:42 PM   #371
Ramzavail
All Star Reserve
 
Ramzavail's Avatar
 
Join Date: Apr 2002
Location: NY
Posts: 612
OOTP SQL Utilites Login Page - StatsLab for OOTPX

okay, I'm close. I guess. However, I see an issue with the username dropdown.
Ramzavail is offline   Reply With Quote
Old 06-02-2010, 06:10 PM   #372
Goody
Hall Of Famer
 
Goody's Avatar
 
Join Date: Mar 2002
Location: South Korea
Posts: 3,530
Quote:
Originally Posted by Ramzavail View Post
OOTP SQL Utilites Login Page - StatsLab for OOTPX

okay, I'm close. I guess. However, I see an issue with the username dropdown.
You have to go to the admin page now and upload the sql dump.

Change install.php or login.php to admin.php in the URL.

I wish mine looked like that! Still can't get it working so trying to get an allsimbaseball site. This has been one frustrating process!

Last edited by Goody; 06-02-2010 at 06:11 PM.
Goody is offline   Reply With Quote
Old 06-02-2010, 06:53 PM   #373
Ramzavail
All Star Reserve
 
Ramzavail's Avatar
 
Join Date: Apr 2002
Location: NY
Posts: 612
Ok I think I dumped some sql but now I get the ...You must be a commisioner to access this page

http://www.theamazinmess.com/ootpsqlou/admin.php
Ramzavail is offline   Reply With Quote
Old 06-03-2010, 03:37 AM   #374
Goody
Hall Of Famer
 
Goody's Avatar
 
Join Date: Mar 2002
Location: South Korea
Posts: 3,530
Quote:
Originally Posted by Ramzavail View Post
Ok I think I dumped some sql but now I get the ...You must be a commisioner to access this page

http://www.theamazinmess.com/ootpsqlou/admin.php
Now edit the URL back to /login.php and login as the commish and change your password.
Goody is offline   Reply With Quote
Old 06-03-2010, 09:47 AM   #375
Ramzavail
All Star Reserve
 
Ramzavail's Avatar
 
Join Date: Apr 2002
Location: NY
Posts: 612
there are no user names to choose from. on that login page.
Ramzavail is offline   Reply With Quote
Old 06-03-2010, 10:45 AM   #376
DWK
All Star Reserve
 
DWK's Avatar
 
Join Date: Mar 2007
Location: Somewhere in South Carolina
Posts: 636
Quote:
Originally Posted by fhomess View Post
Looks like your HTML reports have the same problem. Make sure you've loaded all the different sized versions of the logos to your website. For example, you only have san_diego_padres.png. You should have san_diego_padres_110.png, san_diego_padres_90.png, san_diego_padres_40.png, etc.
I've try all that and I get 2 Logos to work (Reds, Braves). Is there something that I'm missing?
DWK is offline   Reply With Quote
Old 06-03-2010, 10:51 AM   #377
Ramzavail
All Star Reserve
 
Ramzavail's Avatar
 
Join Date: Apr 2002
Location: NY
Posts: 612
Quote:
Originally Posted by DWK View Post
I've try all that and I get 2 Logos to work (Reds, Braves). Is there something that I'm missing?
make sure the names are lower case.
Ramzavail is offline   Reply With Quote
Old 06-03-2010, 11:54 PM   #378
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,648
Quote:
Originally Posted by Ramzavail View Post
there are no user names to choose from. on that login page.
There's an error with the query that loads the managers on the login page. This is due to one of three tables not being there:
human_managers
teams
ootp_sql_users

Since it's requiring that you be a commish to access the admin page, and it's got a commish on the managers page, it's probably that you never loaded the teams table. You'll need to go to your SQL admin and remove the ootp_sql_users table using a drop command, and then make sure you've loaded all the tables required by the util.

Quote:
Originally Posted by DWK View Post
I've try all that and I get 2 Logos to work (Reds, Braves). Is there something that I'm missing?
Yes, you're still missing all the logo files that have alternate sizes except for the Reds and Braves. Go into your HTML images folder and you'll see that san_diego_padres_40.png is not loaded to your website (nor any of the other sizes). This is true for the rest of the major league teams, too.

Quote:
Originally Posted by Goody View Post
I am totally stumped after spending over 4 hours at least trying to figure out my problem installing StatsLab. I'm getting the same thing that Stu was getting, with the file permissions.
Given what you've said above, the permissions look ok. I really can't help you further without a link to your site to see what errors you're getting. If you don't feel comfortable posting it here, feel free to PM me. FWIW, I'm getting closer to releasing an OOTP11 version of StatsLab which will do away with all these permissions requirements, and it should be functional for OOTPX as well.

Generally speaking, anyone who needs help with their StatsLab install should either post or PM me a link directly to their install. NOT to your website's main page, as many of you do not have links to StatsLab that are accessible to guests.
__________________
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 06-04-2010, 05:54 PM   #379
Ramzavail
All Star Reserve
 
Ramzavail's Avatar
 
Join Date: Apr 2002
Location: NY
Posts: 612
I dropped that table, heck, I cleared out the whole database and now I'm getting an error when I try to Load the SQL files. So I'm stuck.
Ramzavail is offline   Reply With Quote
Old 06-07-2010, 12:56 AM   #380
Goody
Hall Of Famer
 
Goody's Avatar
 
Join Date: Mar 2002
Location: South Korea
Posts: 3,530
Thanks fhomess. It was something with my host. I got it set up on some allsimbaseball webspace just fine.
Goody 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 06:25 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 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments