Author Topic: Warning: realpath() [function.realpath]  (Read 557 times)

miley-w

  • Newbie
  • Posts: 3
Warning: realpath() [function.realpath]
« on: March 09, 2014, 10:59:40 am »
hi how are you? when I add A PODCAST in the field. I see a warning message:

Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 562 is not allowed to access /tmp owned by uid 0 in /wp-content/plugins/powerpress/getid3/getid3.php on line 22

podcast
OK
571936
0

how can I fix it?
I'm using latest version (5.0.5)

thanks

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: Warning: realpath() [function.realpath]
« Reply #1 on: March 10, 2014, 03:42:03 pm »
Two problems, your production web site has "PHP Warnings" enabled, which is not a good thing for security, and the second is safe mode is a relic feature in PHP that no longer exists in newer versions. You need to contact your web hosting to solve this issue, either turn off safe mode and/or disable warnings from being seen publicly.

Also just as alarming is the /tmp folder should be writable, again, something your web hosting will have to resolve.