riskylin Posted July 17, 2004 Posted July 17, 2004 hi all i think i need some serious help just bought a web shop and i dont know were to start. how do i set permissions so that i can edit text and catagories.also after playing aroung i have lost all the colour from my adminpage and have got red crosses in all the boxes (cancel,edit, etc).so if you can help please please please
riskylin Posted July 17, 2004 Author Posted July 17, 2004 really messed up have lost my web page www.riskylingerie.net (on google) please help
ozcsys Posted July 17, 2004 Posted July 17, 2004 really messed up have lost my web page www.riskylingerie.net (on google) please help Warning: mysql_connect(): Access denied for user: 'riskylin_riskyli@localhost' (Using password: YES) in /home/riskylin/public_html/catalog/includes/functions/database.php on line 19 Unable to connect to database server! This means that the database information in your configure.php does not match your database and user information for your database. If your store was running properly prior to your changes then you should up-load a copy of the congifure.php file from before you made the changes. In your other post you mentioned some other problems and they are probably all related to the same file. If you purchased the site you should have a backup, if not contact the person you purchased the site from. If you cannot access a backup then you will need to find out what your database settings are supposed to be and change them back. One thing to keep in mind. NEVER make any changes to a file without backing up and saving everything you plan on changing including the database. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
siavash Posted July 17, 2004 Posted July 17, 2004 i suggest that you replace two or perhaps 4 files and edit your database settings as you should (paths as well as database name, username and password, etc.) ALWAYS BACK UP! just unzip an OsCommerce 2.2 . under catalog/includes/ copy the configure.php file and place it on your server in the same directory instead of your current configure.php . repeat the same step with configure.php in catalog/admin/includes hope this will resolve the problem. just in case i have put a catalog/includes/configure.php below (of course you need to edit it (enter your correct data and paths) before it can work for you). ALWAYS BACK UP! <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/riskylin/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Did you try? Did you fail? No matter! Try again. Fail again! But fail better!
riskylin Posted July 17, 2004 Author Posted July 17, 2004 hi everyone thanks for the replies but i really dont understand what to do or where to start so i think i might just give up x x
Guest Posted July 17, 2004 Posted July 17, 2004 Who did you buy the web shop from? Do they not provide support? Gina B) "Never - ever give up!"
Destra Posted July 18, 2004 Posted July 18, 2004 Did you purchase a packaged website or did you have to upload the files yourself. I am assuming it is the latter and probably the seller can help re-upload the original files or atleast offer some help. Considering you probably didnot edit your configure.php then it could even be the webhost's problem and not something you did (especially since it is happening in admin also).
riskylin Posted July 25, 2004 Author Posted July 25, 2004 TRIED TO GET IN CONTACT WITH THE PERSON WHO SOLD ME WEB SITE (ON EBAY) BUT HES BEEN PAYED AND WONT REPLY.WHAT I REALLY NEED IS SOMEBODY WHO CAN FIX THIS MONSTER FOR ME.I HAVE READ ALL YOUR REPLIES AND AM GRATEFUL FOR THE TIME TAKEN BUT I MUST BE READING HEBREW BECAUSE MY WEB BUIDING KNOWLEDGE IS 0.00000000% AND FALLING. ( I KNOW I SOUND LIKE A NUROTIC WOMAN BUT JUST WANTED TO SHOW THE FAMILY THAT I CAN DO SOMETHING MYSELF) SO ANY KNIGHTS OR KNIGHTESSES IN SHINNING ARMOUR ARE GRATEFULLY RECIEVED TRY TRY AGAIN THEN JUST GIVE UP X X
Recommended Posts
Archived
This topic is now archived and is closed to further replies.