Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialize_db_start_katalyze script warnings #41

Open
eldering opened this issue Nov 24, 2017 · 0 comments
Open

initialize_db_start_katalyze script warnings #41

eldering opened this issue Nov 24, 2017 · 0 comments

Comments

@eldering
Copy link
Member

The following execution led to PHP warnings about headers already sent, see below:

$ ./initialize_db_start_katalyze.php
--------------------------------------------------------
THIS SCRIPT RESETS AND INITIALIZES ICAT

IN A FEW SECONDS IT WILL EMPTY SQL TABLES

IF YOU DON'T WANT TO DO THIS, *KILL IT NOW*

ALSO, REMEMBER TO UPDATE "config.yaml"
WITH THE CORRECT INFORMATION FOR THIS CONTEST
(IF YOU HAVEN'T ALREADY)
--------------------------------------------------------
starting in 5 seconds...
starting in 4 seconds...
starting in 3 seconds...
starting in 2 seconds...
starting in 1 seconds...

--------------------------------------------------------
MAKE SURE WE CAN CONNECT TO THE DATABASE
PHP Warning:  session_start(): Cannot send session cookie - headers already sent by (output started at /home/user/autoanalyst/misc_scripts/initialize_db_start_katalyze.php:13) in /home/user/autoanalyst/www/icat.php on line 6
PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/user/autoanalyst/misc_scripts/initialize_db_start_katalyze.php:13) in /home/user/autoanalyst/www/icat.php on line 6

--------------------------------------------------------
DUMP THE ICAT DATABASE
mysqldump: Couldn't execute 'show create table `edit_activity_problem`': SHOW VIEW command denied to user 'icat'@'localhost' for table 'edit_activity_problem' (1142)


--------------------------------------------------------
TRUNCATING ALL THE RELEVANT TABLES
CLEARING TABLE entries;
CLEARING TABLE submissions;
CLEARING TABLE teams;
CLEARING TABLE problems;

--------------------------------------------------------
GRABBING THE CONTEST INFO FROM THE CDS AND STORING IT IN THE DATABASE

--------------------------------------------------------
GRABBING THE PROBLEMS FROM THE CDS AND POPULATING THE PROBLEMS TABLE IN THE DATABASE

--------------------------------------------------------
GRABBING THE TEAMS FROM THE CDS AND POPULATING THE TEAMS TABLE IN THE DATABASE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant