donato Posted December 12, 2002 Share Posted December 12, 2002 ok, after many months of hacking, researching and testing, i am about to finally go live..but i noticed a few things... specifically in the email that gets generated to the customer , titled, "order Process", in it it details the customers purchase, shipping address, etc. BUT it is the link to the 'detailed invoice' that screws me up...you click on the link and it appears blank: example of link http://www.MYDOMAIN.com/catalog/account_hi....php?order_id=5 how can this be? can someone please help? 2nd question: after all the testing i have done, i would like to know how i can 'reset' the store back to square 0..meaning, all the customer purchases (from test accounts), inventory, 'customer who bought this, also bought this', etc back to the default settings as if no one was there at all? please help folks, and again thanks in advance regards donato Link to comment Share on other sites More sharing options...
donato Posted December 12, 2002 Author Share Posted December 12, 2002 can anyone help me out here? Link to comment Share on other sites More sharing options...
donato Posted December 12, 2002 Author Share Posted December 12, 2002 ok i do sincerly hope someone can help me out here... i login to the board, check out my order history it displays all the orders i have made BUT when i click on the "VIEW ORDER" link, it sends me to a new page with NO info, just a big ol blank page... any ideas? is this a bug? searched all over the place Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 12, 2002 Share Posted December 12, 2002 ok i do sincerly hope someone can help me out here...i login to the board, check out my order history it displays all the orders i have made BUT when i click on the "VIEW ORDER" link, it sends me to a new page with NO info, just a big ol blank page... any ideas? is this a bug? searched all over the place Clicking on that link in the email should redirect you to the login page. Turn PHPs error reporting level up to see if it is reporting an error. Perhaps that can help you further in debugging your problem. , osCommerce Link to comment Share on other sites More sharing options...
donato Posted December 12, 2002 Author Share Posted December 12, 2002 thanks hpdl! i am on a shared server...will this be a problem? not too sure how to access my php error logging Link to comment Share on other sites More sharing options...
donato Posted December 12, 2002 Author Share Posted December 12, 2002 oh one more thing... i understand that clicking on the link in the email will redirect u to the login page, but if i am on the site, logged in, in the order history section, and clicking on the view order link, it should take me directly to the order, right? Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 12, 2002 Share Posted December 12, 2002 thanks hpdl!i am on a shared server...will this be a problem? not too sure how to access my php error logging Change the following in application_top.php: error_reporting(E_ALL & ~E_NOTICE); to: error_reporting(E_ALL); You will get a lot of warning messages appearing so you might need to filter them out and look for the appropriate notices. , osCommerce Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 12, 2002 Share Posted December 12, 2002 oh one more thing...i understand that clicking on the link in the email will redirect u to the login page, but if i am on the site, logged in, in the order history section, and clicking on the view order link, it should take me directly to the order, right? Right, if: * Cookies are enabled * The same browser is opening a new window , osCommerce Link to comment Share on other sites More sharing options...
donato Posted December 12, 2002 Author Share Posted December 12, 2002 wow talk about your errors... this is way over my head... i popped in the code, uploaded it, went to the link: http://www.MYDOMAIN.com/catalog/account_hi....php?order_id=5 and still blank. went to my main catalog site, sniffing through the errors, clicked on "my account" get the following errors: check out the link: http://www.asroma-addict.com/catalog/account.php lots of errors, but nothing relating to account_history.... stuck in the dark here..anyone help? Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 12, 2002 Share Posted December 12, 2002 wow talk about your errors... I don't see any - did you lower the setting? BTW, those would not be error messages, but warning messages. this is way over my head...i popped in the code, uploaded it, went to the link: http://www.MYDOMAIN.com/catalog/account_hi....php?order_id=5 and still blank. Thats funny, when I went to http://www.asroma-addict.com/catalog/accou....php?order_id=5 I was taken to the login/create account page. Try a different browser :) , osCommerce Link to comment Share on other sites More sharing options...
donato Posted December 12, 2002 Author Share Posted December 12, 2002 ya sorry for the lateness in updating this thread... thanks again Harald... i replaced the account_history_info.php with my local copy and everything went ok...checked the two files (the orginal with the local) and noticed a few errors...(must have been during the hacking stages :wink: ) all working well now...thanks for the help! just to answer my second question, how can i wipe out all the test info i have placed on my site? what i mean is deleting all the orders i made, user accounts, basically restoring my db back to brand spanking new...is this possible? thx again! Link to comment Share on other sites More sharing options...
Guest Posted December 13, 2002 Share Posted December 13, 2002 Using phpMyAdmin or other MySQL GUI all you have to do is empty the appropriate tables. That will leave your structure in place. Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 13, 2002 Share Posted December 13, 2002 This thread from the old forums might be of interest, to reset the auto_increment IDs to a specific value: http://www.oscommerce.com/forums/viewtopic.php?t=9347 , osCommerce Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.