Please read the entire entry before responding, thanks :^)
So I’m working with a friend in growing a company, and he sent me the files so I can work with them too. I use a software called AMPPS to run the PHP, HTML, CSS, etc. I’ve mentioned before in other topics I’ve posted, that I’ve received many PHP errors. Some errors I’ve received:
“Warning: Invalid argument supplied for foreach() in C:\Program Files (x86)\Ampps\www\includes\class-query.php on line 106”
"
Warning: Invalid argument supplied for foreach() in C:\Program Files (x86)\Ampps\www\includes\class-query.php on line 78"
I’ve then figured out that the values I “supplied” weren’t arrays, so I asked my friend about this, and he said it was working perfectly fine for him. (Yes, I’ve also filled in the tables in phpMyAdmin)
So I then looked at the error log in the MySQL Dashboard of AMPPS and discovered these errors:
2016-03-15 07:37:36 52 [Warning] InnoDB: Cannot open table mysql/slave_master_info from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
“2016-03-15 07:37:36 52 [Warning] Info table is not ready to be used. Table ‘mysql.slave_master_info’ cannot be opened.”
“2016-03-15 07:37:36 52 [Warning] InnoDB: Cannot open table mysql/slave_worker_info from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.”
“2016-03-15 07:37:36 52[Warning] InnoDB: Cannot open table mysql/slave_relay_log_info from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.”
“2016-03-15 07:37:36 52 [Warning] Info table is not ready to be used. Table ‘mysql.slave_relay_log_info’ cannot be opened.”
I have no idea what these errors mean, and I don’t know if they affect my databases. All I know is that my PHP files require the data in my databases in order to work. If anyone can identify the problem, that would be great!