Script Pulse
Trade Pulse => Trade Pulse Support => Topic started by: nylonfreaks on July 17, 2009, 11:28:37 AM
-
I have tried to make my first toplist for inclusion on my site, but whenever I submit I gat the following error.
Warning: fopen(/home/virtual/site1/fst/var/www/html/toplists): failed to open stream: Is a directory in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 248
Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 249
Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 250
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site1/fst/var/www/html/tp/toplist.php:248) in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 262
Can anyone please give me an idea what is wrong?
Also, I find the toplist support pages very difficult to follow. Can anyone give me a step-by-step guide to making my first toplist template?
-
input=INPUT FILE NOT DIRECTORY(template)
output=OUTPUT FILE NOT DIRECTORY(file which U will include later)
-
Thanks for the reply, but it tells me nothing???
I am still getting this error and if I cannot make a toplist and use it, then I cannot see how this script will work for me. :(
I installed it to the letter, the permissions are correct on the 'toplists' directory where the toplists should be written, however ever time I try to add a toplist I get the errors.
I am desperate to get this fixed once and for all. Surely this error should not happen on first install?
Warning: fopen(/home/virtual/site1/fst/var/www/html/toplists): failed to open stream: Is a directory in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 248
Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 249
Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 250
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site1/fst/var/www/html/tp/toplist.php:248) in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 262
-
I saw that the path to my 'input' and 'output' directory was incorrect, so I set it to the 'toplists' directory which has CHMOD 777 permissions, and submitted the template... It came back with these errors.
As a person that just wants to install something, write a toplist and put it on my site, I am finding it hard to understand why this continues to have errors or this kind...?
Warning: fopen(/home/virtual/site1/fst/var/www/html/toplists): failed to open stream: Is a directory in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 143
Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 144
Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 145
Warning: fopen(/home/virtual/site1/fst/var/www/html/toplists): failed to open stream: Is a directory in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 153
Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 154
Warning: fopen(/home/virtual/site1/fst/var/www/html/toplists): failed to open stream: Is a directory in /home/virtual/site1/fst/var/www/html/tp/class.Misc.php on line 316
Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/tp/class.Misc.php on line 317
Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/tp/class.Misc.php on line 318
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site1/fst/var/www/html/tp/toplist.php:143) in /home/virtual/site1/fst/var/www/html/tp/toplist.php on line 180
-
When I click to preview the toplist template, as it does appear in the list for some reason, I get this error :
You don't have permission to access /toplists/ on this server.
But I do??? The permissions are 777????
-
Right... I seem to be getting somewhere now...
input=INPUT FILE NOT DIRECTORY(template)
output=OUTPUT FILE NOT DIRECTORY(file which U will include later)
At no point in the manual or in your quote above does it say HOW you are supposed to name the file. By trial and error over several hours I have finally worked out that it needs a .set extension.
Right! Now to see if I can actually get a toplist working... update later! ;D
-
file can have any extension as long as it exists or if parent directory is chmoded 777. cheers
-
Right... I seem to be getting somewhere now...
input=INPUT FILE NOT DIRECTORY(template)
output=OUTPUT FILE NOT DIRECTORY(file which U will include later)
At no point in the manual or in your quote above does it say HOW you are supposed to name the file. By trial and error over several hours I have finally worked out that it needs a .set extension.
Right! Now to see if I can actually get a toplist working... update later! ;D
TP created the .set file, its nothing where you have to work, just create a
INPUT file f.e. = top.txt, top.tmp, top.bloody, top.whatever,
and a
OUTPUT file = top.html, top.shtml, top.php
you can name the template and the output everything you want, you basically could have saved yourself several hours of trial and error if you would have just READ THE FUCKING MANUAL
-
I did READ the FUCKING MANUAL. Several times. I take it the person who wrote it is not native English, because it does not explain anything very well. Maybe someone should proof read the manual.
I am not an imbecile. I have worked with computers and code for 15 years. I have installed scripts far more complicated than this in the past where the manual HAS been written well. I have also taught English to a high level, so I know how to read, write and spell.
I am also quite capable of explaining something without resorting to insults. I find it is a good rule of thumb when I'm trying to generate business. Maybe you should think about it sometime. :)