"no such file"?


(hornetok) #1

Hello, trying to get Piwik installed and am having trouble. Maybe someone with more experience can help me out.

This is what is displayed when I first open the piwik directory in the browser:

session_start() [function.session-start]: open(C:\PHP\sessions\sess_oqv5ardh1ktq3aei6s96j5h2a0, O_RDWR) failed: No such file or directory (2) 
in 'E:\Inetpub\wwwroot\piwik\index.php' at the line 45

#0  Piwik_ErrorHandler(2, session_start() [function.session-start]: open(C:\PHP\sessions\sess_oqv5ardh1ktq3aei6s96j5h2a0, O_RDWR) failed: No such file or directory (2), E:\Inetpub\wwwroot\piwik\index.php, 45, Array ([GLOBALS] => Array ( *RECURSION*,[_POST] => Array (),[_GET] => Array (),[_COOKIE] => Array ([__utma] => 172175910.725998273975384300.1244746088.1244808361.1244812149.4,[__utmz] => 172175910.1244746088.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none),[__utmc] => 172175910),[_FILES] => Array (),[piwik_minimumPHPVersion] => 5.1.3,[piwik_currentPHPVersion] => 5.2.9-2,[piwik_zend_compatibility_mode] => ,[_SERVER] => Array ([ALL_HTTP] => HTTP_CONNECTION:Keep-Alive
HTTP_KEEP_ALIVE:300
HTTP_VIA:1.1 TPS-11
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_LANGUAGE:en-us,en;q=0.5
HTTP_COOKIE:__utma=172175910.725998273975384300.1244746088.1244808361.1244812149
.4; __utmz=172175910.1244746088.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=172175910
HTTP_HOST:tahlequah.k12.ok.us
HTTP_IF_MODIFIED_SINCE:Fri, 12 Jun 2009 14:37:02 GMT
HTTP_USER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
HTTP_X_REWRITE_URL:/piwik/
,[HTTPS] => off,[SCRIPT_NAME] => /piwik/index.php,[HTTP_COOKIE] => __utma=172175910.725998273975384300.1244746088.1244808361.1244812149.4; __utmz=172175910.1244746088.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=172175910,[AUTH_PASSWORD] => ,[AUTH_TYPE] => ,[AUTH_USER] => ,[CONTENT_LENGTH] => 0,[CONTENT_TYPE] => ,[PATH_TRANSLATED] => E:\inetpub\wwwroot,[QUERY_STRING] => ,[REMOTE_ADDR] => 172.16.1.7,[REMOTE_HOST] => 172.16.1.7,[REMOTE_USER] => ,[REQUEST_METHOD] => GET,[SERVER_NAME] => tahlequah.k12.ok.us,[SERVER_PORT] => 80,[SERVER_PROTOCOL] => HTTP/1.1,[SERVER_SOFTWARE] => Microsoft-IIS/6.0,[APPL_MD_PATH] => /LM/W3SVC/1/ROOT,[APPL_PHYSICAL_PATH] => E:\inetpub\wwwroot\,[INSTANCE_ID] => 1,[INSTANCE_META_PATH] => /LM/W3SVC/1,[LOGON_USER] => ,[REQUEST_URI] => /piwik/index.php,[URL] => /piwik/index.php,[SCRIPT_FILENAME] => E:\inetpub\wwwroot\piwik\index.php,[ORIG_PATH_INFO] => /piwik/index.php,[PATH_INFO] => ,[ORIG_PATH_TRANSLATED] => E:\inetpub\wwwroot\piwik\index.php,[DOCUMENT_ROOT] => E:\inetpub\wwwroot,[PHP_SELF] => /piwik/index.php,[HTTP_CONNECTION] => Keep-Alive,[HTTP_KEEP_ALIVE] => 300,[HTTP_VIA] => 1.1 TPS-11,[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7,[HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5,[HTTP_HOST] => tahlequah.k12.ok.us,[HTTP_IF_MODIFIED_SINCE] => Fri, 12 Jun 2009 14:37:02 GMT,[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10,[HTTP_X_REWRITE_URL] => /piwik/,[REQUEST_TIME] => 1244820061),[_SESSION] => Array ()))
#1  session_start() called at [E:\Inetpub\wwwroot\piwik\index.php:45]


And these are the errors in my PHP error log:


[12-Jun-2009 09:37:45] PHP Warning:  parse_ini_file(E:\Inetpub\wwwroot\piwik/config/config.ini.php) [<a href='function.parse-ini-file'>function.parse-ini-file</a>]: failed to open stream: No such file or directory in E:\Inetpub\wwwroot\piwik\core\Tracker\Config.php on line 61

[12-Jun-2009 09:37:45] PHP Warning:  Invalid argument supplied for foreach() in E:\Inetpub\wwwroot\piwik\core\Tracker\Config.php on line 64


There is nothing in my PHP\sessions directory, so I figured that’s where I’d start… but I’m new to this and really don’t know where to begin with debugging it all. Any help would be great.

Thanks.


(vipsoft) #2

I have not seen this problem. Sorry. There are other IIS users who have installed Piwik successfully and hopefully they will chime in.

Check out http://php.iis.net


(hornetok) #3

Well, thanks for the link at least. I wish I could use it… Looks like switching to '08/IIS7 could fix all of my issues, but that’s not an option. I’m on XP2003 and can’t use IIS 7.

style_emoticons/<#EMO_DIR#>/sad.gif

I was able to get PHPMyVisites to work great, so far, though. So I might not even bother with Piwik anymore, even though it seems better…


(vipsoft) #4

As I recall, there are people running Piwik on IIS 5.1 and 6. You could try the 0.4.1rc1 release candidate (http://buidls.piwik.org) as we’ve made changes to accommodate a bug in IIS4/5 .

Another option would be to look at using XAMPP.


(hornetok) #5

Thanks for the help, I tried the older version. I’m sure there’s something I’m messing up on my server for it to work properly. But, I cannot change it from IIS to XAMPP. We’ve got an ASP (classic) environment and I’m slowly transitioning it to PHP.

Perhaps in a year or two I will finally be able to get rid of IIS… that is, if my Systems Manager will let me style_emoticons/<#EMO_DIR#>/tongue.gif

I have PHPMyVisites working perfectly along with the ClickHeat Plug-In. Those are both all I really need & wanted.

Thanks again.


(sompongh) #6

I see problem same you.Now I can fix already.Thanks for this post.


(vipsoft) #7

It’s all Zend_Session from here on, so this may be a non-issue in the upcoming release (0.4.2?).


(tompiwik) #8

[quote=vipsoft @ Jun 15 2009, 04:42 PM]As I recall, there are people running Piwik on IIS 5.1 and 6. You could try the 0.4.1rc1 release candidate (http://buidls.piwik.org) as we’ve made changes to accommodate a bug in IIS4/5 .

Another option would be to look at using XAMPP.[/quote]
Ohhhh Thnk you so much style_emoticons/<#EMO_DIR#>/rolleyes.gif