Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

setting Chmod in configure.php


Guest

Recommended Posts

Posted

Hi and first of all THANKS for this excellent Forum and all the work you're putting into it.

 

I've been reading here for quite a while but now I am stuck.

 

Having installed the 2ms2 last night, all went fine.

 

I've eliminated one of the errors when first viewing the catalog by putting the admin directory elsewhere.

 

BUT. I still get an error message when viewing the catalog, e.g. "can write to includes/configure.php.

 

So I went to includes in catalog and admin and changed CHMOD to 444.

 

BUT it does not TAKE the change - directly after updating the directory, I get shown that chmod is 644. And the error reappears when viewing my shop ...

 

Any of you have any idea? Where am I going wrong?

 

Kind regards

Mel

 

(What is configure.php for anyway?)

:huh:

Posted

And Bear, I read your reply from earlier today...

 

BUT ... what do you mean by this?

 

"2- in both catalog and admin/includes/configure.php store session in mysql"

 

???

 

Mel

Posted

In both your catalog and admin/includes/configure.php change this:

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

to this:

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

The_Bear

Posted

Hi ... Thanks for the quick answer!

 

but now ... I get this ...

 

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /mnt/ls5/05/426/00000023/htdocs/catalog/includes/functions/database.php on line 19

 

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /mnt/ls5/05/426/00000023/htdocs/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

 

ARGH!

 

I am using a MYSql Database and it worked fine before... :(

Posted

OK - I reinstalled the Database. The "MySQL" thing is in the configure.php file.

Fine.

 

BUT ... The error is still there eventhough CHMOD for configure in both admin and includes is 644.

 

Please? Anyone?

Posted

Sorry - hate me - but I need HELP ... PLEASE ... :(

Archived

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

×
×
  • Create New...