Jump to content
Latest News: (loading..)

RAC

Members
  • Content count

    75
  • Joined

  • Last visited

Profile Information

  • Real Name
    Shaun

Recent Profile Visitors

1,261 profile views
  1. Hello Rainer I have moved the RewriteEngine On, to the top of my .htaccess file as suggested. The code you posted gave an internal server error. Shaun
  2. Hello Christoph I have been in discussions with my host for the last two days but they, so far, have been unable to sort it! I will try again with the info you have provided. Also, you have forgotten Christoph, I do not know what I am doing, so explanations need to be simpler! I understand that the .htaccess file will need to be moved or merged to my catalog, but Rewritebase!! Regards Shaun
  3. Hello all I am running bs Edge and am trying to figure out how to link my “index of /” page to my shop. Currently I have an index,hlml in the public_html folder that is redirecting to a simple under construction page. Also in the public_html folder are a couple of files from my host, a favicon.ico file and my catalog folder, and finally a .htaccess file, (which has two redirects) : RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.retro-antiques-curios.co.uk/$1 [R=301,L] RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] I do not intend to open a blog, or any other section of the website. Obviously when I remove the under construction index.html my above domain address lands on the index of / section, which as you know just lists the above files. Ideally I would like have anyone who types in www. (or just) retro-antiquer-curios.co.uk to go to my shop, is this possible? What other options do I have from this position? Maybe an “enter” page? Any suggestions will be much appreciated. Regards Shaun
  4. Thank you for the link Christoph, I will have a good look at this before I configure the ssl. I saw somewhere there was a problem with images and links needing to be renamed, can this be done with .htaccess? Hopefully it will be mentioned in the above. Thanks again for your time. Regards Shaun
  5. Oh, and obviously remove the under construction redirect.
  6. All sorted! You were right Rainer, my host chat found there was an issue with the under construction redirect. Thanks @raiwa and @beerbee You are stars. So all I need to do is alter the two configure.php files to complete the ssl setup? Shaun
  7. Hi Christoph, nice to hear from you again. The ssl was installed a couple of weeks ago but I have not configured it yet. The site was working fine until a couple of days ago. Do you think it would be worth configuring this now? Shaun
  8. Admin .htaccess # $Id$ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers #<IfModule mod_setenvif.c> # <IfDefine SSL> # SetEnvIf User-Agent ".*MSIE.*" \ # nokeepalive ssl-unclean-shutdown \ # downgrade-1.0 force-response-1.0 # </IfDefine> #</IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # php_value session.use_trans_sid 0 # php_value register_globals 1 admin/includes/configure.php <?php define('HTTP_SERVER', 'http://www.retro-antiques-curios.co.uk'); define('HTTPS_SERVER', 'http://www.retro-antiques-curios.co.uk'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/RAC_Shop/**'); define('HTTPS_COOKIE_PATH', '/RAC_Shop/***'); define('HTTP_CATALOG_SERVER', 'http://www.retro-antiques-curios.co.uk'); define('HTTPS_CATALOG_SERVER', 'http://www.retro-antiques-curios.co.uk'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/**/public_html/RAC_Shop/'); define('DIR_WS_ADMIN', '/RAC_Shop/****/'); define('DIR_WS_HTTPS_ADMIN', '/RAC_Shop/admin/'); define('DIR_FS_ADMIN', '/home/**/public_html/RAC_Shop/**/'); define('DIR_WS_CATALOG', '/RAC_Shop/'); define('DIR_WS_HTTPS_CATALOG', '/RAC_Shop/'); define('DIR_FS_CATALOG', '/home/***/public_html/RAC_Shop/'); define('DIR_WS_CATALOG_IMAGES', '../images/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '***'); define('DB_SERVER_PASSWORD', '***'); define('DB_DATABASE', '***'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('CFG_TIME_ZONE', 'Europe/London'); ?>
  9. Still no joy in accessing admin error message reads: Forbidden You don't have permission to access /RAC_Shop/*******/ on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I followed @raiwa instructions, but the last bit I am confused with, when I try to enter admin I get the above forbidden message.
  10. I have been wracking my tiny brain to find the problem. I have compared the current restored database with the saved database using WinMerge and it seems that the restored database, is only 2/3's of the stored database. The backed up sql file that I am trying to restore is only 640kb, (yes, less than 1MB), but the one that has been restored is only 420kb. I have done this three times with the same result. To restore I used phpmyadmin, I select the current DB, scroll to bottom, check all, click "with selected" and then "drop", yes to confirm, the database has now gone. I click Import, select the saved file, and click go, after a short while green successful bar is shown. Where am I going wrong? Do I need a brain transplant?
  11. OK shop-side is now working, as Rainer stated it was an error in the includes/configuration file. There is still no joy on the admin side, any further suggestions? I will retrace my steps again from my first post forum and post any findings.
  12. error log [09-Feb-2018 12:25:31 Europe/London] PHP Warning: mysqli_connect(): (28000/1045): Access denied for user '*******'@'localhost' (using password: YES) in /home/*******/public_html/RAC_Shop/includes/functions/database.php on line 20 Line 20 $$link = mysqli_connect($server, $username, $password, $database); I have not been asked for password, as in the error log. I have also used a Tor browser, that obviously holds no data, still no joy!
  13. No still can't login to the admin, now, on the shop-side I have no access either, "Unable to connect to database server!".
  14. Hello Rainer, thanks for your prompt reply. What about the line between them? Shaun
  15. Hello all. I have just restored my DB and shop from a recent backup. Now I am unable to login to admin. I followed the instructions by @raiwa contained here. https://forums.oscommerce.com/topic/409939-osc23-htpasswd_oscommerce-unable-to-login-to-admin/ but I am still unable to access admin, I get this message, Forbidden You don't have permission to access /RAC_Shop/*********/ on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I noticed in the admin/.htaccess file there were two OSCOMMERCE ADMIN PROTECION files, and the line of text between them, I deleted the second, (as it was similar to the one in the link above), do I need to delete the first one too? and what about the text between? ##### OSCOMMERCE ADMIN PROTECTION - BEGIN ##### AuthName "osCommerce Online Merchant Administration Tool" ##### OSCOMMERCE ADMIN PROTECTION - END ##### AuthUserFile "/home/*******/.htpasswds/public_html/RAC_Shop/*********/passwd" ##### OSCOMMERCE ADMIN PROTECTION - BEGIN ##### AuthType Basic AuthName "osCommerce Online Merchant Administration Tool" AuthUserFile /home/*******/public_html/RAC_Shop/*********/.htpasswd_oscommerce Require valid-user ##### OSCOMMERCE ADMIN PROTECTION - END ##### Thanks in advance, Shaun BS Edge 07/17
×