Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.tmp problem


gtroops

Recommended Posts

Posted

Hello there,

 

I have a question,

I have installed osCommerce for the first time, but i get the following errors:

 

Warning: I am able to write to the configuration file: /customers/atocomputers.nl/atocomputers.nl/httpd.www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

 

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

 

 

Can anyone help me?

Thank you

My regards,

Amro

Posted
Hello there,

 

 

Warning: I am able to write to the configuration file: /customers/atocomputers.nl/atocomputers.nl/httpd.www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

Can anyone help me?

Thank you

My regards,

Amro

 

I found on your first warning that if you change the permissions of the configure file back to 755 that takes the first warning away.

The other im not sure how i fixed it.

Posted

You have 2 options for you second problem.

 

Option 1. You need to create the folder /tmp and I think it needs to be chmod 777.

 

Option 2. Open you includes/configure.php. Change your store sessions to mysql. You should do this anyways on shared servers.

define('STORE_SESSIONS', 'mysql');

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted

Thank you clista and natewlew!!!

 

I have done what you said natewlew... and its good now but clista where can i do that what you said:

 

I found on your first warning that if you change the permissions of the configure file back to 755 that takes the first warning away.

Posted

The configure.php files should have permissions of 644, 444 or 400 - depending on your server. If you use permissions of 755 then expect your site to get hijacked.

 

Vger

Posted

Hmm ok thank you :) so i got to change it in the configure.php?

becouse i dont know where to change it so if you tell me exactly where i can do it than it will be greatfull thank you very very much!!!

 

My regards

Posted

I have found out how to chemod i think... just right klikking in the ftp on the folder in my host (includes) and chmod it to 755 but it is still not working :s guys help me please!

Posted

Slow down and read:

 

The configure.php files should have permissions of 644, 444 or 400

 

Vger

Posted
Slow down and read:

Vger

 

I have made what you said but i have still the same problem...

I have a hosting by one.com so i dont know if you need to know that?

I have changed in the map /catalog/includes/configure.php (i have try'd them all 444,644 and 400) and i dont know what to do right now :( so i'll be waiting for your answer.

Thanks a lot

Posted
I have made what you said but i have still the same problem...

I have a hosting by one.com so i dont know if you need to know that?

I have changed in the map /catalog/includes/configure.php (i have try'd them all 444,644 and 400) and i dont know what to do right now :( so i'll be waiting for your answer.

Thanks a lot

 

hi ,

 

I've got another suggestion to you. it worked for me.(provided that the website which is hosted on a unix platform)

try downloading a ftp client with capablity of changing the permission. e.g. WSFTP . in the host bit you can right-click configure.php select Chmod. then a pop up window appears. what you need to do is to untick any write permission from the gui screen.

 

hope this help !!

 

Tony

Posted

Hello There!

 

I have done what you said but i have still the same problem :(:(:( i dont know what the problem is so anyone please help me

My domein is registered at www.one.com

PLEASE HELP I REALLY NEED IT!!!!

 

Thank you all

Posted

Maybe there is somewhere is your hosting company's control panel that will let you change file permissions?

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted

No i have asked them they told me its normal..

they gave me a script and its:

 

If the above does not work you can use the following PHP script to change CHMOD:

 

<?

$filename = "file.php";

chmod("/customers/mydomain.com/mydomain.com/httpd.www/$filename", 0777);

echo "chmod for $filename was changed";

?>

 

Save the file as CHMOD.PHP in the root folder and execute it using the browser.

 

 

But i tryied and no the same problem again!!!!

So pleasse HELP ME I'M DOWN NOW :(:'(

Posted

You need to find yourself a more user-friendly, more oscommerce-friendly, hosting company.

 

Vger

  • 10 months later...
Posted

I just solved this problem by running the following script (chmod.php) on my one.com domain:

 

<?
$filename = "configure.php";
chmod("/customers/mydomain.com/mydomain.com/httpd.www/catalog/includes/$filename", 0555);
echo "chmod for $filename was changed";
?>

 

I hope it can help someone.

 

Daniel

Archived

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

×
×
  • Create New...