Page 1 of 1

My SQL warning + 500 error

Posted: 31 Jul 2013, 03:03
by liujunyu
Hi,

I have upgraded Phoca download to v 1.3.9, then I received the following error when i clicked on files menu in Phoca download

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result,...


I have read the problems solving from https://www.phoca.cz/documents/17-phoca- ... -solving68
so I turned my debug mode on and reload the page with warning try to locate the issue. I then receive the 500 error. next post

Re: My SQL warning + 500 error

Posted: 31 Jul 2013, 23:28
by Jan
Hi,

- you have enabled php error reporting - this means, you get error which says, something is wrong in database
- enabling debug mode means, then you get exactly the problem from database (mostly, tables or columns are missing)
- if you get then 500, then you need to ask your webhosting provider for the problem - or look into errorLog if you are able.

Jan