Note that there are some explanatory texts on larger screens.

plurals
  1. POopen_basedir restriction in effect on a javascript file
    primarykey
    data
    text
    <p>I am getting an "open_basedir restriction in effect" on a testing site, but when asking the server directly for a javascript file, what has no sense noway.</p> <blockquote> <p>"Warning: Unknown: open_basedir restriction in effect. File(/var/www/mywebsite/logs/php.err) is not within the allowed path(s): (/var/www/clients/client2/web7/web:/var/www/clients/client2/web7/tmp:/var/www/mywebsite/web:/srv/www/mywebsite/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin) in Unknown on line 0"</p> </blockquote> <p>I used to have an entry like this on the .htaccess file:</p> <pre><code>php_value error_log /var/www/mywebsite/logs/php.err </code></pre> <p>But I have removed it, I have also restart the apache server, and even reboot the whole machine, but the error still persist.</p> <p>To be sure, I even doing a find/grep within /var/www/mywebsite/ and /etc/apache2, and the php.err file is not used in no file:</p> <pre><code>find /var/www/mywebsite/ -type f -exec grep -i php.err {} \; find /etc/apache2/ -type f -exec grep -i php.err {} \; </code></pre> <p>Both without any output (no matches).</p> <p>So the error does not have sense, even within PHP scripts. But the weirdest thing is that it does not happen with PHP files, but with JAVASCRIPT ONES.</p> <p>I am trying to directly open:</p> <pre><code>http://mywebsitedomain/js/slider-nojq.js </code></pre> <p>And getting the error showed at the first line of code of the file slinder-nojq.js file.</p> <p>Of course I have checked that there is no such line hardcoded within that file.</p> <p>So, I have no remote idea of why I am getting this error.</p> <p>Any ideas?</p> <p>Best regards,</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload