when ever i access a local website i get this error message below in the browser viewpoint:Warning: chmod(): Operation not permitted in /opt/lampp/htdocs/hottubsandportablespas/content/classes/class.ddm_view.php on line 687

My first thought was file permissions. So i tried changing the owner of "class.ddm_view.php" file and it's parent folder to "daemon": apache uses "daemon" for its user and group. And i changed the rights of course to rw for user and group. I also tried "nobody", and "root" but the error messages persist.

the "php_error_log" show the same error message:PHP Warning: chmod(): Operation not permitted in /opt/lampp/htdocs/hottubsandportablespas/content/classes/class.ddm_view.php on line 687

also on a side note. I attempted just to turn off the php errors. I course I know that turning off php errors will not fix the issue.in the php.ini file i explicitly turn off display_errors and display_startup_errors but the error message still appears?