Foros del Web » Programando para Internet » PHP »

Problema con script

Estas en el tema de Problema con script en el foro de PHP en Foros del Web. Tengo un problema al instalar un script hecho de paginacion de noticias es el fusionnews v.3.6.1 y al poner todo la carpeta upload me da ...
  #1 (permalink)  
Antiguo 02/03/2006, 10:29
Borjimante
Invitado
 
Mensajes: n/a
Puntos:
Problema con script

Tengo un problema al instalar un script hecho de paginacion de noticias es el fusionnews v.3.6.1 y al poner todo la carpeta upload me da este fallo:

Cita:
Warning: main(news/news.php): failed to open stream: No such file or directory in /www/sites/1/iespana.es/t/o/todojuegos-web/site/index.php on line 47

Warning: main(): Failed opening 'news/news.php' for inclusion (include_path='.:/www/usr/lib/php') in /www/sites/1/iespana.es/t/o/todojuegos-web/site/index.php on line 47
He revisado la linea 47 y lo unico que pone en esa linea es este include:

Cita:
<?php include "news/news.php";?>
Por que tengo este problema ayudarme por favor.
  #2 (permalink)  
Antiguo 02/03/2006, 10:42
Avatar de carlosfocus  
Fecha de Ingreso: enero-2006
Ubicación: Venezuela
Mensajes: 823
Antigüedad: 18 años, 3 meses
Puntos: 0
Verifica si existe el directorio NEWS y el archivo NEWS.php
__________________
Carlos Herrera
Web Developer
www.carlos.com.ve
Para descargar archivos propios a su Teléfono Mobil? www.carlosfocus.com
  #3 (permalink)  
Antiguo 02/03/2006, 10:42
Borjimante
Invitado
 
Mensajes: n/a
Puntos:
y como se hace eso?
  #4 (permalink)  
Antiguo 02/03/2006, 10:46
Avatar de carlosfocus  
Fecha de Ingreso: enero-2006
Ubicación: Venezuela
Mensajes: 823
Antigüedad: 18 años, 3 meses
Puntos: 0
Entra en tu FTP y busca alguna carpeta NEWS y verifica si dentro esta el archivo NEWS.php
__________________
Carlos Herrera
Web Developer
www.carlos.com.ve
Para descargar archivos propios a su Teléfono Mobil? www.carlosfocus.com
  #5 (permalink)  
Antiguo 02/03/2006, 10:52
Borjimante
Invitado
 
Mensajes: n/a
Puntos:
no estaba la he creado no e puesto nada pero me sigue diciendo el mismo mensaje

Cita:
Warning: main(news/news.php): failed to open stream: No such file or directory in /www/sites/1/iespana.es/t/o/todojuegos-web/site/index.php on line 47

Warning: main(): Failed opening 'news/news.php' for inclusion (include_path='.:/www/usr/lib/php') in /www/sites/1/iespana.es/t/o/todojuegos-web/site/index.php on line 47
Por q me sigue diciendo eso si si existe el archivo?

Y como hago para poner las noticias en ella?
  #6 (permalink)  
Antiguo 02/03/2006, 10:58
Avatar de carlosfocus  
Fecha de Ingreso: enero-2006
Ubicación: Venezuela
Mensajes: 823
Antigüedad: 18 años, 3 meses
Puntos: 0
Estas seguro que estra dentro de la carpeta SITE? por que deberia estar ahi si no me equiboco

y que sistema es ese?
__________________
Carlos Herrera
Web Developer
www.carlos.com.ve
Para descargar archivos propios a su Teléfono Mobil? www.carlosfocus.com
  #7 (permalink)  
Antiguo 02/03/2006, 11:05
Borjimante
Invitado
 
Mensajes: n/a
Puntos:
Mira estos son los archivos q tengo alojados en el servidor mira haber si esta todo correcto

  #8 (permalink)  
Antiguo 02/03/2006, 11:16
Avatar de carlosfocus  
Fecha de Ingreso: enero-2006
Ubicación: Venezuela
Mensajes: 823
Antigüedad: 18 años, 3 meses
Puntos: 0
tienes que hace rel include asi

upload/news.php

Que sistema es ese disculpa?
__________________
Carlos Herrera
Web Developer
www.carlos.com.ve
Para descargar archivos propios a su Teléfono Mobil? www.carlosfocus.com
  #9 (permalink)  
Antiguo 02/03/2006, 11:21
Borjimante
Invitado
 
Mensajes: n/a
Puntos:
muy bien ya no hay ningun fallo pero aora tengo dudas sobre como poner las noticias en el script
  #10 (permalink)  
Antiguo 02/03/2006, 11:33
Avatar de carlosfocus  
Fecha de Ingreso: enero-2006
Ubicación: Venezuela
Mensajes: 823
Antigüedad: 18 años, 3 meses
Puntos: 0
Amigo que sistemas estas usando? debe existir un archivo que se llame admin.php o una carpeta admin si es un script pre-programador, verifica algun archivo que se llame REDME.HTML o LEE.TXT o algo parecido
__________________
Carlos Herrera
Web Developer
www.carlos.com.ve
Para descargar archivos propios a su Teléfono Mobil? www.carlosfocus.com
  #11 (permalink)  
Antiguo 02/03/2006, 11:37
Borjimante
Invitado
 
Mensajes: n/a
Puntos:
si en el archivo existe un readme pero no pone nada sobre poner las noticias el archivo readme dice esto:

Cita:


Welcome and thanks for downloading Fusion News 3.6.1


License
Copyright © 2003 FusionPHP.net

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, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

ALSO

You cannot sell part, or the whole, of it's code. You cannot claim part or the whole of it's code to be yours. The copyright notice in the admin panel must stay instact. Further more Fusion News starting from 3.6 is now released under de GNU GPL license, please read the license.txt file included in the zip root. You MUST agree do this license and the GNU GPL license to use this script in any way.
w h a t ' s :: n e w ?
- Enhanced upload feature.
- RSS support (simplified XML).
- Option to use sessions or cookies to login.
- Enhanced headlines:
- Choose if the link goes directly to fullstory or not.
- There can be more headlines then newsitems shown, in this case the headline link is automaticly directed to the fullstory.
- Show shortnews in fulstory template.
- {fullstory} tag in comments template now shows the fullstory news instead of the link.
- {news} has been split into {shortnews} and {fullnews} in news and archive template.
- Post per day {date} is now formatted as "Thursday, April 24 2003". (You can translate the months in your language.db file)
- Some user statistics added on welcome screen (just to show some more plugin power :) )
- Enhanced installer script.
- When editing news you can now edit your icon too.
- Also you can now edit the date/time :)
- FULL php/ssi support in headers/footers and templates.
- Added an extensive readme file to the zipfile.
- Support added for most FREE hosting sites.
- Change your own profile.
- Fixed most addressed bugs.

f e a t u r e s
- Very fast flatfile database (NO MySQL needed)
- Post news with optional use of smillies and bbcode.
- A news post consists of: Name, email, subject, shortnews, fullnews.
- An extensive comment feature which can be optionally used.
- Total smillie control in the control panel.
- Unlimited users can be added with a choice of 3 userlevels.
- Send to friend option.
- Anti flood option for comments.
- Comments are protected from people who want to impersonate you.
- Wordwrap feature for news aswell for comments.
- Impressive online control panel.
- Multiple languages supported.
- All features are template enabled.

H o w :: t o :: i n s t a l l
Make a backup of your previous Fusion News installation, if any.

The installation has yet again been improved by using an improved installer script. All you have to do is upload all files that are in the subfolder "upload" of this zip package, to a folder (eg. "news") on your server. Then CHMOD this "news" folder to 777. Now run the installer script (installer.php) from that location and install Fusion News.

The installer will guide you through CHMODding and configuring the script.

NOTE: Don't forget to delete the installer.php and db_convertor.php(if your not going to use it) files from your fusion news folder after installation. Otherwise anyone could reinstall Fusion News and gain access to it.

H o w :: t o :: g e t :: n e w s :: o n :: y o u r :: s i t e
You have two options. You can use the PHP or SSI include code.

PHP include code:

Insert this code where you want the news to appear.
it can be in your index or main....etc


<?php include "news/news.php";?>

Change news if needed

Now, make sure that the file where you inserted the
include code has a .php extension

Example: If you inserted the code in your index.html you need to rename it to index.php

-------------------------------------------------------------------

SSI include code:

You can also use the SSI include code to make the news
Show up on your website.

Insert this code where you want the news to appear.

<!--#include virtual="news/news.php" -->


as with the PHP include code. You need to rename the file where you insert the include code to .shtml

Example: if you inserted the code in your index.html file, you need to rename your index.html file to index.shtml

-------------------------------------------------------------------





The same goes for headlines.php.

To show your archive, just link to "http://www.yourdomain.net/to/your/fusionpath/archive.php". The archive uses your Fusion News header and footer.

Offcours you can use <iframe> or javascript too

U p g r a d e :: f r o m :: 3.51
1. The first thing you need to do is, Install fusion news 3.6.1
Follow the intructions above.
2. The next step download the news.db and comments.db.php files from your fusion news 3.51 folder.
3. Now upload those files to the folder where you have the 3.6 files.
4. The final step is to run the db_convertor.php file that was included witht the 3.6.1 files.
Example: http://www.yoursite.com/subfolder/db_convertor.php

Once you run the converter, it will convert your news and comments,
and after it is done, you can go back to the index.php


NOTE: Don't forget to delete news.db, comments.db.php and db_convertor.php from your fusion news folder or else anyone could run the convertor at any time.

U p g r a d e :: f r o m :: 3.6.0
1. Backup your Fusion News 3.6 folder.
2. Then Install fusion news 3.6.1.
Follow the intructions above.
3. Put smillies.db, users.php and your full news subfolder in the new
3.6.1 folder, overwriting the default files.

s u p p o r t
For your convinience we over many ways of support for our scripts. May we ask to use the email feature as a last resort or for some special request. Most of the questions you'll have have probably been put in the FAQ or manual or asked in the support forum which means you'll have an instant answer to your questions. E-mail can take longer :).



  #12 (permalink)  
Antiguo 02/03/2006, 11:43
Avatar de carlosfocus  
Fecha de Ingreso: enero-2006
Ubicación: Venezuela
Mensajes: 823
Antigüedad: 18 años, 3 meses
Puntos: 0
Now run the installer script (installer.php)

Ahora ejecute el Script Instalador installer.php

es decir tienes que correr ese script para poder instalar tu sistema de noticias, ahi el te pide unos datos los cuales creo que son faciles

Saludos.
__________________
Carlos Herrera
Web Developer
www.carlos.com.ve
Para descargar archivos propios a su Teléfono Mobil? www.carlosfocus.com
  #13 (permalink)  
Antiguo 02/03/2006, 12:33
Borjimante
Invitado
 
Mensajes: n/a
Puntos:
Ok ya debe de faltar poko me puedes decir que hay que poner en estos 2 campos?

  #14 (permalink)  
Antiguo 02/03/2006, 12:36
Avatar de carlosfocus  
Fecha de Ingreso: enero-2006
Ubicación: Venezuela
Mensajes: 823
Antigüedad: 18 años, 3 meses
Puntos: 0
Dejalos asi si quieres
__________________
Carlos Herrera
Web Developer
www.carlos.com.ve
Para descargar archivos propios a su Teléfono Mobil? www.carlosfocus.com
  #15 (permalink)  
Antiguo 02/03/2006, 12:38
Borjimante
Invitado
 
Mensajes: n/a
Puntos:
ya me he dado como administrador de las noticias aora como hago para acceder a la sesion y publicar mis noticias
  #16 (permalink)  
Antiguo 02/03/2006, 12:46
Borjimante
Invitado
 
Mensajes: n/a
Puntos:
dejalo ya he dado con ello muchas gracias por ayudarme ha instalar las noticias muchas gracias
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 12:04.