Guest Posted October 27, 2002 Share Posted October 27, 2002 See also : "Warning: Access denied for user: 'mysql@localhost'". I can't get permission to data base: Says Access denied for user: mysql@localhost. Iam not using this name for anything? Link to comment Share on other sites More sharing options...
Trusten Posted October 27, 2002 Share Posted October 27, 2002 by the looks of it, you did NOT install with the install folder, right? i mean /catalog/install/ at any rate, you are getting that because the server is complaining. it's telling you that there is a file, trying to gain access to the database, with that informatin. go to /catalog/includes/configure.php at the bottom of the page, you will see those database information. same with admin /admin/includes/configure.php you must configure these files before you will ever reach your database. using the /catalog/install/ folder is much easier though. Link to comment Share on other sites More sharing options...
Trusten Posted October 27, 2002 Share Posted October 27, 2002 ok, i saw your other post. it is NOT a database thing. one of the files are trying to reach your database with bogus info. um, quick question, are you getting this error on the HTTP://yoursite.com or HTTPS://yoursite.com ?? Link to comment Share on other sites More sharing options...
Guest Posted October 27, 2002 Share Posted October 27, 2002 Hi trusten I'm having this problem on http:// mysite. The strange thing is that Admin works fine - with identical parameters in the configuration file as with catalog/includes/configuration.php. I can change the shop config and image size presets and file manager and everything. When I installed catalog/install/install.php it told me that the configuration was successful except for: Step 2: osCommerce Configuration Warning: fopen("/home/mywebsite/web/catalog/includes/configure.php", "w") - Permission denied in /home/mywebsite/web/catalog/install/templates/pages/install_5.php on line 114 Warning: fputs(): supplied argument is not a valid File-Handle resource in /home/mywebsite/web/catalog/install/templates/pages/install_5.php on line 115 Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/mywebsite /web/catalog/install/templates/pages/install_5.php on line 116 Warning: fopen("/home/mywebsite/web/admin/includes/configure.php", "w") - Permission denied in /home/mywebsite/web/catalog/install/templates/pages/install_5.php on line 166 Warning: fputs(): supplied argument is not a valid File-Handle resource in /home/mywebsite/web/catalog/install/templates/pages/install_5.php on line 167 Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/mywebsite/web/catalog/install/templates/pages/install_5.php on line 168 The configuration was successful! What do you think? Link to comment Share on other sites More sharing options...
Trusten Posted October 27, 2002 Share Posted October 27, 2002 i think your shop is slightly buggard. when that happened, it was usually because a file was damaged, and i mean that. that happened to me before. what i had to do was completely re-upload the files. your database is your store. all that matters is your database. do this, back up your database, from phpmyadmin, and name it oscommerce.sql then, replace that oscommerce.sql in the 'install' folder, with YOUR oscommerce.sql. otherwise, re-upload the whole catalog. (just rename the folder of the current catalog, don't overwrite it). make a new folder of the proper name of the catalog, upload the files (including your oscommerce.sql) (consider putting it into a new database if you can). then go through the install one more time, using your bk up as the oscommerce.sql file. you'll have to recustomize any changes you've made, but trust me, as far as i can tell, you did something to sheg up your config file. like i said, it happened to me before. all i could do was rebuild. let me know how it goes. oh, and make two bk's for your database, also, make sure you RENAME the folder that your catalog is in now, that way, worse case sanerio, it'll act as a store back up. so here goes 1. make a new folder (name doesn't matter) 2. upload the files 3. back up your database, twice, making sure to name the file oscommerce.sql 4. replace the oscommerce.sql in the new install folder, with your database back up oscommerce.sql 5. go through the install once more 6. go back through and 'upgrade' right after you install (that'll clean things up in the database) 7. server hot, and customize to your liking. bon appetit Link to comment Share on other sites More sharing options...
Guest Posted October 27, 2002 Share Posted October 27, 2002 Hey trusten, I was already thinking the same thing-so I actually replaced the main catalog file with one I had running on another server, changed the config file to match my new server an viola! Its taken me a full 48 hours non stop to work it out - I'm beat - good night. Link to comment Share on other sites More sharing options...
Trusten Posted October 27, 2002 Share Posted October 27, 2002 i responded ten minutes after you and are you telling me you couldn't have said this sooner? oh well it's working at least Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.