zefeena Posted August 23, 2018 Share Posted August 23, 2018 I have just done a new install, and everything seems okay except I cannot log onto the admin. I tried the php admin reset password but not with any joy! Can anyone suggest why its not working? I live in an internet blackspot - could this be causing a problem - i.e not updated the password. I also notice every time I try to go to the login page it flashes up in the browser with 'website not secure' in red. I have set a password on my admin folder(after not getting in the admin as I thought maybe the insecure bit was the problem), and changed the admin name. Totally stuck now. Desperately need help - this is an obstacle I never seem to be Abel to overcome!! thank you Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
LeeFoster Posted August 23, 2018 Share Posted August 23, 2018 As you've only done a new install I'd say delete it and start again. Link to comment Share on other sites More sharing options...
zefeena Posted August 23, 2018 Author Share Posted August 23, 2018 Well that won't help as it will just happen again. I wrote down the password originally, so I know that I was inputting the correct details. The error is not in the install process., so repeating it is pointless. Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 23, 2018 Share Posted August 23, 2018 Yes it will, it is quite posiable that the install was messed up during instalation or the files you used to do the install did not unzip properly. You need to check thinks one step at a time. Link to comment Share on other sites More sharing options...
zefeena Posted August 23, 2018 Author Share Posted August 23, 2018 Well I went through the whole process again, and the same thing happens. It won't let me into admin. Odd thing about this red warning in the browser, and mostly when I input the user/password it just clears rather than actually failing as a login. After several attempts I now get this error! I am thinking this is all either to do with my impoverished internet connection, or safari, or the server security or something, rather than a dodgy install on my behalf. Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
zefeena Posted August 23, 2018 Author Share Posted August 23, 2018 This is what it shows in the browser as soon as I go to enter my user/password details Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
ArtcoInc Posted August 23, 2018 Share Posted August 23, 2018 @zefeena 1) Are you running a SSL certificate on your site, either partially or entirely? 2) Do you know if your host is running a Linux or Windows server? M Link to comment Share on other sites More sharing options...
zefeena Posted August 23, 2018 Author Share Posted August 23, 2018 It seems I need to log in on an Https:// address but I'm currently set to a www. address, how do I change it, as it automatically re-directs to www. when I put in the https, and my browser is having none of it! Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
zefeena Posted August 23, 2018 Author Share Posted August 23, 2018 There is ssl installed. But Mac has had an update and its this that seems to be stopping me getting through Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 24, 2018 Share Posted August 24, 2018 10 hours ago, zefeena said: It seems I need to log in on an Https:// address but I'm currently set to a www Set this in you config files. At first I would turn off all redirects untill you have both admin and shop front working. When you know you have it all set up as you need you can introduce the redirects as required. The rewrites should work with this, RewriteEngine On RewriteCond %{HTTPS} off # this makes it a permanent redirect RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] config Should look like this for normall root store. <?php define('HTTP_SERVER', 'https://www-somedomain-com'); define('HTTPS_SERVER', 'https://www-somedomain-com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/youradmin'); define('HTTPS_COOKIE_PATH', '/youradmin'); define('HTTP_CATALOG_SERVER', 'https://www-somedomain-com'); define('HTTPS_CATALOG_SERVER', 'https://www-somedomain-com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/somedomain/public_html/'); define('DIR_WS_ADMIN', '/youradmin/'); define('DIR_WS_HTTPS_ADMIN', '/youradmin/'); define('DIR_FS_ADMIN', '/home/somedomain/public_html/youradmin/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/somedomain/public_html/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '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', 'www-somedomain-com'); define('DB_SERVER_USERNAME', 'YourUsername'); define('DB_SERVER_PASSWORD', 'YourPassword'); define('DB_DATABASE', 'somedomain_store'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('CFG_TIME_ZONE', 'Europe/London'); ?> Link to comment Share on other sites More sharing options...
MrPhil Posted August 25, 2018 Share Posted August 25, 2018 Issue for config.php files: do you want SSL (https) on all pages, or just critical ones? It's now considered best practice to use SSL on all pages, which you do by changing all "http://..." entries in the config.php files to "https://..." (and of course, SSL is installed and enabled). That includes those starting with HTTP_. Issues for .htaccess: if you are using SSL on all pages, you should have a URL rewrite to take any incoming http: and redirect it (R=301) to https:. At the same time (only issue one redirect if at all possible), you should either force the use of www. in the domain name, or its absence. When you say your address is "set to" www., that's a misunderstanding on your part. The default protocol for just typing in a URL starting with a domain name is http: (the browser adds it if you don't type it in, to help lazy people). It sounds like your existing .htaccess has a redirect from non-www to www, but it's coded to send it to http:. That needs to be fixed, or you may get a loop (too many redirects). Link to comment Share on other sites More sharing options...
zefeena Posted October 21, 2018 Author Share Posted October 21, 2018 I did check all of the above, made a few changes, but still same problems - nothing updates/saves when I change details in a catalogue and they disappear/reappear randomly when I click on other items! Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
zefeena Posted October 24, 2018 Author Share Posted October 24, 2018 With a few changes I got past the SSL issues, but the install is still corrupt it seems so unfortunately I think I'm going to have to scrap it until I can find someone who has a stable internet connection to do it for me. We get beautiful country views here - but terrible internet! lol Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
ArtcoInc Posted October 24, 2018 Share Posted October 24, 2018 @zefeena Do you have success using your FTP program to move files on and off the server for your old store? Could you have something configures in your FTP program that is messing thing up when you try to upload your new store? Just a thought ... M Link to comment Share on other sites More sharing options...
zefeena Posted October 25, 2018 Author Share Posted October 25, 2018 I think the main problem is my internet. It takes hours to transfer the files and the internet connection cannot remain stable for that length of time. It is always on and off. I'm going to take my Mac to a friends on Saturday and have another go. Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
MrPhil Posted October 26, 2018 Share Posted October 26, 2018 "website not secure" is likely a reminder from your browser that you are using http: instead of https: to log into your site. As long as you have SSL installed (for https), you might as well make the entire site under SSL (all https). If you're already all-SSL, could this be a message from osCommerce? Can you tell which is which? If you have poor Internet connectivity (frequent signal drops, etc.), you need to talk to your Internet supplier (ISP). Is this wireless or wired? If wireless, you may simply be in an area with poor signal. If there are others in the same boat, perhaps you could interest the provider in upgrading their network (i.e., it could be profitable for them). In the meantime, can you switch to DSL or cable modem? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.