Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Everything should be 644 except the two config files?


reeflabs

Recommended Posts

Is it coreect that all of the catalog dir should be CHMOD 644 except the two config files which should be 777? I'm getting the following string(which i assume is the file contents) when trying to reach /install via the browser:

 

<?php

/*

$Id: index.php,v 1.1 2002/01/02 13:02:38 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application.php');

 

$page_file = 'index.php';

$page_title = 'Welcome';

$page_contents = 'index.php';

 

require('templates/main_page.php');

?>

Link to comment
Share on other sites

lol...so anything else i should ignore in the OFFICIAL installation instructions?

 

Additionally...there's threads all over contradsicting you, and saying the admin/include/config and the includes/ config files should be 706 or 777

 

PS - didn't work either. :)

Link to comment
Share on other sites

well from what i see the SAFE options are 444 or 644 for the config files, I use 444 which is read read read. This works for me. Why should anyone be able to write or execute the configure files other than me!?

 

Unless I see your site its hard to figure out what you mean!! You might be explaining it wrong.

 

You might have missed some files.

 

You might have set the wrong server details.

 

You might even be typing in the wrong url!?

 

Check these posts out

 

 

http://www.oscommerce.com/forums/viewtopic.php?t=52915

 

http://www.oscommerce.com/forums/viewtopic.php?t=52503

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

thanks a bunch! Just excited to get any help!

 

I've done NO site implementation. My site is still on its own....no connection to the cart yet.

 

I'm just uploading and trying to install..:(

 

I'm literally at the first step of installation. Here's EXACTLY what the installation directions state:

 

Set the permissions on:

 

/catalog/includes/configure.php

/catalog/admin/includes/configure.php to 706 or 777

 

If these permissions are not set correctly you will get an error when installing telling you the permissions are not set correctly.

 

Using phpMyAdmin or other tool, create your database and user, and assign that user to the database. Write down the name of the database, login, and password for this database for the install fields later on.

 

Open your web browser, and point it to yourserver/catalog/install/ and follow these steps:

Link to comment
Share on other sites

Yes when first installing set the configs files at 706 or 777 so when you run through the install these files are changed to suit your server. Once the install is complete then chmod them to 444 or 644

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

once you've uploaded everything, check the chmod of the config file are at 706 or 777.

 

Then go to the index.php file under install/

 

eg http://www.yoursite.com/catalog/install/index.php

 

and let me know if you get the install screen up!

 

Ps doy ou have PHP with your hosting? and mySQL?

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

My host is Earthlink, running on UNIX..I'm assuming PHP and MySQL is supported..pretty standard right?

 

ok...I re-uploaded the entire ctalog file, then went into trhe two config files and changed permisisons to 777, and I get the following code...which i assume id the file contents:

 

<?php

/*

$Id: index.php,v 1.1 2002/01/02 13:02:38 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application.php');

 

$page_file = 'index.php';

$page_title = 'Welcome';

$page_contents = 'index.php';

 

require('templates/main_page.php');

?>

Link to comment
Share on other sites

looks like you should check if you have PHP and mySQL on your hosting account!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...