
21/09/2008, 10:03
|
| | Fecha de Ingreso: abril-2006
Mensajes: 12
Antigüedad: 18 años, 10 meses Puntos: 0 | |
Respuesta: Couldn't create new file - Check your paths and filename! Hola,
hice lo que me aconsejaste, y ahora me da estos errores los cuales los he tratado de corregir pero no he podido, de antemano gracias por la ayuda.
------------------------------------------------------------------------------------------------------
Notice: Undefined variable: manual_cron in /home/comercio/public_html/cron_jobs/makesitemap.php on line 13
<?
error_reporting(E_ALL);
ini_set('display_errors', true);
define ('IN_ADMIN', 1); if (!$manual_cron || IN_ADMIN == 1)
{
include_once ('../includes/global.php');
$parent_dir = '../';
}
else
{
$parent_dir = '';
------------------------------------------------------------------------------------------------------
Notice: Undefined index: rewrite_params in /home/comercio/public_html/includes/init.php on line 56
if ($setts['is_mod_rewrite'])
{ $valsArray = explode(",", $_REQUEST['rewrite_params']); $valsCnt = 0;
$count_valsArray = count($valsArray);
while ($valsCnt < $count_valsArray)
{
$_REQUEST[$valsArray[$valsCnt + 1]] = $valsArray[$valsCnt];
$_GET[$valsArray[$valsCnt + 1]] = $valsArray[$valsCnt];
$_POST[$valsArray[$valsCnt + 1]] = $valsArray[$valsCnt];
$valsCnt += 2;
}
----------------------------------------------------------------------------------------------------
Notice: Undefined offset: 1 in /home/comercio/public_html/includes/init.php on line 61
{ $_REQUEST[$valsArray[$valsCnt + 1]] = $valsArray[$valsCnt]; $_GET[$valsArray[$valsCnt + 1]] = $valsArray[$valsCnt];
$_POST[$valsArray[$valsCnt + 1]] = $valsArray[$valsCnt];
$valsCnt += 2;
}
------------------------------------------------------------------------------------------------------
Notice: Undefined index: start in /home/comercio/public_html/includes/init.php on line 108
if (!eregi("swap_offer.php", $_SERVER['PHP_SELF']))
{
$session->unregister("swap_offer_id");
}
if (!eregi("makesitemap.php", $_SERVER['PHP_SELF']))
{
$session->unregister("makesitemap.php");
} $start = abs(intval($_GET['start']));
?>
--------------------------------------------------------------------------------------------------------
Notice: Undefined index: probid_is_seller in /home/comercio/public_html/includes/class_session.php on line 36
Notice: Undefined index: probid_user_id in /home/comercio/public_html/includes/class_session.php on line 36
class session
{
var $vars = array (NULL);
function set($variable, $value)
{
$_SESSION[SESSION_PREFIX.$variable] = $value;
$this->vars[$variable] = $value;
}
function unregister($variable)
{
if (isset($_SESSION[SESSION_PREFIX.$variable]))
{
unset($_SESSION[SESSION_PREFIX.$variable]);
$this->vars[$variable] = NULL;
}
}
function destroy()
{
session_destroy();
}
function value($variable)
{ return $_SESSION[SESSION_PREFIX.$variable];
}
function is_set($variable)
{
return (!empty($_SESSION[SESSION_PREFIX.$variable])) ? TRUE : FALSE;
}
}
?>
----------------------------------------------------------------------------------------------------
Warning: fopen(/home/www62/public_html/sitemap.xml) [function.fopen]: failed to open stream: No such file or directory in /home/comercio/public_html/cron_jobs/makesitemap.php on line 70
Couldn't create new file - Check your paths and filename! $fp = fopen($OutFile, "a") or die("Couldn't create new file - Check your paths and filename!");
$numBytes = fwrite($fp, $output);
fclose($fp);
$counter = $counter + 1;
$post = 1;
------------------------------------------------------------------------------------------------ |