BlackberryBuckets Posted November 1, 2006 Posted November 1, 2006 I have been messing with this forever!! I tried the .htaccess file and finally got the login box to pop up. When I enter my user name and password it just pops up again and again and again!! so...I decided to change the name of the admin folder. Should be much easier right?? WRONG!! I changed the name of the folder. I went into the admin/includes/configure.php and changed the "ADMIN" to the new file name...where applicable. Now...this is what I get: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/X/X/X/XXXX/html/catalog/XXXX/includes/functions/database.php on line 19 Unable to connect to database server! Any idea what else I might need to change to make this work. I'm about to give up on osCommerce for good!! Any help would be greatly appreciated!! Thanks, Rhoda
♥Vger Posted November 1, 2006 Posted November 1, 2006 Hopefully you didn't change the entries which said 'ADMIN' in capital letters, only the file pathways e.g. /admin/ to /newname/ Vger
BlackberryBuckets Posted November 1, 2006 Author Posted November 1, 2006 Nope...I only changed the lowercase "admin" I figured out that I had to change it before I even did the install...and there were a few lines that I had to change in an install folder as well (it was install page 7 on lines 159,160,161) for anyone else who may be having problems. Works like a charm...now I'm on to the next challenge!! Rhoda
BlackberryBuckets Posted November 2, 2006 Author Posted November 2, 2006 Nope...I only changed the lowercase "admin" I figured out that I had to change it before I even did the install...and there were a few lines that I had to change in an install folder as well (it was install page 7 on lines 159,160,161) for anyone else who may be having problems. Works like a charm...now I'm on to the next challenge!! Rhoda I was messing around again today...and found the exact path for those of you who may need it: intall/templates/pages/install_7.php edit the "admin" on line 259 (not 159). That's it :) Rhoda
Recommended Posts
Archived
This topic is now archived and is closed to further replies.