Guest Posted August 26, 2005 Share Posted August 26, 2005 Hello: Site: http://www.wholesalewizards.com I have a weird one that is driving me crazy... when I try an login or create an account I am redirected to the advanced search page. I click "Log in" and the login.php page loads. Once I click "Sign In" or "Create Account" buttons it then continues on to show the advanced search.php page. Any ideas? Link to comment Share on other sites More sharing options...
♥Vger Posted August 26, 2005 Share Posted August 26, 2005 There's either something wrong with your includes/configure.php file, or else (more likely) there's something that's been edited in the login.php page. The reason I say this is because your login.php page carries your http address and your create_account.php page shows your shared ssl address - and they should both show the shared ssl address. Vger Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2005 Share Posted August 26, 2005 Can somebody give me the code that should be attached... I have uploaded a default login.php and it did the same thing. //below is my config.php snippet// <Begin> define('HTTP_SERVER', 'http://wholesalewizards.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://host154.ipowerweb.com/~wholesal/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'wholesalewizards.com'); define('HTTPS_COOKIE_DOMAIN', 'host154.ipowerweb/'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', ''); <EOF> I am using a shared SSL... which is working when you use the "contact us" page and such. Thank You Link to comment Share on other sites More sharing options...
boxtel Posted August 26, 2005 Share Posted August 26, 2005 Hello: Site: http://www.wholesalewizards.com I have a weird one that is driving me crazy... when I try an login or create an account I am redirected to the advanced search page. I click "Log in" and the login.php page loads. Once I click "Sign In" or "Create Account" buttons it then continues on to show the advanced search.php page. Any ideas? <{POST_SNAPBACK}> suggest you close your search form with </form> Treasurer MFC Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2005 Share Posted August 26, 2005 which <form> are you referring to? Did you see an open command in my code somewhere? Link to comment Share on other sites More sharing options...
♥Vger Posted August 26, 2005 Share Posted August 26, 2005 define('HTTPS_SERVER', 'https://host154.ipowerweb.com/~wholesal'); define('HTTPS_COOKIE_DOMAIN', 'host154.ipowerweb/~wholesal'); define('DIR_WS_HTTPS_CATALOG', '/'); Vger Link to comment Share on other sites More sharing options...
boxtel Posted August 26, 2005 Share Posted August 26, 2005 which <form> are you referring to? Did you see an open command in my code somewhere? <{POST_SNAPBACK}> look at your source, you open the form with : <form name="advanced_search" action="http://wholesalewizards.com/advanced_search_result.php" method="get""> there is no </form> on the entire page. Treasurer MFC Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2005 Share Posted August 26, 2005 Didn't work Vger... Boxtel: I am new to php and osCommerce... when you view my page source which file is that in? I looked for the <Form> in my header.php... it was not there? Link to comment Share on other sites More sharing options...
boxtel Posted August 26, 2005 Share Posted August 26, 2005 Didn't work Vger... Boxtel: I am new to php and osCommerce... when you view my page source which file is that in? I looked for the <Form> in my header.php... it was not there? <{POST_SNAPBACK}> in your browser, view source. you have no </form> for search and as such all form actions on the page become part of that form Treasurer MFC Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2005 Share Posted August 26, 2005 Boxtel: I am confident that you have found the issue... I see it in my browser, but I cannot find that line of code in any of my pages... I am using Dreaweaver and have done searches on index.php, header.php, login.php, mainpage.tpl.php, configure.php... I cannot find it? Any suggestions as to where that code on the main index.php is being pulled from? Link to comment Share on other sites More sharing options...
boxtel Posted August 26, 2005 Share Posted August 26, 2005 Boxtel: I am confident that you have found the issue... I see it in my browser, but I cannot find that line of code in any of my pages... I am using Dreaweaver and have done searches on index.php, header.php, login.php, mainpage.tpl.php, configure.php... I cannot find it? Any suggestions as to where that code on the main index.php is being pulled from? <{POST_SNAPBACK}> as that search box is loaded on every page, I guess the header.php but I see you use a template system so it could be anywhere. Treasurer MFC Link to comment Share on other sites More sharing options...
boxtel Posted August 26, 2005 Share Posted August 26, 2005 as that search box is loaded on every page, I guess the header.phpbut I see you use a template system so it could be anywhere. <{POST_SNAPBACK}> a few lines after the form it says this: <!-- header_eof //--><!-- header_eof //--> so the header it must be Treasurer MFC Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2005 Share Posted August 26, 2005 In my header it says... <?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get"') ?> that is the only spot where the worf "form" appears... does that help? Link to comment Share on other sites More sharing options...
boxtel Posted August 26, 2005 Share Posted August 26, 2005 In my header it says... <?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get"') ?> that is the only spot where the worf "form" appears... does that help? <{POST_SNAPBACK}> yes, that is it. you have to add a </form> tag after the generation of the GO button. Treasurer MFC Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2005 Share Posted August 26, 2005 that's it :lol: Couldn't have done it without you :P I am new to php... so I was looking for the traditional <form> opening, I do not understand the "tep_draw_form" opening format yet, but I am learning. Thank You again Boxtel for your speedy responses and patience with a php noob like me :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.