--------------------------------------------------------------------------------
ho installato per prova sul mio sito shop script free....riesco ad utilizzarlo appieno anche se su ogni pagina mi compare sempre questa fastidiosa scritta:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/pear/./templates/tmpl1//./templates/tmpl1/index.tpl.html) is not within the allowed path(s): (/usr/share/php/:/tmp/:/var/www/netsons.org/itinerarimondo/:/var/lib/php5/) in /var/www/netsons.org/itinerarimondo/catalogo/smarty/core/core.get_include_path.php on line 34
da novello ho capito che open_basedir è ristretto pertanto in un file (ma non so quale. forse core.get_include_path.php??) la path non è stata riscritta correttamente e sta cercando un file sul server (forse cerca ./templates/tmpl1/index.tpl.html??) anzichè sul mio sito.
devo modificare core.get_include_path.php? dico bene? ma che ci devo scrivere?
ecco il codice richiamato da linea 33 a linea 36:
foreach ($_path_array as $_include_path) {
if (file_exists($_include_path . DIRECTORY_SEPARATOR . $params['file_path'])) {
$params['new_file_path'] = $_include_path . DIRECTORY_SEPARATOR . $params['file_path'];
return true;
a me basterebbe anche solo che quell'errore non venisse visualizzato, se poi si risolve meglio ancora!
dal supporto di shop script mi hanno scritto "One way to solve the problem is to include your home directory path in the path list that PHP is allowed to open, specified by open_basedir. For example, the following setting indicates that PHP script can read files located in /home/vhosts, /usr/share/php/pear/ and /tmp folders:
open_basedir =/home/vhosts:/usr/share/php/pear/:/tmp"
il problema è che non posso modificare le impostazioni di php del server!!!
ho installato per prova sul mio sito shop script free....riesco ad utilizzarlo appieno anche se su ogni pagina mi compare sempre questa fastidiosa scritta:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/pear/./templates/tmpl1//./templates/tmpl1/index.tpl.html) is not within the allowed path(s): (/usr/share/php/:/tmp/:/var/www/netsons.org/itinerarimondo/:/var/lib/php5/) in /var/www/netsons.org/itinerarimondo/catalogo/smarty/core/core.get_include_path.php on line 34
da novello ho capito che open_basedir è ristretto pertanto in un file (ma non so quale. forse core.get_include_path.php??) la path non è stata riscritta correttamente e sta cercando un file sul server (forse cerca ./templates/tmpl1/index.tpl.html??) anzichè sul mio sito.
devo modificare core.get_include_path.php? dico bene? ma che ci devo scrivere?
ecco il codice richiamato da linea 33 a linea 36:
foreach ($_path_array as $_include_path) {
if (file_exists($_include_path . DIRECTORY_SEPARATOR . $params['file_path'])) {
$params['new_file_path'] = $_include_path . DIRECTORY_SEPARATOR . $params['file_path'];
return true;
a me basterebbe anche solo che quell'errore non venisse visualizzato, se poi si risolve meglio ancora!
dal supporto di shop script mi hanno scritto "One way to solve the problem is to include your home directory path in the path list that PHP is allowed to open, specified by open_basedir. For example, the following setting indicates that PHP script can read files located in /home/vhosts, /usr/share/php/pear/ and /tmp folders:
open_basedir =/home/vhosts:/usr/share/php/pear/:/tmp"
il problema è che non posso modificare le impostazioni di php del server!!!