OOTP Developments Forums

OOTP Developments Forums (https://forums.ootpdevelopments.com//index.php)
-   Earlier versions of OOTP: General Discussions (https://forums.ootpdevelopments.com//forumdisplay.php?f=3624)
-   -   Unpack Reports Error (https://forums.ootpdevelopments.com//showthread.php?t=226036)

dangarion 11-14-2012 07:05 PM

Unpack Reports Error
 
Hello,

I'm trying to figuring out why I'm having this error when I attempt to unpack my reports for a MySQL dump. From the looks of it, it appears to be an issue with the way OOTP sets up the MySQL file, but there really is NO documentation on how to correct these types of errors. I also opened a Support ticket back in May and never received a response.

Please wait...
Command: tar xzf '/xxxxxx/your-league/reports/reports.tar.gz' 2>&1:
Successfully unpacked the reports.tar.gz file...

Opened reports file reports_1.txt...{query} Database Error : 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-reports WHERE (type="b" AND name="league_100_home")' at line 1 : SELECT id FROM pcjbl-reports WHERE (type="b" AND name="league_100_home")

dangarion 12-11-2012 12:19 PM

Bump.

USF 12-25-2012 04:22 PM

Quote:

Originally Posted by dangarion (Post 3418011)
Bump.

Did you create the php server script files? There are 3 of them you need to create and transfer over to your server folder prior to running the reports.

The names of the files are: dbconfig.php, .htaccess and index.php

You create these files in your ONLINE league settings FTP option screen.

Jason

dangarion 12-26-2012 11:22 AM

Quote:

Originally Posted by USF (Post 3423758)
Did you create the php server script files? There are 3 of them you need to create and transfer over to your server folder prior to running the reports.

The names of the files are: dbconfig.php, .htaccess and index.php

You create these files in your ONLINE league settings FTP option screen.

Jason

Yes, in fact if I hadn't created them I couldn't run the script... and would have never got an error.

joeyjojojrshabadoo 02-05-2013 07:06 PM

did you ever get this issue resolved? I'm running into the same problem

dangarion 02-05-2013 08:44 PM

Quote:

Originally Posted by joeyjojojrshabadoo (Post 3442003)
did you ever get this issue resolved? I'm running into the same problem

Nope, and honestly I've given up on expecting to ever get a response. I'll test it in OOTP14 once it comes out, but I expect it still won't be fixed till I see it working.

fhomess 02-06-2013 11:40 AM

I don't know if this will help, but you might try using an underscore rather than a hyphen in "pcjbl-reports".

BretRock 02-19-2013 02:38 PM

Not sure its the same error, but I cannot ever get all of my reports to unpack.

It usually takes differing amounts of time, but more often than not the only thing that gets updated is the home page of the reports (no team or player pages).

Would love help with this.

Thanks,

Bret

sdorman22 04-25-2016 04:05 PM

Just in case anyone else stumbles across this while searching for answers like I did, removing the dash from the MySQL table name, as fhomess suggested, worked for me.


All times are GMT -4. The time now is 01:26 PM.

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments