EasyNews PHP..

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Neb
-


Joined: 21 Apr 2004
Posts: 28

PostPosted: Mon Apr 26, 2004 8:42 pm    Post subject: EasyNews PHP.. Reply with quote

I just downloaded and installed a news script, and everything is well except when I post three errors pop up...

.



Warning: fopen(/news/99435347.txt): failed to open stream: No such file or directory in C:\Program Files\Abyss Web Server\htdocs\post.php on line 271

Warning: fputs(): supplied argument is not a valid stream resource in C:\Program Files\Abyss Web Server\htdocs\post.php on line 273

Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\Abyss Web Server\htdocs\post.php on line 274

Don't know what's wrong.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Apr 26, 2004 9:36 pm    Post subject: Reply with quote

You need to put Register Globals On
Back to top View user's profile Send private message Visit poster's website
some random person
-


Joined: 06 Oct 2003
Posts: 128
Location: I live here! At my house!

PostPosted: Mon Apr 26, 2004 9:55 pm    Post subject: Reply with quote

Well I just downloaded it (or at least I think its what you have), and I had to turn registered_globals on. But I only got a problem with that when logging in. Those errors don't appear to be releated to that, or at least I think. What I got out of that is the file 99435347.txt doesn't exsist.
_________________
New image comming soon...

Image hosted by abyss powered website
Image copyright some random person (I made it......)
Abyss > Apache (Meaning abyss is better than apache)
My site powered by abyss->(Undergoing construction)
Back to top View user's profile Send private message
Neb
-


Joined: 21 Apr 2004
Posts: 28

PostPosted: Mon Apr 26, 2004 10:32 pm    Post subject: ... Reply with quote

Where do I go to put Register Globals on?
Back to top View user's profile Send private message
some random person
-


Joined: 06 Oct 2003
Posts: 128
Location: I live here! At my house!

PostPosted: Tue Apr 27, 2004 12:54 am    Post subject: Reply with quote

You have to edit it in your php.ini file. Change register_globals = OFF to register_globals = ON .
_________________
New image comming soon...

Image hosted by abyss powered website
Image copyright some random person (I made it......)
Abyss > Apache (Meaning abyss is better than apache)
My site powered by abyss->(Undergoing construction)
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Tue Apr 27, 2004 2:15 am    Post subject: Reply with quote

Turning back on globals probably won't do much...

"fopen(/news/99435347.txt)" - PHP is trying to open the file "99435347.txt" but it doesn't exist. So... try making it.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Apr 27, 2004 4:38 pm    Post subject: Re: EasyNews PHP.. Reply with quote

Neb,

This is a file/directory creation/opening issue. Have you installed the script correctly. Is there a directory called News inside the script installation directory?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Neb
-


Joined: 21 Apr 2004
Posts: 28

PostPosted: Tue Apr 27, 2004 9:04 pm    Post subject: .... Reply with quote

There is a News folder but I've decided to take it off as a script because it was lagging. It started to work but errors popped up again suddenly, and I've decided to run with another one, and take it step-by-step, to make sure I don't miss anything in particular.
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Wed Apr 28, 2004 4:06 am    Post subject: Reply with quote

Does the file it's trying to write to exist?
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group