dichrolady Posted July 25, 2010 Posted July 25, 2010 After several days of trying to figure out the installation of my SSL Certificate, probably due to my inexperience in this field, trying to decipher instructions here and through my webhost tech support, my SSL is finally working. I had to switch browser to Mozilla in order to view my site correctly....but now I can't access my Admin! I get this.... Error: Invalid administrator login attempt. What could have happened? My header disappeared, my product image thumnails wouldn't enlarge, quirky things happened after getting the SSL working and switching to Mozilla, but then everything worked again...except my OsC Admin. Any help would be appreciated. I am very new to all this....so take it easy on me. :blink: Thanks! Linda
Jan Zonjee Posted July 25, 2010 Posted July 25, 2010 but then everything worked again...except my OsC Admin. Are you trying to access your admin via http or https? Probably you would need https because if you use http the link in the page to "post" the values to are likely to the https version of the page. At least do a "view source" in your web browser to see if the link to the action in the form parameters is correct.
chadcloman Posted July 25, 2010 Posted July 25, 2010 Just to check the obvious, you know that there are two configure.php files that need to be changed, and that the one for the admin pages is located at catalog/admin/includes/configure.php? Check out Chad's News.
dichrolady Posted July 25, 2010 Author Posted July 25, 2010 Just to check the obvious, you know that there are two configure.php files that need to be changed, and that the one for the admin pages is located at catalog/admin/includes/configure.php? Thank you.....to answer Jan's question if I understood correctly, the page I go to when I try to access my Admin, at the top in my browser, it displays the following....https://mydomain.com/admin/login.php?osCAdminID followed by a long string of numbers & letters. So I guess my answer is I'm accessing via https, never knew I would have a choice. Chad, I had been reading the forums for a few days looking for a solution to this problem, I know I had changed something, but this wasn't it. To tell you the truth, it's been a bit overwhelming! Being so new at this and not knowing really anything about changing files,code,or any of the terminology...is a bit scary when it comes down to it. But I have learned a few things here and successfully carried them out. I just had to get the specifics. So, I need to change 2 files, the one you mentioned in your post, what do I need to put in there or change and in what line? And the second file? Which one is that and what needs to be done there? Ok.....now the only other way I know to access my files is through my webhost's control panel. I have 1and1, so I would have to download the files to Notepad? Do I save to the same name or change it? Make the changes to the file and upload them back into the original file? I only learned how to do this procedure yesterday to fix my SSL, so it's not like I know what I'm doing. :D I really appreciate you guys answering my post! It gives me some direction and fills my head with a little more knowledge in taking care of my site. Gosh, do I need it! Next project...getting my daily Russian "Bot" off my site that likes to shop! I will await your response so I can get back in! Thank you so much!!!!
chadcloman Posted July 25, 2010 Posted July 25, 2010 If you haven't already seen it, this thread should be very helpful. In catalog/admin/includes/configure.php, there are the following defines that may need to set/changed: define('HTTP_SERVER', 'http://mysite.com'); define('HTTPS_SERVER', 'https://mysite.com'); define('ENABLE_SSL', 'true'); define('HTTP_CATALOG_SERVER', 'http://mysite.com'); define('HTTPS_CATALOG_SERVER', 'https://mysite.com'); define('ENABLE_SSL_CATALOG', 'true'); In catalog/includes/configure.php, there are similar defines (but it sounds like you've already changed them): define('HTTP_SERVER', 'http://mysite.com'); define('HTTPS_SERVER', 'https://mysite.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'mysite.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Check out Chad's News.
♥geoffreywalton Posted July 25, 2010 Posted July 25, 2010 Just browsing through and saw you have 1&1 and remembered seeing and add on for "1AND1 SSL FIX". Apparently there are a few fixes required .... HTH G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
dichrolady Posted July 25, 2010 Author Posted July 25, 2010 Just browsing through and saw you have 1&1 and remembered seeing and add on for "1AND1 SSL FIX". Apparently there are a few fixes required .... HTH G Thank you again! What my tech support did have me do was make a change to my htaccess file. That's what I was talking about the downloading and uploading through my control panel. I haven't done really more than that. So I will go back to the control panel and follow the same procedure to make the changes you suggested. And yes I did see that thread you mentioned, I have it saved in my favorites, I guess I just needed a little more confidence in what I am doing. I will check out the 1and1 SSL Fix also......Thanks to all!!!! I will update you on the outcome. Linda
dichrolady Posted July 26, 2010 Author Posted July 26, 2010 Well....not having any luck Have been trying for several hours, going back and forth to see what I've done wrong. I get this error when I try to log in to my Admin....Parse Error.Syntax error. Unexpected T-constant_encapsed_string in homepages/43/d330077424/htdocs/catalog/admin/includes/config.php line4 This is a partial of my file catalog/includes/configure.php <?php define('HTTP_SERVER', 'http://shop.mydomain.com'); define('HTTPS_SERVER', 'https://shop.mydomain.com'); define('ENABLE_SSL',true); define('HTTP_COOKIE_DOMAIN', 'shop.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'shop.mydomain.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define I noticed it doesn't have the last 2 lines I added per the instructions given....now it won't let me upload anymore, says the file exists already and is a read only file. This is my catalog/includes/configure.php <?php define('HTTP_SERVER','http://shop.4myheartdesign.com'); define('HTTPS_SERVER','https://shop.4myheartdesign.com'); define(ENABLE_SSL','true'); define('HTTP_CATALOG_SERVER','http://shop.4myheartdesign.com'); define'HTTPS_CATALOG_SERVER','https://shop.4myheartdesign.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/homepages/43/d330077424/htdocs/catalog/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/homepages/43/d330077424/htdocs/catalog/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/homepages/43/d330077424/htdocs/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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_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/'); I didn't post all of it...figured this was plenty. Is there something anyone can see that is obviously incorrect? My eyeballs are really going in slow gear now, trying to keep up with all these lines of stuff. I'm really concerned now that I can't upload anymore changes to these files to get this all corrected, unless of course I resort to deleting the file and replacing it with a new one? Anyway, I am asking for help....again. Oh, in case some of you are wondering why the "shop" in my domain? I didn't create my site, and I didn't realize that the site was built on a sub-domain "shop", that was one of my problems when I got my SSL certificate, I bought it for my domain only, I thought that was all I had! So tech support created a /catalog for my "domain" also, to make it work. I found out I have 2 subs and 1 primary domains. Surprise to me! Oh well...any way.....can anyone provide me with some new peepers here and point out my error(s)? Thanks Again!!!! Linda
dichrolady Posted July 26, 2010 Author Posted July 26, 2010 Well....not having any luck Have been trying for several hours, going back and forth to see what I've done wrong. I get this error when I try to log in to my Admin....Parse Error.Syntax error. Unexpected T-constant_encapsed_string in homepages/43/d330077424/htdocs/catalog/admin/includes/config.php line4 This is a partial of my file catalog/includes/configure.php <?php define('HTTP_SERVER', 'http://shop.mydomain.com'); define('HTTPS_SERVER', 'https://shop.mydomain.com'); define('ENABLE_SSL',true); define('HTTP_COOKIE_DOMAIN', 'shop.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'shop.mydomain.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define I noticed it doesn't have the last 2 lines I added per the instructions given....now it won't let me upload anymore, says the file exists already and is a read only file. This is my catalog/includes/configure.php <?php define('HTTP_SERVER','http://shop.4myheartdesign.com'); define('HTTPS_SERVER','https://shop.4myheartdesign.com'); define(ENABLE_SSL','true'); define('HTTP_CATALOG_SERVER','http://shop.4myheartdesign.com'); define'HTTPS_CATALOG_SERVER','https://shop.4myheartdesign.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/homepages/43/d330077424/htdocs/catalog/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/homepages/43/d330077424/htdocs/catalog/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/homepages/43/d330077424/htdocs/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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_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/'); I didn't post all of it...figured this was plenty. Is there something anyone can see that is obviously incorrect? My eyeballs are really going in slow gear now, trying to keep up with all these lines of stuff. I'm really concerned now that I can't upload anymore changes to these files to get this all corrected, unless of course I resort to deleting the file and replacing it with a new one? Anyway, I am asking for help....again. Oh, in case some of you are wondering why the "shop" in my domain? I didn't create my site, and I didn't realize that the site was built on a sub-domain "shop", that was one of my problems when I got my SSL certificate, I bought it for my domain only, I thought that was all I had! So tech support created a /catalog for my "domain" also, to make it work. I found out I have 2 subs and 1 primary domains. Surprise to me! Oh well...any way.....can anyone provide me with some new peepers here and point out my error(s)? Thanks Again!!!! Linda Ok......I recovered my Admin Login Page, after many attempts of changing those characters...it was just an extra space between a , and ' !!! :-" I don't know yet if I can log in, at least I got my page back, but now I get this message : Sorry, the page you were looking for cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Error: (DNS), click the back back button to try another link. Is it just a coincidence and the system is down? Or am I having another problem? :'( Appreciate any advice! Thanks to all! Linda
dichrolady Posted July 26, 2010 Author Posted July 26, 2010 Ok......I recovered my Admin Login Page, after many attempts of changing those characters...it was just an extra space between a , and ' !!! :-" I don't know yet if I can log in, at least I got my page back, but now I get this message : Sorry, the page you were looking for cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Error: (DNS), click the back back button to try another link. Is it just a coincidence and the system is down? Or am I having another problem? :'( Appreciate any advice! Thanks to all! Linda Back again....I got my Administration Login page back, but when I login in, I get that message that the page can not be found still. When I click on the Online Catalog on top, I get error 404: Not Found "Your browser can't find the document corresponding to the URL you typed in." If I click on Administration, I get "The page you were looking for can't be found". But if I click on Support, it does take me there. Are these errors caused by something I overlooked in one or both files..... catalog/admin/includes/configure.php and catalog/includes/configure.php I did look at the 1and1 fix, and there was a slight difference in some of the changes to be made from what was posted here...but it also maybe a year old or so I believe, if it makes a difference. I am frustrated because my last attempt to edit one of the files, I wasn't allowed to do so, said file existed already and that it was a "read only" file. Maybe I was just tired, but, if anymore insight at what I am doing wrong or if it is a specific file I need to scrutinize, I'd appreciate the help and direction! Thank You! Linda
Recommended Posts
Archived
This topic is now archived and is closed to further replies.