Foros del Web » Creando para Internet » Sistemas de gestión de contenidos »

Problema con meta.php

Estas en el tema de Problema con meta.php en el foro de Sistemas de gestión de contenidos en Foros del Web. Hola, me aparece este error..... yo creo que modifique mal la meta.php Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/pf000375/public_html/includes/meta.php on ...
  #1 (permalink)  
Antiguo 17/07/2006, 18:58
 
Fecha de Ingreso: mayo-2006
Ubicación: En Jerez, Zacatecas
Mensajes: 126
Antigüedad: 17 años, 11 meses
Puntos: 0
Problema con meta.php

Hola, me aparece este error..... yo creo que modifique mal la meta.php


Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/pf000375/public_html/includes/meta.php on line 20


Me dice que la linea 20 hay un error...
En la linea 20 tengo esto:

echo "<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset="._CHARSET."">n";
Que es lo k esta mal??? alguien que me pueda ayudar¡
  #2 (permalink)  
Antiguo 17/07/2006, 19:51
Avatar de Nefertiter  
Fecha de Ingreso: enero-2003
Ubicación: Rosario
Mensajes: 1.316
Antigüedad: 21 años, 3 meses
Puntos: 9
pone esto

echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset="'._CHARSET.'">\n';
  #3 (permalink)  
Antiguo 17/07/2006, 23:11
 
Fecha de Ingreso: mayo-2006
Ubicación: En Jerez, Zacatecas
Mensajes: 126
Antigüedad: 17 años, 11 meses
Puntos: 0
Problema con meta.php

Tengo un problema con meta.php
[CENTER]me aparece este error:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/pf000375/public_html/includes/meta.php on line 33


<?php
/************************************************** **********************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************** **********************/
if (eregi("meta.php",$PHP_SELF)) {
Header("Location: ../index.php");
die();
}
##################################################
# Include for Meta Tags generation #
##################################################
echo "<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset="._CHARSET."">n";echo "<META HTTP-EQUIV="EXPIRES" CONTENT="0">n";
echo "<META NAME="RESOURCE-TYPE" CONTENT="DOCUMENT">n";
echo "<META NAME="DISTRIBUTION" CONTENT="GLOBAL">n";
echo "<META NAME="AUTHOR" CONTENT="$sitename">n";
echo "<META NAME="COPYRIGHT" CONTENT="Copyright (c) 2002 by $sitename">n";
echo "<META NAME="KEYWORDS" CONTENT="News, news, New, new, Technology, technology, Headlines, headlines, Nuke, nuke, PHP-Nuke, phpnuke, php-nuke, Geek, geek, Geeks, geeks, Hacker, hacker, Hackers, hackers, Linux, linux, Windows, windows, Software, software, Download, download, Downloads, downloads, Free, FREE, free, Community, community, MP3, mp3, Forum, forum, Forums, forums, Bulletin, bulletin, Board, board, Boards, boards, PHP, php, Survey, survey, Kernel, kernel, Comment, comment, Comments, comments, Portal, portal, ODP, odp, Open, open, Open Source, OpenSource, Opensource, opensource, open source, Free Software, FreeSoftware, Freesoftware, free software, GNU, gnu, GPL, gpl, License, license, Unix, UNIX, *nix, unix, MySQL, mysql, SQL, sql, Database, DataBase, Blogs, blogs, Blog, blog, database, Mandrake, mandrake, Red Hat, RedHat, red hat, Slackware, slackware, SUSE, SuSE, suse, Debian, debian, Gnome, GNOME, gnome, Kde, KDE, kde, Enlightenment, enlightenment, Intercative, interactive, Programming, programming, Extreme, extreme, Game, game, Games, games, Web Site, web site, Weblog, WebLog, weblog, Guru, GURU, guru">n";
echo "<META NAME="DESCRIPTION" CONTENT="$slogan">n";
echo "<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">n";
echo "<META NAME="REVISIT-AFTER" CONTENT="1 DAYS">n";
echo "<META NAME="RATING" CONTENT="GENERAL">n";
###############################################
# DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE! #
# YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS. #
###############################################
echo "<META NAME="GENERATOR" CONTENT="PHP-Nuke $Version_Num - Copyright 2002 by http://phpnuke.org">n";
?>
la linea en negritas es la 33, ademas siempre me aparece error en la linea 20 en color rojo.
Que es lo que tengo mal????? Alguien que me pueda ayudar les agradeceria¡

Última edición por jhonys_334; 17/07/2006 a las 23:18
  #4 (permalink)  
Antiguo 18/07/2006, 10:33
Avatar de Nefertiter  
Fecha de Ingreso: enero-2003
Ubicación: Rosario
Mensajes: 1.316
Antigüedad: 21 años, 3 meses
Puntos: 9
flaco si no lees lo q te paso tampoco te puedo ayudar viste...
  #5 (permalink)  
Antiguo 18/07/2006, 19:10
Avatar de elbar
Colaborador
 
Fecha de Ingreso: enero-2004
Ubicación: Buenos Aires
Mensajes: 1.406
Antigüedad: 20 años, 3 meses
Puntos: 8
Subi un meta.php nuevo, sin modificar....
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 02:45.