HobbyTalk Posted January 28, 2007 Share Posted January 28, 2007 New install of OSC. I am trying to get the USPS module setup. We have the account setup from USPS. The USPS module is installed and active but when I try and put in the USPS username (or any other information in the module) and Save it, it doesn't save the info and come back with the default settings. Anyone have an idea on why this is happening? TIA! Quote Link to comment Share on other sites More sharing options...
Helter Posted January 29, 2007 Share Posted January 29, 2007 New install of OSC. I am trying to get the USPS module setup. We have the account setup from USPS. The USPS module is installed and active but when I try and put in the USPS username (or any other information in the module) and Save it, it doesn't save the info and come back with the default settings. Anyone have an idea on why this is happening? TIA! yes, it's a problem with your admin/modules.php file on like 46. where it says while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { you should put foreach($_POST['configuration'] as $key => $value) { Quote Link to comment Share on other sites More sharing options...
HobbyTalk Posted January 31, 2007 Author Share Posted January 31, 2007 Thanks!!!! That fixed it! Quote Link to comment Share on other sites More sharing options...
robertk1 Posted July 15, 2007 Share Posted July 15, 2007 Solution worked for me also ----- I love this forum! Thanks to Scott Seltzer! Quote Link to comment Share on other sites More sharing options...
Guest Posted October 26, 2007 Share Posted October 26, 2007 yes, it's a problem with your admin/modules.php file on like 46. where it says while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { you should put foreach($_POST['configuration'] as $key => $value) { HI THERE, COULD YOU BE MORE SPECIFIC AS TO WHERE TO LOOK FOR THIS? I WENT INTO TOOLS/FILE MANAGER/SHIPPING.PHP AND COULD NOT FIND WHAT YOU WROTE (CODES). CAN YOU HELP? THANKS, DINA Quote Link to comment Share on other sites More sharing options...
germ Posted October 26, 2007 Share Posted October 26, 2007 They said the code was here: it's a problem with your admin/modules.php file on like 46. And just a word to the wise, NEVER, EVER, EDIT FILES ON YOUR SITE WITH THE OSC FILEMANAGER!!! It has a few quirks that can mess you up. Use your site's Control Panel File Manager (NOT OSC!!!), or download it to your PC and edit it with NOTEPAD (NOT WORD!!) then transfer it back to your web site. If it comes up screwy in NOTEPAD, you can use WORDPAD if you save it as a TEXT file (NOT RICH TEXT!). Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted October 26, 2007 Share Posted October 26, 2007 They said the code was here:And just a word to the wise, NEVER, EVER, EDIT FILES ON YOUR SITE WITH THE OSC FILEMANAGER!!! It has a few quirks that can mess you up. Use your site's Control Panel File Manager (NOT OSC!!!), or download it to your PC and edit it with NOTEPAD (NOT WORD!!) then transfer it back to your web site. If it comes up screwy in NOTEPAD, you can use WORDPAD if you save it as a TEXT file (NOT RICH TEXT!). ALWAYS FOLLOW RILE#1!! GOT IT! Now, how do I find what the other guy wrote (code). Cannot find it. ANy idea? Thanks for you help!! Dina Quote Link to comment Share on other sites More sharing options...
germ Posted October 26, 2007 Share Posted October 26, 2007 Please copy/paste the contents of this file: /admin/modules.php Into your next post, and I'll help you look. ;) Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
sanat13 Posted November 9, 2009 Share Posted November 9, 2009 Hello guys i still have this problem "10002: The XML document is well formed but the document is not valid" i tried a lot of stuff but it doen't work. Please anyone can help me? Thanks beforehand for your help!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.