open_basedir restriction in effect ?? - PHP - Programmation
Marsh Posté le 05-06-2006 à 16:22:36
Au fait la fonction "content" du script est là ...
function content($what) {
global $webedit_url, $webedit_version, $webedit_dir, $webedit_language, $editor;
static $i = 0;
if ($i == 0 && check_user()) echo "
<script language=\"JavaScript\">
<!--
function webed(content) {
window.open('$webedit_url/edit.php?content=' + content,'editwin','resizable=yes,width=620,height=400');
}
Marsh Posté le 05-06-2006 à 16:27:07
dann a écrit : Petit souci sur un script Php depuis plusieurs jours chez Free ... |
Verif y'a 30sec : j'suis toujours sur 4
Il n'y a que les *.php5 qui sont sur php5
d'ailleurs :
Citation : |
Le probeme vient pas de la version de php
Tu fais comment tes includes ?
Marsh Posté le 05-06-2006 à 16:32:18
Merci. J'avais même pas vu le "php4" ...
<?
include "webe***/config.inc.php";
content("date_cap1" );?>
Marsh Posté le 05-06-2006 à 16:33:34
<?
include "config.inc.php";
include "$web***_language.inc.php";
Marsh Posté le 05-06-2006 à 17:14:14
J'ai trouvé merci.
J'ai du refaire le setup du script : perte de l'adresse "full path" donc des includes aussi ...
Marsh Posté le 05-06-2006 à 16:20:26
Petit souci sur un script Php depuis plusieurs jours chez Free ...
usr/php4/lib/php') in /mnt/113/sdb/3/2/form***/web***/config.inc.php on line 46
Suite apparement à un changement de version Php (5) chez eux ...
Ce script fonctionnait super depuis 2 ans
une idée du problème ?
Infos : j'ai recopié les données erreur en changeant juste l'adresse du site par des ***....
Merci de votre aide. Dann
Warning: content() [function.content]: open_basedir restriction in effect. File(/var/www/free.fr/3/2/form***//webe***/french.inc.php) is not within the allowed path(s): (/mnt/113/sdb/3/2/form***) in /mnt/113/sdb/3/2/form***/webe***/config.inc.php on line 46
Warning: content(/var/www/free.fr/3/2/form***//webe***/french.inc.php) [function.content]: failed to open stream: Operation not permitted in /mnt/113/sdb/3/2/form***/webe***/config.inc.php on line 46
Warning: content() [function.include]: Failed opening '/var/www/free.fr/3/2/form***//webe***/french.inc.php' for inclusion (include_path='/mnt/113/sdb/3/2/form***/include:.