PHPee.com PHP development forum
Downloadcounter steht still (2.2.5)

 
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support
View previous topic :: View next topic  
Author Message
opu.e



Joined: 03 Sep 2004
Posts: 6
Location: DE, Stgt.

PostPosted: Fri Sep 03, 2004 11:32 am    Post subject: Downloadcounter steht still (2.2.5) Reply with quote
Hallo zusammen, ich bin Webmaster bei einem Counterservice der den PPhl 2.2.5 einsetzt. Seit ca. 4 Tagen allerdings streikt der DLCounter, Klicks werden einfach nicht mehr gezählt, durch die Bank bei allen Usern. Unerklärlich ist warum von einem Tag auf den Anderen, den zuvor hat es einwandfrei funktioniert. Es hatte wohl schon viele solche Probleme, aber eine Lösung für mich hab ich nicht gefunden.

An was kann es denn liegen?
Gruß opu.e
Back to top
View user's profile Send private message Visit poster's website
opu.e



Joined: 03 Sep 2004
Posts: 6
Location: DE, Stgt.

PostPosted: Fri Sep 03, 2004 3:49 pm    Post subject: Reply with quote
Kann es daran liegen dass die Funktion "fopen" vom Hoster deaktiviert wurde?

Gruß opu.e
Back to top
View user's profile Send private message Visit poster's website
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 927
Location: London, UK

PostPosted: Fri Sep 03, 2004 11:39 pm    Post subject: Reply with quote
It sounds like fopen could be your problem.
It may be that other PHP changes were made also, which affected the way the script works.

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
opu.e



Joined: 03 Sep 2004
Posts: 6
Location: DE, Stgt.

PostPosted: Sun Sep 05, 2004 3:18 am    Post subject: Reply with quote

y may be, but it is only the dlcounter. All runs ok and also the dlcount.php script is ok. So the download gets started over dlcount.php but it isn't logged.

opu.e
Back to top
View user's profile Send private message Visit poster's website
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 927
Location: London, UK

PostPosted: Sun Sep 05, 2004 6:32 pm    Post subject: Reply with quote
The download counter uses the fopen() function.

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
opu.e



Joined: 03 Sep 2004
Posts: 6
Location: DE, Stgt.

PostPosted: Mon Sep 06, 2004 7:09 pm    Post subject: Reply with quote
ok, the counter us going on to work. It wansn't only fopen, there were some things more the hoster changed.
thx, opu.e

Oh for erveryone who searchs a good counter: www.eiswald.de Wink Twisted Evil
Back to top
View user's profile Send private message Visit poster's website
pip



Joined: 03 Nov 2004
Posts: 2

PostPosted: Wed Nov 03, 2004 1:42 pm    Post subject: Reply with quote
on my webspace the function fopen is disabled. how must i edit my files that it works?
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 927
Location: London, UK

PostPosted: Wed Nov 03, 2004 3:13 pm    Post subject: Reply with quote
http://forum.phpee.com/viewtopic.php?t=2861&highlight=download+counter

Delete these PHP lines from dlcount.php
PHP:
if (!@fopen($redir_url,"r")) {
   
header("Location: $redir_url");   //file does not exist !!
   
exit;
}


David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
pip



Joined: 03 Nov 2004
Posts: 2

PostPosted: Wed Nov 03, 2004 3:46 pm    Post subject: Reply with quote
thanks 4 the fast answer! it works well Very Happy
Back to top
View user's profile Send private message
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.11
Theme design based on Team 101 Designs, modified by Philip Iezzi