goodboy88 Posted October 6, 2011 Share Posted October 6, 2011 I have a problem with changing the address from FO. When I hit "Save" it redirects me to /address.php showing blank white page with only "Fatal error" text in top left corner. Besides, I'm getting a warning message in front office when i add a new address which is Warning: Invalid argument supplied for foreach() in public_html/classes/AddressFormat.php on line 448. Base on the problem i listed above i suspect it is I think it might be the configuration problem or a bug which is situated in Back Office > Shipping > Countries > Address Layout but i'm not sure whats wrong with the configuration. Previously i think i had make changes on it but i forget which one. Can i have the default address layout format from anyone of you? Link to comment Share on other sites More sharing options...
phrasespot Posted October 8, 2011 Share Posted October 8, 2011 The default address layout format depends on the version and is in installation zip of the version you have, install/sql/sql.db. Link to comment Share on other sites More sharing options...
goodboy88 Posted October 8, 2011 Author Share Posted October 8, 2011 I don't get it. Can you explain further and explain step by step? What should i do now? Is it my configuration problem. Can you give me prestashop default address layout? Previously i was using v1.4.3 then upgraded it to v1.4.4.1. Link to comment Share on other sites More sharing options...
phrasespot Posted October 8, 2011 Share Posted October 8, 2011 I could if I knew what changes you made to what files, tables. If you are sure it is due to the address layout changes you made under the tab Back Office > Shipping > Countries > Address Layout, then you could revert the prefix_address_format table to default using the sql file from the installation zip you used. Requires access to your database and the relevant section of the installation SQL file. If you think that is your problem let me know and I will talk you through step-by-step. Link to comment Share on other sites More sharing options...
goodboy88 Posted October 10, 2011 Author Share Posted October 10, 2011 I did not make any changes in my database before. Besides i'm not sure is it the problem but i would like to try to revert it. The problem is how to revert the address layout? Can you explain to me step by step? Revert will not cause any problem right? Link to comment Share on other sites More sharing options...
phrasespot Posted October 10, 2011 Share Posted October 10, 2011 i'm not sure is it the problem but i would like to try to revert it. OK Can you explain to me step by step? Will do. What sort of access you have to your DB? e.g. phpMyAdmin, or console access. Revert will not cause any problem right?Not the revert of address layout table though you would, as is the case with any DB modification, make a complete backup of your DB first Link to comment Share on other sites More sharing options...
goodboy88 Posted October 11, 2011 Author Share Posted October 11, 2011 It looks very complicated. Never mind thanks for your help anyway. I just worry that once i did something on it then other problem comming out. Link to comment Share on other sites More sharing options...
goodboy88 Posted October 18, 2011 Author Share Posted October 18, 2011 Problem solve after i upgrade from v1.4.4.1 to 1.4.5.1 Link to comment Share on other sites More sharing options...
goodboy88 Posted October 18, 2011 Author Share Posted October 18, 2011 How to mark it as solve. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now