[TYPO3-UG Dutch] awstats

Leen Strijk leenstrijk at tomaatnet.nl
Wed Feb 27 21:56:15 CET 2008


Hallo Ton,

Er zaten meerdere haakjes en oogjes aan.
Uiteindelijk is het wel gelukt maar, nu is er iets met perl.
de foutmelding was:
Perl was not found at '/usr/local/bin/perl'. The awstats.pl script can't 
be executed!

Perl staat gewoon in usr/bin


De code die dit genereert staat hieronder.
Als ik de if statements vervang met:
  $perl = '/usr/bin/perl ';
krijg ik een leeg scherm.

Ik denk dat hij perl niet kan uitvoeren.


if ($os=='UNIX') {
				if (is_executable ('/usr/bin/perl')) {
					$perl = '/usr/bin/perl ';
				} else {
					if (is_executable ('/usr/local/bin/perl')) {
						$perl = '/usr/local/bin/perl ';
					} else {
						die("Perl was not found at '/usr/local/bin/perl'. The awstats.pl 
script can't be executed!");
					}
					die("Perl was not found at '/usr/bin/perl'. The awstats.pl script 
can't be executed!");
				}
			} elseif ($checkWindows=false) {
				if (is_file ('/usr/bin/perl')) {
					$perl = '/usr/bin/perl ';
				} else {
					if (is_file ('/usr/local/bin/perl')) {
						$perl = '/usr/local/bin/perl ';
					} else {
						die("Perl was not found at '/usr/local/bin/perl'. The awstats.pl 
script can't be executed!");
					}
					die("Perl was not found at '/usr/bin/perl'. The awstats.pl script 
can't be executed!");
				}
			}




Ton Akveld [netcreators] schreef:
> Hi Leen,
> 
> Dit al gedaan?
> 
> If you didn't used the logfile functionality yet, you have to configure it.
> 
> First put in localconf.php or use the Install-Tool:
> 
> $TYPO3_CONF_VARS["FE"]["logfile_dir"] = my_logfile_dir/
> 
> Die heb ik op *fileadmin/log/ *gezet.
> 
> Succes,
> 
> Ton
> 
> 
> 
> Leen Strijk schreef:
>> Hallo,
>>
>> Ik ben awstats aan het installeren.
>> Ik krijg een melding:
>> Kon directory '' voor de opslag van AWStats data niet aanmaken. Kijk 
>> a.u.b. uw schrijf-permissies na.
>>
>> Weet iemand waar moet ik de map "my_logfile_dir" plaatsen?
>>
>> Gr Leen
>>
>> _______________________________________________
>> TYPO3-UG-dutch mailing list
>> TYPO3-UG-dutch at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
>>   


-- 
<style type="text/css">
<!--
body,td,th {
	font-family: Georgia, Times New Roman, Times, serif;
	font-size: 12px;
	color: #660000;
}
a:link {
	color: #660000;
}
-->
</style>
<table width="200px" border="1" cellpadding="5" cellspacing="0" 
bordercolor="#660000" bgcolor="#CCCCCC">
   <tr>
     <td>Leen Strijk<br>
www.strijkinternetdiensten.nl<br>
info at strijkinternetdiensten.nl<br>
tel. 0513707415 <br>
gsm. 06-19079010</td>
   </tr>
</table>



More information about the TYPO3-UG-dutch mailing list