bnguru Posted August 4, 2019 Share Posted August 4, 2019 Thanks to KG's answer I was able to get the new version to install. Now that I did I recall needing to go into many files to set up paths, passwords and user names. Is there a simple step-by-step document somewhere that clearly states what I need to manually edit, where the files are and what to do? Currently when I try to open my admin page I get this: Warning: mysqli_connect(): (28000/1045): Access denied for user 'mysql'@'localhost' (using password: NO) in /home3/bnguru/public_html/catalog3/admin/includes/functions/database.php on line 20Unable to connect to database server! Steve in Ellenton, FL Link to comment Share on other sites More sharing options...
kgtee Posted August 4, 2019 Share Posted August 4, 2019 Here is a good guide provided by a web hosting company. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 4, 2019 Share Posted August 4, 2019 5 hours ago, bnguru said: Is there a simple step-by-step document somewhere that clearly states what I need to manually edit, where the files are and what to do? the official doc's are here, https://library.oscommerce.com/ Most of the backend is unchanged. If installed corectly you should not have to change any paths, all you need to do is remove the install directory and change permisions on the config files, osC will just run out of the box if installed corectly. Your error is line 20! Access denied for user 'mysql'@'localhost Line 20 is, mysqli_connect($server, $username, $password, $database); As the error states you have on eof the 4 items or more wrong. Most likly is user name or password but check all 4. Link to comment Share on other sites More sharing options...
bnguru Posted August 5, 2019 Author Share Posted August 5, 2019 OK, but where are the variables: $server, $username, $password and $database defined? Steve in Ellenton, FL Link to comment Share on other sites More sharing options...
kgtee Posted August 5, 2019 Share Posted August 5, 2019 36 minutes ago, bnguru said: OK, but where are the variables: $server, $username, $password and $database defined? I believe you missed the steps to create the database. Please refer to step 4 and 5 of the guide I mentioned. Having created the database, you will then have all the 4 variables you need to input in step 8. Link to comment Share on other sites More sharing options...
bnguru Posted August 5, 2019 Author Share Posted August 5, 2019 I did that and the variables do exist, but is there a file that may now have been created correctly? Steve in Ellenton, FL Link to comment Share on other sites More sharing options...
Dan Cole Posted August 5, 2019 Share Posted August 5, 2019 The details should be in your configuration.php files...there are two, one on the shop side and the other for the admin side....check and see if the information matches up with what you setup. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
kgtee Posted August 5, 2019 Share Posted August 5, 2019 You may check the file catalog/admin/includes/configure.php, it should contain all the paths and database settings. Link to comment Share on other sites More sharing options...
bnguru Posted August 5, 2019 Author Share Posted August 5, 2019 In configure.php the variables are defined. What does it mean by "(using password: NO)" There is a password defined. Steve in Ellenton, FL Link to comment Share on other sites More sharing options...
bnguru Posted August 5, 2019 Author Share Posted August 5, 2019 Login info was not in the admin/configure.php I added it in and now get this: Sorry, this page doesn't exist. Please check the URL or go back a page. 404 Error. Page Not Found. Steve in Ellenton, FL Link to comment Share on other sites More sharing options...
Dan Cole Posted August 5, 2019 Share Posted August 5, 2019 Where are you seeing "(using password: NO)"? You should have the database password specified in your configure.php file. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
bnguru Posted August 5, 2019 Author Share Posted August 5, 2019 Latest error: Warning: require(/catalog3/includes/classes/action_recorder.php): failed to open stream: No such file or directory in /home3/bnguru/public_html/catalog3/admin/includes/classes/action_recorder.php on line 13Fatal error: require(): Failed opening required '/catalog3/includes/classes/action_recorder.php' (include_path='.:/opt/php54/lib/php') in /home3/bnguru/public_html/catalog3/admin/includes/classes/action_recorder.php on line 13 Steve in Ellenton, FL Link to comment Share on other sites More sharing options...
bonbec Posted August 5, 2019 Share Posted August 5, 2019 Hello Steve, You have completed the installation:1) directly on the server?2) on your computer then did you do a file transfer?If this is the second solution, make sure that you have transferred all the administration files. The paths are different depending on whether one is on his computer or on the production server.PS: we have the same activity but not in the same country 😉 with OsC 2.2 since 2006 ... Link to comment Share on other sites More sharing options...
bnguru Posted August 5, 2019 Author Share Posted August 5, 2019 the installation was done on the server. I've decided to wipe out all the files, re-download 2.4 and re-install from scratch just in case something wasn't done correctly. Steve in Ellenton, FL Link to comment Share on other sites More sharing options...
bonbec Posted August 5, 2019 Share Posted August 5, 2019 Ok. I saw that you had different site versions in different directories. Be careful not to give the same database name of an existing database. with OsC 2.2 since 2006 ... Link to comment Share on other sites More sharing options...
Dan Cole Posted August 5, 2019 Share Posted August 5, 2019 2.4? You want the Phoenix version. It is listed on the downloads page or see my signature file. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
bnguru Posted August 6, 2019 Author Share Posted August 6, 2019 When I look at the downloads, there is "Phoenix Edition v1.0.1.0" and "v2.3.4.1 Full Package" Which one should I actually download and install and why? Steve in Ellenton, FL Link to comment Share on other sites More sharing options...
kgtee Posted August 6, 2019 Share Posted August 6, 2019 Phoenix is the latest OSC offering. You should follow this forum: Link to comment Share on other sites More sharing options...
bnguru Posted August 7, 2019 Author Share Posted August 7, 2019 I am happy to say I successfully installed Phoenix v1.0.1.0 But... the default when I unzipped the file created the "gBurton" directory - see below. How do I get rid of thei to simplify the url and my editing. What I have: http://www.trainliquidators.com/catalog3/gburton-Responsive-osCommerce-88db268/index.php What I want: http://www.trainliquidaotrs.com/index.php (or at worse - catalog3/index.php) Also - one more question, will most of the cosmetic changes (header, footer, etc.) transfer easily from my old version? Also, what about older mods like discount coupon, Captcha. I presume I can still modify the databases to represent the customer info I require and a few item fields? Steve in Ellenton, FL Link to comment Share on other sites More sharing options...
ArtcoInc Posted August 8, 2019 Share Posted August 8, 2019 @bnguru This might give you some insight into the installation process ... HTH M Link to comment Share on other sites More sharing options...
kgtee Posted August 8, 2019 Share Posted August 8, 2019 3 hours ago, bnguru said: I am happy to say I successfully installed Phoenix v1.0.1.0 But... the default when I unzipped the file created the "gBurton" directory - see below. How do I get rid of thei to simplify the url and my editing. What I have: http://www.trainliquidators.com/catalog3/gburton-Responsive-osCommerce-88db268/index.php What I want: http://www.trainliquidaotrs.com/index.php (or at worse - catalog3/index.php) You can still move the index.html and all files, folders and sub-folders in the same folder as index.html to the root directory of your www website. Just use a file manager. After that you will need to edit 2 files; includes/configure.php and (admin)/includes/configure.php, and change the file paths to effect new paths. Hope this is not too difficult for you. Link to comment Share on other sites More sharing options...
kgtee Posted August 8, 2019 Share Posted August 8, 2019 4 hours ago, bnguru said: Also - one more question, will most of the cosmetic changes (header, footer, etc.) transfer easily from my old version? Also, what about older mods like discount coupon, Captcha. I presume I can still modify the databases to represent the customer info I require and a few item fields? You have to do some database export and import, only for those tables related to products, categories, manufacturers, customers, orders, and any other which you have accumulated over the past years. You should not import configuration tables in particular as the new osC has a new set of settings of its own. This is assumng you know the basics of MySQL and the tools to do export and import. Link to comment Share on other sites More sharing options...
kgtee Posted August 8, 2019 Share Posted August 8, 2019 But why install 1.0.1.0 when you can install the newer 1.0.1.2? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.