| 
	||||
  | ||||
| 
			
			 | 
		#141 | ||
| 
			
			 All Star Starter 
			
			
			
				
			
			Join Date: Dec 2005 
				
				
				
					Posts: 1,255
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 Quote: 
	
 Quote: 
	
 Once the park factors table was populated I manually edited the season metrics file to change the $year variable to the year I wanted to run it. This seemed to work fine. Not an exact science since the park factors aren't 100% accurate but it's close enough. 
				__________________ 
		
		
		
		
	Brewers League Baseball  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#142 | 
| 
			
			 All Star Reserve 
			
			
			
				
			
			Join Date: Feb 2003 
				Location: Orange, CA 
				
				
					Posts: 569
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			Well it looks like my use of StatsLab is over.  I merged my DBs together with my host and the new server that I'm on doesn't allow the large DB imports I was previously doing.  I tried doing the splitting files thing once, but I don't have an hour to mess around doing that by hand. 
		
		
		
		
		
		
			My host suggesting doing the import via shell... If I import the SQL files via shell is it going to work? I haven't looking into what exactly the statslab script does when it imports, does it parse information or does it just import? 
				__________________ 
		
		
		
		
	DanGarion GM - Los Angeles Dodgers The Peanuts and Cracker Jack Baseball League PCJBL!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#143 | 
| 
			
			 Minors (Triple A) 
			
			
			
				
			
			Join Date: Apr 2004 
				
				
				
					Posts: 272
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			When you say "doesn't allow the large DB imports" are you implying that you can not upload the 61 or so individual SQL files that OOTP dumps? OR that once uploaded, your failing when attempting to press the "Load SQL files" button? 
		
		
		
		
		
		
		
		
			What host do you use? Last edited by snnort; 09-17-2009 at 02:59 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#144 | 
| 
			
			 All Star Reserve 
			
			
			
				
			
			Join Date: Feb 2003 
				Location: Orange, CA 
				
				
					Posts: 569
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			It's actually 30 or 31 files if I remember correctly.  I've been running StatsLab for about 3 or 4 months, but my host no longer allows DB imports of more then 7 MB via web the web based interface..  Thought me saying saying something about splitting the files would explained I'm having a problem with the size of the files, especially since I've never heard of a host blocking multiple files.
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
	DanGarion GM - Los Angeles Dodgers The Peanuts and Cracker Jack Baseball League PCJBL!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#145 | 
| 
			
			 Hall Of Famer 
			
			
			
				
			
			Join Date: May 2003 
				Location: New Jersey 
				
				
					Posts: 2,030
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			dangarion, 
		
		
		
		
		
		
		
	I've had that problem for ages. It's such a pain. Make some noise on the post here, where I ask Markus to put in something to automatically break up the files: http://www.ootpdevelopments.com/boar...sql-files.html  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#146 | |
| 
			
			 Hall Of Famer 
			
			
			
				
			
			Join Date: Nov 2002 
				
				
				
					Posts: 3,648
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 Quote: 
	
 1. Translates special characters in player names into a readable character set. 2. Fixes some issues with fields left blank in specific SQL files (e.g. leagues.mysql.sql is missing the last two fields) 3. Updates the StatsLab user table based on the human_managers table out of OOTP. 4. The next StatsLab patch will do some indexing on the tables that Markus doesn't include. 
				__________________ 
		
		
		
		
	StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#147 | |
| 
			
			 All Star Reserve 
			
			
			
				
			
			Join Date: Feb 2003 
				Location: Orange, CA 
				
				
					Posts: 569
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 Quote: 
	
 
				__________________ 
		
		
		
		
	DanGarion GM - Los Angeles Dodgers The Peanuts and Cracker Jack Baseball League PCJBL!  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#148 | |
| 
			
			 Hall Of Famer 
			
			
			
				
			
			Join Date: Nov 2002 
				
				
				
					Posts: 3,648
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 Quote: 
	
 
				__________________ 
		
		
		
		
	StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#149 | 
| 
			
			 All Star Reserve 
			
			
			
				
			
			Join Date: Feb 2003 
				Location: Orange, CA 
				
				
					Posts: 569
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			If it would automatically split all the large files (instead of the current way where I have to do them each by hand), and then automatically imported them all that would be better.
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
	DanGarion GM - Los Angeles Dodgers The Peanuts and Cracker Jack Baseball League PCJBL!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#150 | 
