Author Topic: I keep getting errors whenever I try to make a toplist template  (Read 15022 times)

0 Members and 2 Guests are viewing this topic.

Offline nylonfreaks

  • Newbie
  • *
  • Posts: 12
    • View Profile
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?

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1963
    • View Profile
    • Pretty Girls from your city for night
Re: I keep getting errors whenever I try to make a toplist template
« Reply #1 on: July 18, 2009, 05:50:14 AM »
input=INPUT FILE NOT DIRECTORY(template)
output=OUTPUT FILE NOT DIRECTORY(file which U will include later)

Offline nylonfreaks

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: I keep getting errors whenever I try to make a toplist template
« Reply #2 on: September 12, 2009, 06:56:17 AM »
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

Offline nylonfreaks

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: I keep getting errors whenever I try to make a toplist template
« Reply #3 on: September 12, 2009, 07:24:18 AM »
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...?


Quote
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

Offline nylonfreaks

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: I keep getting errors whenever I try to make a toplist template
« Reply #4 on: September 12, 2009, 07:26:12 AM »
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????

Offline nylonfreaks

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: I keep getting errors whenever I try to make a toplist template
« Reply #5 on: September 12, 2009, 09:22:55 AM »
Right... I seem to be getting somewhere now...

Quote
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

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1963
    • View Profile
    • Pretty Girls from your city for night
Re: I keep getting errors whenever I try to make a toplist template
« Reply #6 on: September 14, 2009, 04:52:02 AM »
file can have any extension as long as it exists or if parent directory is chmoded 777. cheers

Offline oil

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
Re: I keep getting errors whenever I try to make a toplist template
« Reply #7 on: September 14, 2009, 06:11:54 PM »
Right... I seem to be getting somewhere now...

Quote
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

Offline nylonfreaks

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: I keep getting errors whenever I try to make a toplist template
« Reply #8 on: September 15, 2009, 08:59:51 AM »
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. :)