My SQL warning + 500 error

Phoca Download - download manager
liujunyu
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 31 Jul 2013, 02:51

My SQL warning + 500 error

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48581
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: My SQL warning + 500 error

Post 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
If you find Phoca extensions useful, please support the project
Post Reply