View previous topic :: View next topic |
Author |
Message |
Neb -
Joined: 21 Apr 2004 Posts: 28
|
Posted: Mon Apr 26, 2004 8:42 pm Post subject: EasyNews PHP.. |
|
|
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 |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Apr 26, 2004 9:36 pm Post subject: |
|
|
You need to put Register Globals On |
|
Back to top |
|
 |
some random person -
Joined: 06 Oct 2003 Posts: 128 Location: I live here! At my house!
|
Posted: Mon Apr 26, 2004 9:55 pm Post subject: |
|
|
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 |
|
 |
Neb -
Joined: 21 Apr 2004 Posts: 28
|
Posted: Mon Apr 26, 2004 10:32 pm Post subject: ... |
|
|
Where do I go to put Register Globals on? |
|
Back to top |
|
 |
some random person -
Joined: 06 Oct 2003 Posts: 128 Location: I live here! At my house!
|
Posted: Tue Apr 27, 2004 12:54 am Post subject: |
|
|
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 |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Tue Apr 27, 2004 2:15 am Post subject: |
|
|
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 |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Apr 27, 2004 4:38 pm Post subject: Re: EasyNews PHP.. |
|
|
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 |
|
 |
Neb -
Joined: 21 Apr 2004 Posts: 28
|
Posted: Tue Apr 27, 2004 9:04 pm Post subject: .... |
|
|
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 |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Wed Apr 28, 2004 4:06 am Post subject: |
|
|
Does the file it's trying to write to exist? _________________ Bienvenidos! |
|
Back to top |
 |
 |
|