• Resolved kacper3355

    (@kacper3355)


    Hi. I’ve been testing a lot of url shortening plugins recently and I decided to settle with yours. However, when I activae it, im getting the following errors:

    Warning: PharData::__construct(): open_basedir restriction in effect. File(/path-my-hosting) is not within the allowed path(s): (/path/.tmp/:/www/public/:/usr/local/lsws/share/autoindex:/usr/local/php/:/dev/urandom) in /public_html/wp-content/plugins/url-shortify/lite/includes/Install.php on line 774
    
    Warning: PharData::__construct(): open_basedir restriction in effect. File(/home) is not within the allowed path(s): (//.tmp/:/demonek/www/public//:/usr/local/lsws/share/autoindex:/usr/local/php/:/dev/urandom) in /home/public_html/wp-content/plugins/url-shortify/lite/includes/Install.php on line 774
    
    Warning: PharData::__construct(): open_basedir restriction in effect. File(/home/) is not within the allowed path(s): (/.tmp/://www/public//:/usr/local/lsws/share/autoindex:/usr/local/php/:/dev/urandom) in /public_html/wp-content/plugins/url-shortify/lite/includes/Install.php on line 774
    
    Warning: PharData::__construct(): open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/.tmp/://www/public//:/usr/local/lsws/share/autoindex:/usr/local/php/:/dev/urandom) in /public_html/wp-content/plugins/url-shortify/lite/includes/Install.php on line 774
    
    Warning: PharData::__construct(): open_basedir restriction in effect. File(/home/) is not within the allowed path(s): (/home/.tmp/://www/public//:/usr/local/lsws/share/autoindex:/usr/local/php/:/dev/urandom) in /public_html/wp-content/plugins/url-shortify/lite/includes/Install.php on line 774
    
    Warning: PharData::__construct(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/.tmp/:/demonek/www/public//:/usr/local/lsws/share/autoindex:/usr/local/php/:/dev/urandom) in /public_html/wp-content/plugins/url-shortify/lite/includes

    I tried the plugin on two sites – I’m getting the same error everywhere. Could you please fix it?

    Thanks,
    Kacper

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter kacper3355

    (@kacper3355)

    I forgot to mention – I recently switched to PHP 8.0.3 and I think that might be the problem. Can you take a look at that?

    Plugin Author Mike L

    (@mikeatkaizencoders)

    Hi,

    Sorry for the inconvenience you had.

    We will check and let you know.

    open_basedir is a php.ini setting limiting the files PHP can open to certain paths.

    So, if you have set it up, either set the correct path there or do not define it.

    Hope that helps.

    Thread Starter kacper3355

    (@kacper3355)

    I just reverted back to PHP 7.3 and the problem is still there. I used your plugin a week or two ago and everything was working fine, so I presume the latest update might have broken something.

    I never changed anything in php.ini on any of my sites. I can give you access to one of my test sites (used just for testing purposes, meaning you don’t have to worry about breaking anything) so you can inspect the issues on your own. If that would help, please let me know where I can send login details.

    Best,
    Kacper

    Plugin Author Mike L

    (@mikeatkaizencoders)

    Hi,

    Ok. Let us check on this.

    Please send us credentials on hello[at]kaizencoders[dot]com

    Thread Starter kacper3355

    (@kacper3355)

    Sent. Please check your email.

    Plugin Author Mike L

    (@mikeatkaizencoders)

    Hi Kacper,

    Marking this ticket as resolved as an issue is fixed with URL Shortify 1.4.4

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘A lot of errors after installation’ is closed to new replies.