Support » Fixing WordPress » open_base_dir restriction in effect TinyMCE Advanced

  • I have several WordPress installations/sites running under my domain and have done for quite a long time without problem. They run under both WordPress versions 3.0.1 and 2.8.4

    I can still upload media files and plug-ins within WordPress but when I try and do simple TinyMCE Advanced editor functions such as inserting a hyperlink or an image or a table, etc. I get the following type of error message:

    ————-Error Message———————————–
    Warning: Unknown(): open_basedir restriction in effect. File(/tmp/25454b22bf39c75795851f39d5e347c4) is not within the allowed path(s): (/home/itsnoprobuk/public_html/) in Unknown on line 0

    Warning: Unknown(/tmp/25454b22bf39c75795851f39d5e347c4): failed to open stream: Operation not permitted in Unknown on line 0

    Warning: (null)() [function.include]: Failed opening ‘/tmp/25454b22bf39c75795851f39d5e347c4′ for inclusion (include_path=’.:/usr/share/pear’) in Unknown on line 0

    ————-End of error message———–

    I don’t understand why this is happening now across all WordPress sites I have installed and regardless of the version of WP and how to resolve the issue.

    Can anyone please advise?

    Many thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is a new hack for wordpress and oscommerce that is in circulation. I wrote a guide http://bit.ly/hkhMM8

    Hope that help

    Thread Starter Itsnoprob

    (@itsnoprob)

    Thank you very much for your post.

    I thought initially it was a server settings problem but I can see a hack is the likely cause.

    You kindly outlined precautions to prevent getting the problem. Have you any advice for those that have the problem which either disables their WordPress site or, as in my case, disables certain functions within the WordPress editor (TintMCE Advanced)?

    Many thanks again.

    Well, that is as simple as remove that line from .htaccess that include said file. If you are using only wordpress with default configuration and not permlink [with url rewriting] you probably don’t need .htaccess at all.

    If you are not comfortable with .htaccess, you should as your developer for the same, just deleting that one line from .htaccess will solve the problem for now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘open_base_dir restriction in effect TinyMCE Advanced’ is closed to new replies.