Getting Database and PHP warnings

Phoca Download - download manager
ktwork23
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Jan 2012, 12:26

Getting Database and PHP warnings

Post by ktwork23 »

First of all happy new year to everybody here at forum.

I installed com_phocadownload_v2.1.4, plg_content_phocadownload_v2.1.4 and plg_editors-xtd_phocadownload_v2.1.4 for my joomla 1.7 site http://www.ktworksheets.com. After creating categories and files and importing them in editor they were showing a blank page with just a link to phocadownload.com on frontend joomla article page. I thought that may be I did not install the plugins properly. So I uninstalled the complete phocadownload set and the deleted the corresponding phocadownload directories created via ftp.

Again I downloaded fresh set of com_phocadownload_v2.1.4, plg_content_phocadownload_v2.1.4 and plg_editors-xtd_phocadownload_v2.1.4 and installed them. This time I am seeing lot of database and PHP errors on opening the categories and files pages like

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/sfihome7/public_html/libraries/joomla/database/database/mysqli.php on line 305

I set on the debug feature from global configuration but could'nt understand anything as how to rectify the errors.

As mentioned at https://www.phoca.cz entering below lines in .htaccess could'nt let me login my joomla site administrator

# Displaying PHP errors
php_flag display_errors on
php_value error_reporting 6143.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Getting Database and PHP warnings

Post by Jan »

Hi, you don't need to enable php error reporting as you get php warning. The problem is in database (mostly missing table or column), just enable debug mode in Joomla! configuration to get more info about database error.

Jan
If you find Phoca extensions useful, please support the project
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: Getting Database and PHP warnings

Post by SonRiab »

Post Reply