Hosting company:
URL of phpinfo.php: http://www.karrtorp.se/info.php
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I can login to the script (pass= 4dm1n) but when I add a link I get a 403 forbidden message on index.php? which is werid since index.php works fine.
I have no idea on how to proceed...
I'd appreciate all help!! http://www.karrtorpcentrum.se/ccount11/post.php
http://www.karrtorpcentrum.se/ccount11/post2.php
the phpinfo file is it the same as:
http://www.karrtorpcentrum.se/info.php
and I don't know what the session_test thing is? http://www.karrtorpcentrum.se/ccount11/phpinfo.php
http://www.karrtorpcentrum.se/ccount11/session_test.php
http://www.karrtorpcentrum.se/ccount11/ ... _test2.php
I've only tried chmoding the folder to 777 but that's it (I'm new at php). 1. open index.php in a plain text editor (Notepad)
2. DELETE all instances of code

Code: Select all

?<?php echo strip_tags (SID)?>
Should be several times inside the index.php file.
3. save, upload to the server
4. close ALL broswer windows and try if it helped Except the SID in this part:
<td algin=\"center\" valgin=\"center\" class=\"first\"><a href=\"index.php?".SID."&action=remove&id=$id\" onclick=\"return doconfirm('Are you sure you want to remove link ID $id? This cannot be undone!');\"><img src=\"delete.gif\" height=\"14\" width=\"16\" border=\"0\" alt=\"Remove this link\"></a>
<a href=\"index.php?".SID."&action=reset&id=$id\" onclick=\"return doconfirm('Are you sure you want to reset clicks for link ID $id to 0? This cannot be undone!');\"><img src=\"reset.gif\" height=\"14\" width=\"16\" border=\"0\" alt=\"Reset number of clicks to 0\"></a></td>
because I wasn't sure I should
So now I received a new error...
When I submit a link I get this:
Warning: filesize() [function.filesize]: Stat failed for http://www.karrtorpcentrum.se/ccount11/ids.txt (errno=2 - No such file or directory) in /home/karrtorp/public_html/ccount11/index.php on line 179
Warning: fread() [function.fread]: Length parameter must be greater than 0. in /home/karrtorp/public_html/ccount11/index.php on line 179
Warning: fopen( http://www.karrtorpcentrum.se/ccount11/ids.txt ) [function.fopen]: failed to open stream: HTTP wrapper does not support writeable connections. in /home/karrtorp/public_html/ccount11/index.php on line 183
Can't open the id file ( http://www.karrtorpcentrum.se/ccount11/ids.txt ) for reading!
I have uploaded a write and read.php both say ids.txt is write and readable
http://www.karrtorpcentrum.se/ccount11/write.php
http://www.karrtorpcentrum.se/ccount11/read.php
Again, the password is 4dm1n if you want to submit a link and see what happens...
In settings.php what setting have you got for logfile and idfile? Should be exactly like this:

Code: Select all

// Name of the log file
$settings['logfile']="clicks.txt";
// Name of the file where last ID number is stored
$settings['idfile']="ids.txt";
I think you have

Code: Select all

// Name of the log file
$settings['logfile']="http://www.karrtorpcentrum.se/ccount11/clicks.txt";
// Name of the file where last ID number is stored
$settings['idfile']="http://www.karrtorpcentrum.se/ccount11/ids.txt";
which is wrong, these mustn't be URLs.
As for deleting just delete this EXACT code, nothing more:

Code: Select all

?<?php echo strip_tags (SID)?>
  • ↳   General discussion, suggestions and other junk
  • PHP Script Support
  • ↳   LinkMan - link manager
  • ↳   CCount - click counter
  • ↳   GBook - guestbook
  • ↳   Hesk - helpdesk software
  • ↳   Other
  • Add-ons, mods, translations, ...
  • ↳   CCount - click counter add-ons
  • ↳   LinkMan - link manager add-ons
  • ↳   GBook - guestbook add-ons
  • ↳   Hesk - helpdesk software add-ons
  • ↳   Mods for HESK (by Mike Koch)
  • ↳   Other add-ons
  • Legacy scripts (read-only)
  • ↳   MBoard - message board
  • ↳   MBoard - message board add-ons
  •