WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Filefunctions.php error

Version: 3.14
printPrint


Filefunctions.php error
fuee
Forum Regular

Usergroup: Customer
Joined: Nov 01, 2004
Total Topics: 56
Total Posts: 121
Posted 03/04/05 - 01:40 PM:
quote post
#1
Warning: fopen(javascript/): failed to open stream: Permission denied in /home/sitename/public_html/filefunctions.php on line 148

Warning: fwrite(): supplied argument is not a valid stream resource in /home/sitename/public_html/filefunctions.php on line 149

Warning: fwrite(): supplied argument is not a valid stream resource in /home/sitename/public_html/filefunctions.php on line 150

Warning: fclose(): supplied argument is not a valid stream resource in /home/sitename/public_html/filefunctions.php on line 151

I went to my site and saw this, I dont know whats wrong with it. If I refresh the page then it disappears. It has happened before but this time I figure its best to ask the forum and see if anyone knows what the above code means and how I can fix the problem.

Thanks again,
Fuee
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 03/04/05 - 11:31 PM:
quote post
#2
You're trying to do automated javascript exports, but you didn't chmod the directory correctly as specified in the instructions.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
fuee
Forum Regular

Usergroup: Customer
Joined: Nov 01, 2004
Total Topics: 56
Total Posts: 121
3 of 3 people found this post helpful
Posted 03/06/05 - 02:40 PM:

quote post
#3
Hi Paul,
I did try to set up javascript export for one of my top list but I couldnt get it right. I deleted the javascript file, and eliminated anything associated with my attempt to export my top list. Is there something else I need to turn off or do to prevent the filefunctions error from occuring again. May eb I missed something.

Thanks again Fuee
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 03/06/05 - 10:08 PM:
quote post
#4
Go to your admin panel and click 'Javascript Export'. Does it show anything in the two boxes? Could be just a stray line break (blank line) or something.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
fuee
Forum Regular

Usergroup: Customer
Joined: Nov 01, 2004
Total Topics: 56
Total Posts: 121
Posted 03/07/05 - 08:02 AM:
quote post
#5
This was in my javascript export page:

In the first box:
<script language="javascript" src="http://yoursite.com/wsnlinks/javascript/yourname.js"></script>

In the second box:
'nothing'

May be I need to create a javascript folder in my root directory? I dont think the javascript folder was ever created upon WSNlinks installation.

Thanks,
Fuee
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 03/07/05 - 10:06 PM:
quote post
#6
Having that random content there certainly explains your errors. Please read the instructions written above each box. Does what you wrote look like a toplist config line on top and a file name on the bottom to you?

May be I need to create a javascript folder

Well, regardless of your initial install, if you've followed upgrade instructions for any semi-recent version then you've uploaded the javascript directory already. When it says to upload everything except the templates directory, that naturally includes all the other directories.

Edited by Paul on 03/07/05 - 10:09 PM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.