Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Path for session.php


Acidvertigo79

Recommended Posts

HI,

I've installed oscommerce succesfull (no errors) last month (www.nagrit.com) on an external host server.

 

Today i've be noticed with this error:

 

Warning: open(C:PHPsessiondatasess_f537e2d9f24e108d2c8fb2a5978c3c4b, O_RDWR) failed: No such file or directory (2) in D:Inetpubwebsnagritcompubliccatalogincludesfunctionssessions.php on line 67

 

 

The external host says that the path for store session should be "public".

 

Now, How i can determine the session path in session.php?

 

I'm running on Windows 2000 with iis 5.0 and use SID killer (also search engine session feature)

:?

They killed Kenny! Bastards!

Link to comment
Share on other sites

For information:

 

PHP Version 4.2.3 



System Windows NT 5.0 build 2195 

Build Date Sep 6 2002 10:38:51 

Server API CGI 

Virtual Directory Support enabled 

Configuration File (php.ini) Path C:WINNTphp.ini 

Debug Build no 

Thread Safety enabled 



This program makes use of the Zend Scripting Language Engine:

Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies







--------------------------------------------------------------------------------



PHP 4 Credits



--------------------------------------------------------------------------------



Configuration

PHP Core 

Directive Local Value Master Value 

allow_call_time_pass_reference

On On 

allow_url_fopen

1 1 

always_populate_raw_post_data

0 0 

arg_separator.input

& & 

arg_separator.output

& & 

asp_tags

Off Off 

auto_append_file

no value no value 

auto_prepend_file

no value no value 

browscap

no value no value 

default_charset

no value no value 

default_mimetype

text/html text/html 

define_syslog_variables

Off Off 

disable_functions

no value no value 

display_errors

On On 

display_startup_errors

Off Off 

doc_root

no value no value 

enable_dl

On On 

error_append_string

no value no value 

error_log

no value no value 

error_prepend_string

no value no value 

error_reporting

341 341 

expose_php

On On 

extension_dir

./ ./ 

file_uploads

1 1 

gpc_order

GPC GPC 

highlight.bg

#FFFFFF #FFFFFF 

highlight.comment

#FF9900 #FF9900 

highlight.default

#0000CC #0000CC 

highlight.html

#000000 #000000 

highlight.keyword

#006600 #006600 

highlight.string

#CC0000 #CC0000 

html_errors

On On 

ignore_user_abort

Off Off 

implicit_flush

Off Off 

include_path

.;c:phpincludes .;c:phpincludes 

log_errors

Off Off 

magic_quotes_gpc

On On 

magic_quotes_runtime

Off Off 

magic_quotes_sybase

Off Off 

max_execution_time

30 30 

open_basedir

no value no value 

output_buffering

no value no value 

output_handler

no value no value 

post_max_size

8M 8M 

precision

12 12 

register_argc_argv

On On 

register_globals

On On 

safe_mode

Off Off 

safe_mode_exec_dir

no value no value 

safe_mode_gid

Off Off 

safe_mode_include_dir

no value no value 

sendmail_from

[email protected] [email protected] 

sendmail_path

no value no value 

short_open_tag

On On 

SMTP

localhost localhost 

sql.safe_mode

Off Off 

track_errors

Off Off 

unserialize_callback_func

no value no value 

upload_max_filesize

50M 50M 

upload_tmp_dir

C:PHPuploadtemp C:PHPuploadtemp 

user_dir

no value no value 

variables_order

EGPCS EGPCS 

xmlrpc_error_number

0 0 

xmlrpc_errors

Off Off 

y2k_compliance

Off Off 





standard

Regex Library Bundled library enabled 

Dynamic Library Support enabled 

Internal Sendmail Support for Windows enabled 



Directive Local Value Master Value 

assert.active

1 1 

assert.bail

0 0 

assert.callback

no value no value 

assert.quiet_eval

0 0 

assert.warning

1 1 

safe_mode_allowed_env_vars

PHP_ PHP_ 

safe_mode_protected_env_vars

LD_LIBRARY_PATH LD_LIBRARY_PATH 

url_rewriter.tags

a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry 





bcmath

BCMath support enabled 





calendar

Calendar support enabled 





com

Directive Local Value Master Value 

com.allow_dcom

Off Off 

com.autoregister_casesensitive

Off Off 

com.autoregister_typelib

Off Off 

com.autoregister_verbose

Off Off 

com.typelib_file

no value no value 





ftp

FTP support enabled 





mysql

MySQL Support enabled 

Active Persistent Links 0 

Active Links 1 

Client API version 3.23.39 



Directive Local Value Master Value 

mysql.allow_persistent

On On 

mysql.default_host

no value no value 

mysql.default_password

no value no value 

mysql.default_port

no value no value 

mysql.default_socket

no value no value 

mysql.default_user

no value no value 

mysql.max_links

Unlimited Unlimited 

mysql.max_persistent

Unlimited Unlimited 





odbc

ODBC Support enabled 

Active Persistent Links 0 

Active Links 0 

ODBC library Win32 



Directive Local Value Master Value 

odbc.allow_persistent

Off Off 

odbc.check_persistent

Off Off 

odbc.default_db

no value no value 

odbc.default_pw

no value no value 

odbc.default_user

no value no value 

odbc.defaultbinmode

return as is return as is 

odbc.defaultlrl

return up to 4096 bytes return up to 4096 bytes 

odbc.max_links

0 0 

odbc.max_persistent

0 0 





pcre

PCRE (Perl Compatible Regular Expressions) Support enabled 

PCRE Library Version 3.4 22-Aug-2000 





session

Session Support enabled 



Directive Local Value Master Value 

session.auto_start

Off Off 

session.cache_expire

180 180 

session.cache_limiter

nocache nocache 

session.cookie_domain

no value no value 

session.cookie_lifetime

0 0 

session.cookie_path

/cgi-bin/admin / 

session.cookie_secure

Off Off 

session.entropy_file

no value no value 

session.entropy_length

0 0 

session.gc_maxlifetime

1440 1440 

session.gc_probability

1 1 

session.name

osCAdminsID PHPSESSID 

session.referer_check

no value no value 

session.save_handler

files files 

[b]session.save_path[/b]

C:PHPsessiondata C:PHPsessiondata 

session.serialize_handler

php php 

session.use_cookies

On On 

session.use_trans_sid

0 1 





xml

XML Support active 

XML Namespace Support active 

EXPAT Version 1.95.2 





wddx

WDDX Support enabled 





Additional Modules





Environment

Variable Value 

ALLUSERSPROFILE C:Documents and SettingsAll Users 

CommonProgramFiles C:Program FilesCommon Files 

COMPUTERNAME WEBS83 

ComSpec C:WINNTsystem32cmd.exe 

CONTENT_LENGTH 0 

DellAgentPath C:Program FilesDellOpenManageOMSAbin;C:Program FilesDellOpenManageOMSA;C:Program FilesDellOpenManageOMSAhelp 

GATEWAY_INTERFACE CGI/1.1 

HTTPS off 

HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* 

HTTP_ACCEPT_LANGUAGE it 

HTTP_CONNECTION Close 

HTTP_HOST www.nagrit.com 

HTTP_REFERER http://www.nagrit.com//cgi-bin/admin/configuration.php?gID=11&cID=139&action=edit&selected_box=tools 

HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) 

HTTP_COOKIE osCAdminsID=618e9c77e648f0641aa7034a16117312 

HTTP_IF_MODIFIED_SINCE Thu, 13 Mar 2003 07:39:26 GMT 

HTTP_VIA 1.0 Proxy+ (v2.50 http://www.proxyplus.cz) 

HTTP_X_FORWARDED_FOR 10.50.40.48 

INSTANCE_ID 2186 

LOCAL_ADDR 62.149.130.93 

MXBIN C:Program FilesFireDaemon v0.09c 

MXHOME C:Program FilesFireDaemon v0.09c 

NUMBER_OF_PROCESSORS 4 

Os2LibPath C:WINNTsystem32os2dll; 

OS Windows_NT 

Path C:Perlbin;C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem;C:PROGRA~1ULTRAE~1;C:Program FilesDellOpenManageOMSAbin;C:Program FilesDellOpenManageOMSA;C:Program FilesDellOpenManageOMSAhelp;C:Program FilesDellOpenManageomabin;C:Program FilesDellOpenManageLUbin;C:Program FilesDellOpenManageRACMN;C:Program FilesDellOpenManageArray Manager;c:winntcommand;C:Program FilesDellOpenManageoldiagsbin;c:winntcommand;C:Program FilesDellOpenManageRACMN;C:Program FilesDellOpenManageoldiagsbin 

PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH 

PATH_INFO /cgi-bin/admin/server_info.php 

PATH_TRANSLATED D:Inetpubwebsnagritcomcgi-binadminserver_info.php 

PROCESSOR_ARCHITECTURE x86 

PROCESSOR_IDENTIFIER x86 Family 15 Model 2 Stepping 4, GenuineIntel 

PROCESSOR_LEVEL 15 

PROCESSOR_REVISION 0204 

ProgramFiles C:Program Files 

RACMNPath C:Program FilesDellOpenManageRACMN 

RACVNCPath C:Program FilesDellOpenManageRACVNC 

REMOTE_ADDR 213.255.121.98 

REMOTE_HOST 213.255.121.98 

REQUEST_METHOD GET 

SCRIPT_NAME /cgi-bin/admin/server_info.php 

SERVER_NAME www.nagrit.com 

SERVER_PORT 80 

SERVER_PORT_SECURE 0 

SERVER_PROTOCOL HTTP/1.0 

SERVER_SOFTWARE Microsoft-IIS/5.0 

SystemDrive C: 

SystemRoot C:WINNT 

TEMP c:temp 

TMP c:temp 

USERPROFILE C:Documents and SettingsDefault User 

windir C:WINNT 





PHP Variables

Variable Value 

PHP_SELF /cgi-bin/admin/server_info.php 

_COOKIE["osCAdminsID"] 618e9c77e648f0641aa7034a16117312  

_SERVER["ALLUSERSPROFILE"] C:Documents and SettingsAll Users  

_SERVER["CommonProgramFiles"] C:Program FilesCommon Files  

_SERVER["COMPUTERNAME"] WEBS83  

_SERVER["ComSpec"] C:WINNTsystem32cmd.exe  

_SERVER["CONTENT_LENGTH"] 0  

_SERVER["DellAgentPath"] C:Program FilesDellOpenManageOMSAbin;C:Program FilesDellOpenManageOMSA;C:Program FilesDellOpenManageOMSAhelp  

_SERVER["GATEWAY_INTERFACE"] CGI/1.1  

_SERVER["HTTPS"] off  

_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*  

_SERVER["HTTP_ACCEPT_LANGUAGE"] it  

_SERVER["HTTP_CONNECTION"] Close  

_SERVER["HTTP_HOST"] www.nagrit.com  

_SERVER["HTTP_REFERER"] http://www.nagrit.com//cgi-bin/admin/configuration.php?gID=11&cID=139&action=edit&selected_box=tools  

_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)  

_SERVER["HTTP_COOKIE"] osCAdminsID=618e9c77e648f0641aa7034a16117312  

_SERVER["HTTP_IF_MODIFIED_SINCE"] Thu, 13 Mar 2003 07:39:26 GMT  

_SERVER["HTTP_VIA"] 1.0 Proxy+ (v2.50 http://www.proxyplus.cz)  

_SERVER["HTTP_X_FORWARDED_FOR"] 10.50.40.48  

_SERVER["INSTANCE_ID"] 2186  

_SERVER["LOCAL_ADDR"] 62.149.130.93  

_SERVER["MXBIN"] C:Program FilesFireDaemon v0.09c  

_SERVER["MXHOME"] C:Program FilesFireDaemon v0.09c  

_SERVER["NUMBER_OF_PROCESSORS"] 4  

_SERVER["Os2LibPath"] C:WINNTsystem32os2dll;  

_SERVER["OS"] Windows_NT  

_SERVER["Path"] C:Perlbin;C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem;C:PROGRA~1ULTRAE~1;C:Program FilesDellOpenManageOMSAbin;C:Program FilesDellOpenManageOMSA;C:Program FilesDellOpenManageOMSAhelp;C:Program FilesDellOpenManageomabin;C:Program FilesDellOpenManageLUbin;C:Program FilesDellOpenManageRACMN;C:Program FilesDellOpenManageArray Manager;c:winntcommand;C:Program FilesDellOpenManageoldiagsbin;c:winntcommand;C:Program FilesDellOpenManageRACMN;C:Program FilesDellOpenManageoldiagsbin  

_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH  

_SERVER["PATH_INFO"] /cgi-bin/admin/server_info.php  

_SERVER["PATH_TRANSLATED"] D:Inetpubwebsnagritcomcgi-binadminserver_info.php  

_SERVER["PROCESSOR_ARCHITECTURE"] x86  

_SERVER["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 2 Stepping 4, GenuineIntel  

_SERVER["PROCESSOR_LEVEL"] 15  

_SERVER["PROCESSOR_REVISION"] 0204  

_SERVER["ProgramFiles"] C:Program Files  

_SERVER["RACMNPath"] C:Program FilesDellOpenManageRACMN  

_SERVER["RACVNCPath"] C:Program FilesDellOpenManageRACVNC  

_SERVER["REMOTE_ADDR"] 213.255.121.98  

_SERVER["REMOTE_HOST"] 213.255.121.98  

_SERVER["REQUEST_METHOD"] GET  

_SERVER["SCRIPT_NAME"] /cgi-bin/admin/server_info.php  

_SERVER["SERVER_NAME"] www.nagrit.com  

_SERVER["SERVER_PORT"] 80  

_SERVER["SERVER_PORT_SECURE"] 0  

_SERVER["SERVER_PROTOCOL"] HTTP/1.0  

_SERVER["SERVER_SOFTWARE"] Microsoft-IIS/5.0  

_SERVER["SystemDrive"] C:  

_SERVER["SystemRoot"] C:WINNT  

_SERVER["TEMP"] c:temp  

_SERVER["TMP"] c:temp  

_SERVER["USERPROFILE"] C:Documents and SettingsDefault User  

_SERVER["windir"] C:WINNT  

_SERVER["PHP_SELF"] /cgi-bin/admin/server_info.php  

_SERVER["argv"] Array

(

)



 

_SERVER["argc"] 0  

_ENV["ALLUSERSPROFILE"] C:Documents and SettingsAll Users  

_ENV["CommonProgramFiles"] C:Program FilesCommon Files  

_ENV["COMPUTERNAME"] WEBS83  

_ENV["ComSpec"] C:WINNTsystem32cmd.exe  

_ENV["CONTENT_LENGTH"] 0  

_ENV["DellAgentPath"] C:Program FilesDellOpenManageOMSAbin;C:Program FilesDellOpenManageOMSA;C:Program FilesDellOpenManageOMSAhelp  

_ENV["GATEWAY_INTERFACE"] CGI/1.1  

_ENV["HTTPS"] off  

_ENV["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*  

_ENV["HTTP_ACCEPT_LANGUAGE"] it  

_ENV["HTTP_CONNECTION"] Close  

_ENV["HTTP_HOST"] www.nagrit.com  

_ENV["HTTP_REFERER"] http://www.nagrit.com//cgi-bin/admin/configuration.php?gID=11&cID=139&action=edit&selected_box=tools  

_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)  

_ENV["HTTP_COOKIE"] osCAdminsID=618e9c77e648f0641aa7034a16117312  

_ENV["HTTP_IF_MODIFIED_SINCE"] Thu, 13 Mar 2003 07:39:26 GMT  

_ENV["HTTP_VIA"] 1.0 Proxy+ (v2.50 http://www.proxyplus.cz)  

_ENV["HTTP_X_FORWARDED_FOR"] 10.50.40.48  

_ENV["INSTANCE_ID"] 2186  

_ENV["LOCAL_ADDR"] 62.149.130.93  

_ENV["MXBIN"] C:Program FilesFireDaemon v0.09c  

_ENV["MXHOME"] C:Program FilesFireDaemon v0.09c  

_ENV["NUMBER_OF_PROCESSORS"] 4  

_ENV["Os2LibPath"] C:WINNTsystem32os2dll;  

_ENV["OS"] Windows_NT  

_ENV["Path"] C:Perlbin;C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem;C:PROGRA~1ULTRAE~1;C:Program FilesDellOpenManageOMSAbin;C:Program FilesDellOpenManageOMSA;C:Program FilesDellOpenManageOMSAhelp;C:Program FilesDellOpenManageomabin;C:Program FilesDellOpenManageLUbin;C:Program FilesDellOpenManageRACMN;C:Program FilesDellOpenManageArray Manager;c:winntcommand;C:Program FilesDellOpenManageoldiagsbin;c:winntcommand;C:Program FilesDellOpenManageRACMN;C:Program FilesDellOpenManageoldiagsbin  

_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH  

_ENV["PATH_INFO"] /cgi-bin/admin/server_info.php  

_ENV["PATH_TRANSLATED"] D:Inetpubwebsnagritcomcgi-binadminserver_info.php  

_ENV["PROCESSOR_ARCHITECTURE"] x86  

_ENV["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 2 Stepping 4, GenuineIntel  

_ENV["PROCESSOR_LEVEL"] 15  

_ENV["PROCESSOR_REVISION"] 0204  

_ENV["ProgramFiles"] C:Program Files  

_ENV["RACMNPath"] C:Program FilesDellOpenManageRACMN  

_ENV["RACVNCPath"] C:Program FilesDellOpenManageRACVNC  

_ENV["REMOTE_ADDR"] 213.255.121.98  

_ENV["REMOTE_HOST"] 213.255.121.98  

_ENV["REQUEST_METHOD"] GET  

_ENV["SCRIPT_NAME"] /cgi-bin/admin/server_info.php  

_ENV["SERVER_NAME"] www.nagrit.com  

_ENV["SERVER_PORT"] 80  

_ENV["SERVER_PORT_SECURE"] 0  

_ENV["SERVER_PROTOCOL"] HTTP/1.0  

_ENV["SERVER_SOFTWARE"] Microsoft-IIS/5.0  

_ENV["SystemDrive"] C:  

_ENV["SystemRoot"] C:WINNT  

_ENV["TEMP"] c:temp  

_ENV["TMP"] c:temp  

_ENV["USERPROFILE"] C:Documents and SettingsDefault User  

_ENV["windir"] C:WINNT  





PHP License

This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE 



This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 



If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [email protected]. 











E-Commerce Engine Copyright ? 2002 osCommerce

osCommerce provides no warranty and is redistributable under the GNU General Public License  



Powered by osCommerce 





Warning: open(C:PHPsessiondatasess_618e9c77e648f0641aa7034a16117312, O_RDWR) failed: No such file or directory (2) in Unknown on line 0



Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:PHPsessiondata) in Unknown on line 0

They killed Kenny! Bastards!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...