Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pls,, Need Help --->


roseshop

Recommended Posts

After isntall the osCommerce, i open the default.asp and i get an error on top, called => Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

Pls Help...

 

Thanx....

[The Power Of Nightmares]

Link to comment
Share on other sites

Ther are many ways you can change the permissions on your files and create directories, it just depends on what Utility to use.

 

If you use WS_FTP, or some other form of GUI style of FTP app, and you are hosted on a Linux Server, there should be a MKDIR and CHMOD commands available for use. If you are on a Windows Server, almost the same thing.

 

You can also Telnet or SSH into the Server to create the directory and set the permissions.

 

Good Luck.

 

-R

Link to comment
Share on other sites

Hello,

I've only been looking at OScommerce for a day or two..but I created the tmp directory and set permissions to 755..when that did not work, I put a tmp directory in root, includes, root public folder, etc...when that did not work, :) I set permissions to 777...

 

the sessions warning continues..

 

Warning: SAFE MODE Restriction in effect. The script whose uid/gid is 1356/1363 is not allowed to access /tmp owned by uid/gid 0/0 in /home/pearls/public_html/pearlscart/includes/header.php on line 30

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

:roll:

 

suggestions, please..

Link to comment
Share on other sites

Sometime the warning like --

>WARNING_SESSION_DIRECTORY_NON_EXISTENT

 

Not transfer. I`m testing on localhost in my comp.) Where i add tmp folder? Can you show me?

 

Thank you..

[The Power Of Nightmares]

Link to comment
Share on other sites

Do you know [a top list] module to download.

 

 

Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa,Thank you ugottasalsa... [/b]

[The Power Of Nightmares]

Link to comment
Share on other sites

Is Safe Mode turned on or off for your site?

 

-R

 

The error message seens to indicate that Safe Mode is turned on..how would I turn it off?(or on for that matter!

 

thanks..

Link to comment
Share on other sites

That diifers from Operating System to Operating System. Usually, if you have root access to the Server, you can turn SafeMode off globally in the PHP.INI file.

 

If you don't have Root access to the Server, i.e. shared web hosting, you can either ask your host to modify your specific domain and turn SafeMode off, or... if you search through the Forum, I remember seeing a bit of code that if supposed to be a workaround.

 

Good Luck.

 

-R

Link to comment
Share on other sites

Ok ugottasalsa My opertaing system WinNt. The safe mode; in php.ini file

like ===>

 

 

===============================================================

; reference).

allow_call_time_pass_reference = Off

 

;

; Safe Mode

;

safe_mode = Off

 

; By default, Safe Mode does a UID compare check when

; opening files. If you want to relax this to a GID compare,

; then turn on safe_mode_gid.

safe_mode_gid = Off

 

; When safe_mode is on, UID/GID checks are bypassed when

; including files from this directory and its subdirectories.

; (directory must also be in include_path or full path must

; be used when including)

safe_mode_include_dir =

 

; When safe_mode is on, only executables located in the safe_mode_exec_dir

; will be allowed to be executed via the exec family of functions.

safe_mode_exec_dir =

 

; open_basedir, if set, limits all file operations to the defined directory

; and below. This directive makes most sense if used in a per-directory

; or per-virtualhost web server configuration file.

;

;open_basedir =

 

; Setting certain environment variables may be a potential security breach.

; This directive contains a comma-delimited list of prefixes. In Safe Mode,

; the user may only alter environment variables whose names begin with the

; prefixes supplied here. By default, users will only be able to set

; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).

;

; Note: If this directive is empty, PHP will let the user modify ANY

; environment variable!

safe_mode_allowed_env_vars = PHP_

 

; This directive contains a comma-delimited list of environment variables that

; the end user won't be able to change using putenv(). These variables will be

; protected even if safe_mode_allowed_env_vars is set to allow to change them.

safe_mode_protected_env_vars = LD_LIBRARY_PATH

 

; This directive allows you to disable certain functions for security reasons.

; It receives a comma-delimited list of function names. This directive is

; *NOT* affected by whether Safe Mode is turned On or Off.

disable_functions =

===============================================================

 

So changing? How pls show me... I don`t know everything about tem....

 

Thank you.Thank you.Thank you.Thank you.

[The Power Of Nightmares]

Link to comment
Share on other sites

:shock: :shock: :oops: :roll: :shock: :( :?: :!: :?:

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

 

What does it mean? This error ????? Pls Pls ....

 

I added a table (Location of the textfile) : a *.sql file for pooling system then i get this error... I delete the pool`s table from main_db, but the error still here....

 

Plssss. Ehuehuehu :((

[The Power Of Nightmares]

Link to comment
Share on other sites

Ok. ---> I serached ""1046" erorr and i find my bug :))

 

I fixed it..... Thank you osCommerce.... But the session_directory; my first error still here :(((

[The Power Of Nightmares]

Link to comment
Share on other sites

How can we solve my first problem? Pls. First you tell something but i don`t understand about ""session directory doesn`t exist..."" I need....

 

At the and of the preparing my web site i upload it aanother web hosting server. Maybe the server can make it regular.[?]

 

if only... Thank you... :) :arrow:

[The Power Of Nightmares]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...