solved php error?

ukdenny
@ukdenny
10 years ago
304 posts
Does anyone know the cause of this and how to fix it please?
[09-Mar-2014 11:55:14] PHP Warning: chmod() [function.chmod]: Operation not permitted in /home/mydreams/public_html/soundblitzrecords.com/include/jamroom-misc.inc.php on line 8489
updated by @ukdenny: 12/29/14 09:14:37AM
brian
@brian
10 years ago
10,148 posts
You can ignore this - it's a PHP warning and should not affect your site's functionality. The root cause is that there is a file that is NOT owned by the web user that it tried to "chmod" (change mode - i.e. change permissions on) and since the web user does not own the file, you will get this warning.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
ukdenny
@ukdenny
10 years ago
304 posts
Thanks Brian
ukdenny
@ukdenny
10 years ago
304 posts
Is this other PHP error the same and want's ignoring?
[11-Mar-2014 10:53:25] PHP Warning: ini_restore() has been disabled for security reasons in /home/mydreams/public_html/soundblitzrecords.com/include/jamroom-misc.inc.php on line 7528
brian
@brian
10 years ago
10,148 posts
ukdenny:
Is this other PHP error the same and want's ignoring?
[11-Mar-2014 10:53:25] PHP Warning: ini_restore() has been disabled for security reasons in /home/mydreams/public_html/soundblitzrecords.com/include/jamroom-misc.inc.php on line 7528

Yes - you can ignore that, although it's weird that it has been disabled for "security reasons" - I'm not sure of any security implications for being able to restore an ini setting to it's default.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
ukdenny
@ukdenny
10 years ago
304 posts
Would it have been disabled by my server provider?
brian
@brian
10 years ago
10,148 posts
ukdenny:
Would it have been disabled by my server provider?

Yes - they would have disabled it. It's not something you can do from your account.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
ukdenny
@ukdenny
10 years ago
304 posts
Thanks, I will ask them why.
ukdenny
@ukdenny
10 years ago
304 posts
This is the reply from my host:-

On our shared servers, that function is disabled for security reasons (among other functions). That function lets you override our disabled functions, which we obviously do want to allow.
brian
@brian
10 years ago
10,148 posts
ukdenny:
This is the reply from my host:-

On our shared servers, that function is disabled for security reasons (among other functions). That function lets you override our disabled functions, which we obviously do want to allow.

Then you'll just want to ignore that PHP warning - that's why you are getting it.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags