<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Top Downloads Not Writing To Logs"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Top Downloads Not Writing To Logs"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Top Downloads Not Writing To Logs</title>
				<description><![CDATA[ Hi<br /> New to this board and have a problem.<br /> <br /> Followed install instructions and uploaded script and .txt files and chmoded as per instructions.<br /> I am able to log into admin and the scan function works fine.<br /> <br /> When I click on a download, the count in log.txt stays at zero, although all the downloads from the scan function appear in the log. The daylog.txt and download_stats.txt are both blank.<br /> <br /> Can any please tell me why the script wont write a count to the log but the admin part does.<br /> <br /> Here is what I have edited. I have tried renaming script to .cgi but it does the same thing as .pl<br /> <br /> # url to script<br /> $cgiurl = "http://www.mysite/cgi-bin/dlcount/download.cgi";<br /> <br /> # url to the image files without trailing "/"<br /> $base_gif = "http://www.mysite/images/gif";<br /> <br /> # administration password - should not contain '&amp;','=' and "<br /> $admin_pass = "********";<br /> <br /> # file locking ($lock=0 for Win32!);<br /> $lock = 1;<br /> <br /> # check http referer 0=no 1=yes;<br /> $check = 0;<br /> @valid=('http://www.mysite);<br /> <br /> # log files<br /> $basedat = "/home/myuser/public_html/cgi-bin/dlcount/log.txt";<br /> $daylog = "/home/myuser/public_html/cgi-bin/dlcount/daylog.txt";<br /> $stats = "/home/myuser/public_html/cgi-bin/dlcount/download_stats.txt";<br /> <br /> # base url to the downloads without trailing "/" (use for scanning)<br /> $base_url = "http://www.mysite/files";<br /> <br /> # path to the downloads from the server root! (use for scanning)<br /> $base_dir = "/home/myuser/public_html/files";<br /> <br /> $back_img = "http://www.mysite/images/gif"; # url of background image]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4623/16056.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4623/16056.php</link>
				<pubDate><![CDATA[Fri, 13 May 2005 18:13:04]]> GMT</pubDate>
				<author><![CDATA[ Genesis]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Have you set all the file permissions correctly?<br /> Are there any errors being displayed?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4623/16068.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4623/16068.php</link>
				<pubDate><![CDATA[Sat, 14 May 2005 02:34:36]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ All file permissions are set properly. .cgi(.pl) to 755 and .txt to 666<br /> No errors are displayed.<br /> <br /> What is strange is that after doing a scan in admin, the files found are written to the log.txt but when clicking a download from the site, it doesn't write it to the log, although it does download properly.<br /> <br /> ie: The count always stays at zero.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4623/16076.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4623/16076.php</link>
				<pubDate><![CDATA[Sat, 14 May 2005 13:01:23]]> GMT</pubDate>
				<author><![CDATA[ Genesis]]></author>
			</item>
	</channel>
</rss>