|
||||
| ||||
|
|
#181 |
|
All Star Starter
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
|
Yes, I had this same issue with a long running ootp9 league, and he added in as of I think patch 2 the ability to import ootpou development reports into statslab
__________________
- Front Office Offseason League. (Fast Paced OOTP-X and OOTP11 leagues, sims one season every week)
|
|
|
|
|
|
#182 | |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
|
Quote:
(edit) What's the steps to install this on the latest version of OOTPX? Install 1.0, then install both patches in succession, or upload all the patched files and then run install.php?
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM Last edited by mikev; 10-30-2009 at 12:54 AM. |
|
|
|
|
|
|
#183 | |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
Quote:
The latter, to your second question. Install all the code, then run install.php. You can actually do it either way, but it's easier just to install it all first, since some of the enhancements help get the util up and running.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
|
|
|
|
|
#184 |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
|
Getting this error after uploading everything and entering the data into install.php
Code:
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'mikev_ootpsql'@'1a.7.364a.static.theplanet.com' (using password: YES) in /home/mikev/public_html/cgi-bin/sql/dbopen.php on line 2 Could not connect: Access denied for user 'mikev_ootpsql'@'1a.7.364a.static.theplanet.com' (using password: YES)
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM |
|
|
|
|
|
#185 |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
|
I verified the user/password via shell, and that's not the issue. Dunno what the access denied message is being caused by.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM Last edited by mikev; 10-30-2009 at 02:37 AM. |
|
|
|
|
|
#186 |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
Your SQL user/password combo is not correct.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
|
|
|
|
#187 |
|
Hall Of Famer
Join Date: Aug 2002
Location: Rapid City, SD
Posts: 3,639
|
Couple of quick questions.
1. When I try the Run Career Metrics after loading the SQL files, I get the following error: Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in <path to StatsLab>/career.php on line 43 Warning: Cannot modify header information - headers already sent by (output started at <path to StatsLab>/career.php:43) in <path to StatsLab>/career.php on line 218 3. After loading the SQL files, I'm not seeing anything in the Top Players section on the Top Performances page (see the second attached image). Any idea what's causing these issues? Thanks for the help.
__________________
培傑西 I have never taken a lesson on how to talk on TV in my life. - Tim McCarver Guns have only two enemies; rust and liberals. The world is a comedy to those that think; a tragedy to those that feel. |
|
|
|
|
|
#188 |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
|
It is, I verified it by logging into the SQL DB via shell, and I also deleted and recreated the user/password for the SQL DB.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM |
|
|
|
|
|
#189 |
|
Minors (Triple A)
Join Date: Apr 2004
Posts: 272
|
Has anyone used the widgets feature that can point to a website in which they've used them? I'm hoping to get some time myself to mess with them and see if I can't get something set up on my league frontpage. I thought it'd be nice to see a few examples of what others are doing with them.
|
|
|
|
|
|
#190 | |||||
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|||||
|
|
|
|
|
#191 |
|
Hall Of Famer
Join Date: Aug 2002
Location: Rapid City, SD
Posts: 3,639
|
Yeah, my players_game_batting and players_game_pitching_stats sql files are very large and end up timing out. Once I split those and loaded everything manually, things work just fine.
Thanks for the help!
__________________
培傑西 I have never taken a lesson on how to talk on TV in my life. - Tim McCarver Guns have only two enemies; rust and liberals. The world is a comedy to those that think; a tragedy to those that feel. |
|
|
|
|
|
#192 | |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
|
Quote:
I checked, and the dbopen.php file was created, but I dunno what's supposed to be in there.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM |
|
|
|
|
|
|
#193 | ||
|
Hall Of Famer
Join Date: Aug 2007
Posts: 2,360
|
Quote:
Have a look at the PEBA homepage to see how they look. Note that one of our league members did a little touch-up work to get the columns to line up neatly. I've submitted his code to fhomess so there's a chance it might end up in a future StatsLab patch. Even in their current implementation, though, StatsLab's widgets are a great addition to a league website.
__________________
Founder of the Planetary Extreme Baseball Alliance (PEBA) Premiere OOTP fictional league where creativity counts and imagination is your only limitation Check for openings - contact us today! |
||
|
|
|
|
|
#194 |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
You should see your SQL host, user, and password in a mysql_pconnect function call, followed by a line calling a function to select the appropriate database. Your SQL user needs access to MySQL, as well as permissions for that specific database. If you think you've got all that, and are willing to share access with me, I'm willing to take a look myself and see if anything is odd. Just shoot me a PM.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
|
|
|
|
#195 | |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
|
Quote:
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM |
|
|
|
|
|
|
#196 |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
In dbopen.php? Odd. You can edit that file manually and remove that piece.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
|
|
|
|
#197 | |
|
Minors (Triple A)
Join Date: Apr 2004
Posts: 272
|
Quote:
|
|
|
|
|
|
|
#198 |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
|
Not sure where -- but the issue is fixed, had to change the SQL host to "localhost" instead of "theguba.net" in the install.php, and then it worked.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM |
|
|
|
|
|
#199 |
|
Hall Of Famer
Join Date: Aug 2007
Posts: 2,360
|
It was done in a CSS file.
__________________
Founder of the Planetary Extreme Baseball Alliance (PEBA) Premiere OOTP fictional league where creativity counts and imagination is your only limitation Check for openings - contact us today! |
|
|
|
|
|
#200 | |
|
Minors (Triple A)
Join Date: Apr 2004
Posts: 272
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
|
|