| 
			
			 Global Moderator 
			
			
			
				
			
			Join Date: Dec 2001 
				Location: Oconomowoc, WI 
				
				
					Posts: 2,806
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			I still can't change the Draft Order and make it stick. Is there some permissions thing I need to change to make this work, and if so, what is it???
		 
		
		
		
		
		
		
		
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#151 | |
| 
			
			 Hall Of Famer 
			
			
			
				
			
			Join Date: Nov 2002 
				
				
				
					Posts: 3,648
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 Quote: 
	
 
				__________________ 
		
		
		
		
	StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#152 | 
| 
			
			 Minors (Triple A) 
			
			
			
				
			
			Join Date: Apr 2004 
				
				
				
					Posts: 272
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			you are the man, fhomess.
		 
		
		
		
		
		
		
		
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#153 | 
| 
			
			 Hall Of Famer 
			
			
			
				
			
			Join Date: May 2003 
				Location: New Jersey 
				
				
					Posts: 2,030
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			You might run into a limit to where PHP can read large files if you use fopen() and fread().   
		
		
		
		
		
		
		
	I originally couldn't import a MySQL file that was over 16MB. Splitting the files fixed that, until PHP wasn't able to split a file over 70MB, because it wasn't capable in opening it. It was exceeding the memory limit. So I've had to forgo the at_bats file since using OOTP, as it can grow to that size very fast. If you have a different solution, let me know.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#154 | 
| 
			
			 Global Moderator 
			
			
			
				
			
			Join Date: Dec 2001 
				Location: Oconomowoc, WI 
				
				
					Posts: 2,806
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			Frank-  
		
		
		
		
		
		
			Using the Draft Utility now (thanks for fixing it, btw!!) but ran into a new problem.... After the first auto-pick the utility is now randomly auto-picking people! Any ideas? 
				__________________ 
		
		
		
		
	Matt Rectenwald Commissioner, GM: Las Vegas Hustlers, The Brewster Baseball Association- fictional league (JOIN NOW)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#155 | 
| 
			
			 Hall Of Famer 
			
			
			
				
			
			Join Date: Nov 2002 
				
				
				
					Posts: 3,648
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			PM Sent.
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
	StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#156 | 
| 
			
			 Global Moderator 
			
			
			
				
			
			Join Date: Dec 2001 
				Location: Oconomowoc, WI 
				
				
					Posts: 2,806
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			Frank, 
		
		
		
		
		
		
			New/old issue. Started a new year. Last Sim won't update. Still has last years playoffs boxscores. 
				__________________ 
		
		
		
		
	Matt Rectenwald Commissioner, GM: Las Vegas Hustlers, The Brewster Baseball Association- fictional league (JOIN NOW)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#157 | |
| 
			
			 Hall Of Famer 
			
			
			
				
			
			Join Date: Nov 2002 
				
				
				
					Posts: 3,648
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 Quote: 
	
 Patch 2 will have the ability to turn off the caching functionality. 
				__________________ 
		
		
		
		
		
			StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. Last edited by fhomess; 10-07-2009 at 01:48 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#158 | 
| 
			
			 Global Moderator 
			
			
			
				
			
			Join Date: Dec 2001 
				Location: Oconomowoc, WI 
				
				
					Posts: 2,806
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			Still not working even after I manually cleared out the cache folder. It's June of 1971 now and Last Sim is still from the 1970 playoffs.
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
	Matt Rectenwald Commissioner, GM: Las Vegas Hustlers, The Brewster Baseball Association- fictional league (JOIN NOW)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#159 | |
| 
			
			 Hall Of Famer 
			
			
			
				
			
			Join Date: Nov 2002 
				
				
				
					Posts: 3,648
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 Quote: 
	
 1. The files are still in your ootpsqlou/cache folder. 2. Your SQL database didn't get updated. 3. The web page is cached in your browser. 
				__________________ 
		
		
		
		
	StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#160 | 
| 
			
			 Hall Of Famer 
			
			
			
				
			
			Join Date: Nov 2002 
				
				
				
					Posts: 3,648
				 
				
				
				
				
				 | 
	
	
	
		
		
		
		 
			
			Patch #2 has been released for use with OOTPX 10.4.  Please do not use this patch until you upgrade to 10.4 (to be released later today).  If you're using the development tracker, you'll want to use this patch as soon as you upgrade as there are some changes to how ratings are listed in the SQL dump. 
		
		
		
		
		
		
			Cheers! 
				__________________ 
		
		
		
		
	StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
	
	
		
| Bookmarks | 
		
  | 
	
		
  |