View Single Post
Old 09-11-2009, 08:38 AM   #141
Stu
All Star Starter
 
Stu's Avatar
 
Join Date: Dec 2005
Posts: 1,255
Quote:
Originally Posted by Stu View Post
Also I'm still getting strange permission issues. All folders are currently set to 755 but anytime it needs to write a file I get an error. As an example, I get this when trying to view a players game logs:

If I set the permissions to 777 it works but I obviously don't want to leave them at 777. Is there something wrong in my configuration that would be causing this?
In case anybody else experiences this issue, it was because my web server runs under a user account that didn't have write access to any of the folders on my site. I fixed it by simply changing ownership of the ootpsqlou folder and sqldump folder to the user that runs the web server.

Quote:
Originally Posted by Stu View Post
For anybody who is interested I was able to run the season metrics for all but the first 3 years of my league. I had all my old backups so just imported the backup from before the World Series of each year as if it was an OOTP 9 league. This worked for league files from OOTP 2007, 8 and 9.

I wasn't able to import the first 3 seasons because I can't find the backups.
I was also able to run the season metrics for years where I didn't have data. It needs the park factor data to be set so I set the park factors for the first 3 years equal to the average of the years I did have the data.

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
Stu is offline   Reply With Quote