Strict Warnings on PDL File 2.1.8

Phoca modules - support for all Phoca modules except Phoca Gallery modules
tapiochre
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 15 Jul 2011, 15:02

Strict Warnings on PDL File 2.1.8

Post by tapiochre »

Hi there

Using J2.5.24, PDL version 2.1.9 and PDL File Module version 2.1.8 on a PHP 5.4 Apache platform.

Joomla is installed in a sub directory (my normal practice for development)

Instead of the normal File display in the module I get:

Code: Select all

Strict Standards: Only variables should be assigned by reference in /home/sites/mydomain.co.uk/public_html/client/berry/modules/mod_phocadownload_file/mod_phocadownload_file.php on line 22 
This is only one line of many similar lines.

I have followed the guide to set Server Error Reporting to None and have added the error_reporting = E_ALL | E_DEPRECATED entry to my global php.ini file but the warnings persist.

Any other suggestions?

Chris
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Strict Warnings on PDL File 2.1.8

Post by Jan »

Hi, see:
https://www.phoca.cz/documents/50-phoca/ ... tic-method

did you restart the apache after making changes to php.ini?

Jan
If you find Phoca extensions useful, please support the project
tapiochre
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 15 Jul 2011, 15:02

Re: Strict Warnings on PDL File 2.1.8

Post by tapiochre »

Yes... 1 month on, problem still present! I ended up using an error_reporting(0) in the file. :(
Post Reply