• Resolved andrimaan

    (@andrimaan)


    How to fix it?


    2023-03-11 01:02:00.882038 [NOTICE] [2199589] [T0] [127.0.0.1:55824-3#APVH_www.mydog.net.ua:lsapi] [STDERR] PHP Warning: getimagesize(): open_basedir restriction in effect. File(‘ + text[i] + ‘) is not within the allowed path(s): (/home/mydognet/:/tmp:/var/tmp:/opt/alt/php74/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php74/lib/php/) in /home/mydognet/domains/mydog.net.ua/public_html/wp-content/plugins/litespeed-cache/src/media.cls.php on line 673

    2023-03-11 01:02:00.882107 [NOTICE] [2199589] [T0] [127.0.0.1:55824-3#APVH_www.mydog.net.ua:lsapi] [STDERR] PHP Warning: getimagesize(‘ + text[i] + ‘): Failed to open stream: Operation not permitted in /home/mydognet/domains/mydog.net.ua/public_html/wp-content/plugins/litespeed-cache/src/media.cls.php on line 673

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please check your open_basedir setting , make sure your site path is within that path

    Thread Starter andrimaan

    (@andrimaan)

    I think the problem occurred after changing the PHP version on the server from 7.4 to 8.0

    Plugin Support qtwrk

    (@qtwrk)

    I think the error is not related to PHP version , but open_basedir setting.

    Thread Starter andrimaan

    (@andrimaan)

    What should I write in the open_basedir setting?
    If it is empty (by default) or “None”, the error does not disappear.

    Thread Starter andrimaan

    (@andrimaan)

    Maybe this data will help?

    include_path
    .:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php

    session.save_path
    /opt/alt/php81/var/lib/php/session

    Thread Starter andrimaan

    (@andrimaan)

    I was in a hurry. The problem still remains.

    • This reply was modified 2 years ago by andrimaan.
    Plugin Support qtwrk

    (@qtwrk)

    does it work if you set it to none ?

    Thread Starter andrimaan

    (@andrimaan)

    The error remains.

    Thread Starter andrimaan

    (@andrimaan)

    I completely uninstalled the plugin and reinstalled it. I also set all parameters to default. The error is gone.

    • This reply was modified 2 years ago by andrimaan.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘I get the error regularly getimagesize()..’ is closed to new replies.