Home | Webstore
Latest News: OOTP 26 Available - FHM 11 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 12-29-2013, 03:49 PM   #1
Hillbilly
Bat Boy
 
Join Date: Dec 2013
Posts: 4
StatsLab setup help

I'm trying to get stats lab set up but have never done it before and needed a little help.

I keep getting errors when I run the validator.

The first error is:
Warning: include(//home/fantasyf/sqldump/<fantasyfantasy>/dbopen.php) [function.include]: failed to open stream: No such file or directory in /home/fantasyf/public_html/StatsLab/session_functions.php on line 71

There are numerous more like this one, but they all say the same "no such file or directry exists".

One of them at the bottom says: ERROR: dbopen.php file not found in SQL upload directory. Please create this file based on dbopen.php.sample.
After doing so, return to this page.

I double checked this and it is there. Is this causing the first problem?

I followed the included pdf instructions included in the statslab but noticed they were for ootp 13, not 14. Are there any differences for 14? I did double check to make sure I had the right zip file downloaded and double checked and performed each step multiple times. Are there any common mistakes or does anyone know what my problem might be?
Hillbilly is offline   Reply With Quote
Old 12-30-2013, 01:23 AM   #2
Hillbilly
Bat Boy
 
Join Date: Dec 2013
Posts: 4
Well, I may have fixed that problem, but now the variable tester says:

Parse error: syntax error, unexpected T_VARIABLE in the dbopen.php file.

I've watched fidel's video from allsimbaseball and followed the instructions but fidel's video was for ootp 11 and the pdf file included for statslab install for ootp 14 says it is the instructions for ootp 13.

The dbopen sample file reads:

<?php
$db = mysql_connect('sqlhost.domain.com','sqluuser','sql password') or die('Could not connect: '.mysql_error());
mysql_select_db('sqldb');
?>



I got the user and password and database in there, what goes in 'sqlhost.domain.com' ?

Is this local host as fidel says in his video, it isn't working for me unless something else is wrong.

Thanks for the help if anyone is reading this.
Hillbilly is offline   Reply With Quote
Old 12-30-2013, 09:57 AM   #3
Hillbilly
Bat Boy
 
Join Date: Dec 2013
Posts: 4
Well, I don't know if it is better, but after installing for the fourth time, now I only get the error:

Parse error: syntax error, unexpected '$' in /home/fantasyf/sqldump/dbopen.php on line 1

My dbopen.php file reads:

<?php$db = mysql_connect('localhost','user_deleted','password _deleted') or die('Could not connect: '.mysql_error()); mysql_select_db('db_deleted');?>

I typed deleted over my user,password and db data information.

Can someone please help? I'm just trying random things now, gasping for air.
Hillbilly is offline   Reply With Quote
Old 01-09-2014, 11:04 PM   #4
WillieMaysHayes
Minors (Double A)
 
WillieMaysHayes's Avatar
 
Join Date: Jul 2010
Location: Denver, CO
Posts: 143
Quote:
Originally Posted by Hillbilly View Post
Is this local host as fidel says in his video, it isn't working for me unless something else is wrong.

Thanks for the help if anyone is reading this.
Did you try localhost as just one word?
WillieMaysHayes 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 07:32 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 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments