erotiskshop.dk Posted April 18, 2004 Posted April 18, 2004 I have my shop setup at two locations. http://www.erotiskshop.dk/ - My live shop Running on Linux Apache/1.3.27 - PHP/4.2.2 and http://localhost/ - My development server. Running on W2K Apache/2.0 - PHP/4.3.0 On my live server I had no problem removing the required field of state in the customer details (State = False). In denmark there are no state, therefore i do not require the field. However when I on my development setup disable the state. I get an error if i try to create a new account. I can just change the flag everytime I copy, but would prefer not to. This is the error: Warning: reset() [function.reset]: Passed variable is not an array or object in E:\Webserver\Apache\erotiskshop.dk\dev\htdocs\includes\classes\email.php on line 71 Warning: Variable passed to each() is not an array or object in E:\Webserver\Apache\erotiskshop.dk\dev\htdocs\includes\classes\email.php on line 72 Fatal error: Call to a member function on a non-object in E:\Webserver\Apache\erotiskshop.dk\dev\htdocs\includes\functions\general.php on line 968 Query was empty - Query was empty Query was empty [TEP STOP] Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 I have tried copying the setup of the live system to the developmen system, and only changed the configuration files - To no avail. Its not a severe problem, but I would like the setup between by live and development system to match as close as possible when moving sql backup files back and forth. Best regards, Michael www.erotiskshop.dk Best regards, Michael www.erotiskhop.dk
Aziz Posted April 18, 2004 Posted April 18, 2004 Try recoping the admin and user files and see how it goes... if it is still the same, then the problemo is with peace, --------------------------------
erotiskshop.dk Posted April 18, 2004 Author Posted April 18, 2004 Try recoping the admin and user files and see how it goes... if it is still the same, then the problemo is with peace, Hi Aziz, I have just tried copying the site (as I have tried before) from live to development, then using a merge utility (winMerge) I compared the live and the development system to each other, they are 100% alike. Then I took the latest copy of the database off, live and copied it to the development system. Then I went to the frontend, and tried to create a new user profile. Same error as before. Then into the admin interface, enter customer details, changed the state from false to true. Back to the frontend, create new user. No problem, new user created without any problems. Only problem is that State then is a required field, and its not needed in Denmark. Best regards, Michael www.erotiskshop.dk Best regards, Michael www.erotiskhop.dk
Guest Posted May 13, 2004 Posted May 13, 2004 Hi Michael, I have the same problem with that I can't disable the state option in customer details. I get almost the same error message as you. Have you find any solution on that problem yet? Best regards, Anders Laby (Sweden)
erotiskshop.dk Posted May 13, 2004 Author Posted May 13, 2004 Hi Anders, Unfortunatly i havn't been able to fix it, so im living with the error. Best regards, Michael www.erotiskhop.dk Best regards, Michael www.erotiskhop.dk
Recommended Posts
Archived
This topic is now archived and is closed to further replies.