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.
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.
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.
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.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Filefunctions.php error
Forum Regular
Usergroup: Customer
Joined: Nov 01, 2004
Total Topics: 56
Total Comments: 121
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You're trying to do automated javascript exports, but you didn't chmod the directory correctly as specified in the instructions.
Forum Regular
Usergroup: Customer
Joined: Nov 01, 2004
Total Topics: 56
Total Comments: 121
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Forum Regular
Usergroup: Customer
Joined: Nov 01, 2004
Total Topics: 56
Total Comments: 121
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.