gorillacyclist Posted April 24, 2004 Posted April 24, 2004 Ok here goes oscart installation for windows users. ( my fist stab at doc writting) 1 get php,mysql,apache environment I downloaded easyphp 1.7 [http://www.easyphp.org/] altho some doc is in french 2 download os commerce 3 unzip os commerce unzip winzip or whatever 4 move catalogue and everything to www folder in easy php directory. I did it so the catalogue scripts were directly in root. This is your server environment 5 if you run the application now ( type http://localhost) to your browser you will encounter an error with some environmental variables - register_globals - not set these can be edited in php.ini (analogues to global.asa in ASP I think) 6 You will have to restart server to implement changes 7 now set browser to ponit inside install folder 8 installation will commence 9 follow wizard I I created a new database using the phpmyadmin tool, I dragged it into the www root so I could run it, then typed create cart1 in the form, I imported the sql dump (i presume) from install folder oscommerce.sql - this I think is a sql command to create all the tables and relations for the demo. 10 having created a database cart1 (had to amend in mysql folder as there was a folder there called create cart 1 ) I went to stage 2 and put ------------------------------------------------------------------------- Database Server: localhost // do not use the http: part or 127.0.0.1 Username: root Database //make this the name of the database that you created Password: // leave this blank till you get to know your way around {thanks 241 - steve} ---------------------------------------------------------------------------- and it worked, every thing else was easy on stage 5 I think it was I put session cookies to /tmp/ - had some problems here as windows was not allowing me to change read only on this folder (even though I am administrator) so i ticked the store in database radio button. and no problems, followed the apps advice by renaming install folder - you would want to delete on remote server to stop people playing with your cart, this set-up things for local testing, though you will probably have to make admin folder secure maybe put in SSL folder and add password but have not got this far yet hope this helps, sorry if I made any incorrect assumptions on anything PHP never used it before but keen to learn, sorry if I skipped anything but think this should be detailed enough for most people feel free to add. :)
241 Posted April 24, 2004 Posted April 24, 2004 Paul, you do not need to move phpMyAdmin to the www in order for it to work it should work from the easyphp directory with http://127.0.0.1/mysql/ provided that everything is configured. Did you find the language change so that you can have everything in english including your logs No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
gorillacyclist Posted April 24, 2004 Author Posted April 24, 2004 yes found that (language), had a bit of a shock at first! easyphp works as well. Thought I had to be in www to run stuff. Thanks Paul
241 Posted April 24, 2004 Posted April 24, 2004 Yes your websites require to be in www however your phpmyadmin does not, anyway glad you got up and running now you can play around as much as you want. Create a secondary cart in the www complete with database so that you allways have a backup including a database backup incase you break the cart when modifying. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
radders Posted April 25, 2004 Posted April 25, 2004 I couldn't find php.ini only php.ini-recommended and php.ini-dist Any ideas how to find it? I've tried both manual and automatic search and it just doesn't show up.
241 Posted April 25, 2004 Posted April 25, 2004 this is an RTFM :P you need to rename php.ini-recommended to php.ini and place this in the apache directory if using easyphp with apache in the easyphp directory :D you must have been busy radders as havent seeen you in forum for a while :rolleyes: No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
241 Posted April 25, 2004 Posted April 25, 2004 Yes it is and great for developement work I upgraded my component parts php phpMyadmin and mysql added perl more to pear and mail server, yet to upgrade apache to apache2 though No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Dora Posted May 10, 2004 Posted May 10, 2004 I get the feeling that I am not understanding this php.ini stuff. I have changed the recommended to just php.ini, moved it to Apache within the PHP file, and opened it in notepad and changed off to on.. still won't work, get the same error message.. HELP!
Dora Posted May 10, 2004 Posted May 10, 2004 Ok.. disregard the last question... I got that to work, but now I get this message: New Installation osCommerce Configuration A test connection made to the database was NOT successful. The error message returned is: Access denied for user: 'dora@localhost' (Using password: NO) Please click on the Back button below to review your database server settings. If you require help with your database server settings, please consult your hosting company. HELP!! :huh:
gorillacyclist Posted May 11, 2004 Author Posted May 11, 2004 hi dora, I'm no expert but seems like you are not setup as root/administrator for your computer - I used to have some problem with netsacpe with this even when logged on as administartor. Paul
Guest Posted May 11, 2004 Posted May 11, 2004 this is a contribution if searched for. here is another one which has always been posted. http://internetmaster.com/installtutorial/index.htm
detsouvalas Posted May 11, 2004 Posted May 11, 2004 Hello Dora! Access denied for user: 'dora@localhost' (Using password: NO) As far as I know, this concern has not much to do with your Windoz machine! Have you created the user named 'dora' in MySQL, through phpMyAdmin? If not, it will never work! Try using user 'root' for a start, as advised in the first post! B) Antonios
duccy Posted March 11, 2006 Posted March 11, 2006 Installation was easy enough, however I am having trouble with the tmp folder, I am not sure what you mean by "ticked" osCommerce, I am assuming you "tricked" osCommerce. If you have any solution to this it would be appreciated. The errors I am receiving are as follows: Warning: session_start(): open(/tmp\sess_505cc51a84066c2428621959a55eb065, O_RDWR) failed: No such file or directory (2) in c:\program files\easyphp1-8\www\oscommerce-2.2ms2-051113\oscommerce-2.2ms2-051113\catalog\includes\functions\sessions.php on line 97 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\program files\easyphp1-8\www\oscommerce-2.2ms2-051113\oscommerce-2.2ms2-051113\catalog\includes\functions\sessions.php:97) in c:\program files\easyphp1-8\www\oscommerce-2.2ms2-051113\oscommerce-2.2ms2-051113\catalog\includes\functions\sessions.php on line 97 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\easyphp1-8\www\oscommerce-2.2ms2-051113\oscommerce-2.2ms2-051113\catalog\includes\functions\sessions.php:97) in c:\program files\easyphp1-8\www\oscommerce-2.2ms2-051113\oscommerce-2.2ms2-051113\catalog\includes\functions\sessions.php on line 97 These errors are not allowing me to access the folders in osCommerce admin section.
♥Vger Posted March 12, 2006 Posted March 12, 2006 On the last line of both configure.php files, make them read 'mysql' where indicated. This stores sessions in the database and not in files in a 'tmp' folder - so that should take care of the first error - and the other errors are caused by the first. Vger
Guest Posted August 5, 2007 Posted August 5, 2007 HI, I've managed to install OSC locally on XP, using EasyPHP. However, how can I access the admin section? Using EasyPHP's LocalWeb function, I get to open the Catalogue/users section. When trying to move the catalogue/admin folder to the www. directory (where 'catalogue' is, I get the error that the login page cannot be found? Was the file structure of the OSC download meant to have the admin folder seperate to the catalogue root, instead of being contained within it? (Essentially, just need to get into the admin panel) Regards Eddie
Recommended Posts
Archived
This topic is now archived and is closed to further replies.