• Resolved theconsul

    (@theconsul)


    I have this annoying error in my gallery

    some articles have a gallery and with some i have an error and others i dont

    the error function.rename]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/w9072318/:/tmp:/usr/local/lib/php/

    another one in same gallery: function.rename]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/w9072318/:/tmp:/usr/local/lib/php/)

    I have looked in the forums but i did not find a suitable solution

    Anybody has an idea?

    Thanks in advance

    Roger

Viewing 10 replies - 1 through 10 (of 10 total)
  • Your solution is here:
    https://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths

    By the way.. I’d edit your question.. and replace the stuff between /home/ and /:/tmp with some capital X’s. That part of your directory path is sensitive.

    Thread Starter theconsul

    (@theconsul)

    you are right, kinda dumb of me

    Thx for the link, i’ll check it out, the only thing that is withholding me to alter some settings or code is that some products/articles have this error and some don’t.

    Okay.. lemme dig a little more ??

    Thread Starter theconsul

    (@theconsul)

    could it be some theme error since the last part of the error is: content/themes/sistina/core/yit/Image.php on line 540

    Possible. Have you tried switching to the default WordPress theme just to see if the error persists?

    Thread Starter theconsul

    (@theconsul)

    stupid me, it is a theme error, when i switch to a standard one, the error seems gone

    i already addressed the thememaker with this issue, but they cannot find a solution.

    The theme developers cannot find a solution? Odd…

    Well, my guess would be it has something to do with that “Image.php” file. Is it a premium theme… or a free theme available from WordPress?

    Thread Starter theconsul

    (@theconsul)

    Premium

    they ask me to turn the plugins on and off and stuff, but i tested it all already

    But the error links directly to a theme file??

    Do me a favor, copy and past the entire contents of that file into a pastebin for me.

    Post the link here, and I’ll take a quick look.

    Thread Starter theconsul

    (@theconsul)

    believe it or not,

    it is solved

    in the previous theme i did not have problems with images, in the new theme i do have issues.

    For certain products i used .bmp extensions and not .jpg and that caused the errors

    It was just by accident that i saw that.

    Thank you for thinking with me, but almost everything is ok now.

    Roger

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘open_basedir restriction in effect’ is closed to new replies.