Page 1 of 2

Warning: fopen(./config_skins.php): failed to open stream:

Posted: Mon Jul 18, 2005 12:45 pm
by gaogier
what do i do?

Warning: fopen(./config_skins.php): failed to open stream: Permission denied in /home/gaogier/public_html/topsites/admin.php on line 804

Warning: fwrite(): supplied argument is not a valid stream resource in /home/gaogier/public_html/topsites/admin.php on line 805

Warning: fclose(): supplied argument is not a valid stream resource in /home/gaogier/public_html/topsites/admin.php on line 807

Posted: Mon Jul 18, 2005 12:49 pm
by Chris Corbyn
Change the permissions of the file to 777 using FTP and then change your thread title to something meaningful :roll:

Posted: Mon Jul 18, 2005 1:39 pm
by gaogier
didnt work

Posted: Mon Jul 18, 2005 1:45 pm
by Chris Corbyn
What did you do?

Code: Select all

chmod 0777 config_skins.php

Posted: Mon Jul 18, 2005 1:48 pm
by gaogier
i did the buttons oopps lol, i put it back now thanks

please dont lock this coz i might have more problems

Posted: Mon Jul 18, 2005 1:53 pm
by Chris Corbyn
I wouldn't lock a thread without reason :? It's your thread... do with it as you please ;)

Posted: Mon Jul 18, 2005 2:07 pm
by gaogier
i found another problem, how can i make this topsite non votes, i mean go here and this is what i want it to do here

what do i do?

Posted: Mon Jul 18, 2005 3:46 pm
by Chris Corbyn
Could you explain a little better please? Do you mean how do you get your site to the top or do you mean how do you set up voting?

Posted: Mon Jul 18, 2005 3:50 pm
by gaogier
the first like goes to the voting page (gateway page) and the second one that uses the same script dosent, but the second one is modifised but where do i modify as when i try and do it i get loads of errors so i need help

Posted: Mon Jul 18, 2005 4:04 pm
by Chris Corbyn
topsites wrote:To deter cheating, a gateway page has been put up. Click the link below to enter the topsites list.

Posted: Mon Jul 18, 2005 6:01 pm
by gaogier
ya, but its not for voting its the unique hits to the site, not votes

Posted: Wed Jul 20, 2005 6:40 pm
by gaogier
one more prorblem and ill learn php

problem on http://www.runehints.com/topsites/

Code: Select all

Warning: main(/config_skins.php): failed to open stream: No such file or directory in /home/gaogier/public_html/topsites/index.php on line 28
problem on http://runehints.com/topsites/in.php?id=1

Code: Select all

Warning: main(/sources/functions.php): failed to open stream: No such file or directory in /home/gaogier/public_html/topsites/in.php on line 23
problem on http://runehints.com/topsites/admin.php

Code: Select all

Warning: main(/sources/functions.php): failed to open stream: No such file or directory in /home/gaogier/public_html/topsites/admin.php on line 26
thats all i can get on so far but i was playing around in the admin pannel of it and it went like this help! please thanks

Posted: Wed Jul 20, 2005 6:44 pm
by Chris Corbyn
/config_skins.php


That's the root of the sever (i.e. The root mount point) to PHP.

If you want the webroot use a relative path like "./config_skins.php" or "../config_skins.php" ;)

Posted: Wed Jul 20, 2005 6:45 pm
by gaogier
so there is no . in it?

Posted: Wed Jul 20, 2005 7:12 pm
by gaogier
i have tryed to find out this problem on my own, as it happended about 24 hours ago

and i looked on http://www.spoono.com/php/tutorials/tutorial.php?id=31 and it dont tell you