• Resolved aluknot

    (@aluknot)


    Hi, i am trying this plugin for the first time and after the installation and then in the Akeeba Backup option i get this warnings

    Warning: array_shift() expects parameter 1 to be array, boolean given in C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore\app\Awf\Text\Text.php on line 242

    Warning: array_shift() expects parameter 1 to be array, boolean given in C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore\app\Awf\Text\Text.php on line 242

    Warning: syntax error, unexpected ‘)’ in Unknown on line 1 in C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore\app\Solo\engine\Platform\Base.php on line 151

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore\app\Solo\engine\Platform\Base.php on line 154

    Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore//app/C:/Inetpub/vhosts/web.sickgamers.net/desarrolloweb.sickgamers.net/wp-content/plugins/akeebabackupcore/helpers/templateswp/media/js/solo/gui-helpers.js) is not within the allowed path(s): (C:/Inetpub/vhosts/web.sickgamers.net\;C:\Windows\Temp\) in C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore\app\Awf\Utils\Template.php on line 120

    Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore//app/C:/Inetpub/vhosts/web.sickgamers.net/desarrolloweb.sickgamers.net/wp-content/plugins/akeebabackupcore/helpers/templateswp/media/js/solo/system.js) is not within the allowed path(s): (C:/Inetpub/vhosts/web.sickgamers.net\;C:\Windows\Temp\) in C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore\app\Awf\Utils\Template.php on line 120

    I didn’t try any option yet, maybe the plugin work perfect but i want to solve this warnings first.

    Sorry for my english and thanks in advance.

    https://wordpress.org/plugins/akeebabackupcore/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nikosdion

    (@nikosdion)

    I believe that you have a hosting configuration issue, as demonstrated by this error message:

    Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore//app/C:/Inetpub/vhosts/web.sickgamers.net/desarrolloweb.sickgamers.net/wp-content/plugins/akeebabackupcore/helpers/templateswp/media/js/solo/system.js) is not within the allowed path(s): (C:/Inetpub/vhosts/web.sickgamers.net\;C:\Windows\Temp\) in C:\Inetpub\vhosts\web.sickgamers.net\desarrolloweb.sickgamers.net\wp-content\plugins\akeebabackupcore\app\Awf\Utils\Template.php on line 120

    This means that your web server is not reporting the correct path of your site to PHP scripts running on it. WordPress will usually work almost fine because it mostly uses hardcoded relative paths. Our software won’t because it needs to detect files. This is necessary for us to provide multiple translations and to have additional features loaded from our software.

    This should be easy for your host to fix. Most likely they are using PHP in CGI or FastCGI modem but they forgot to set cgi.fix_pathinfo=1 in their php.ini file. For background information on this setup please refer to http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis and take a look at this important bullet point under “To install PHP”:

    Set cgi.fix_pathinfo=1. cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. Previously, PHP behavior was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not define PATH_INFO. For more information about PATH_INFO, see the cgi specifications. Setting this value to 1 will cause PHP CGI to fix its paths to conform to the specifications.

    If they already have cgi.fix_pathinfo set to 1 it is possible that their PHP installation returns the wrong path. In this case they need to debug their PHP installation and make sure that __DIR__ inside a subirectory of the site returns the absolute path of the directory the file is located in.

    PS: Your English is just fine and nope, I’m not a native speaker myself 🙂

    Thread Starter aluknot

    (@aluknot)

    Problem solved, thanks for the info!

    Tried this http://stackoverflow.com/a/12669867/2012904

    Plugin Author nikosdion

    (@nikosdion)

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Some warnings after instalation’ is closed to new replies.