configuration.php problem?
I've installed Zen Cart several times but this time I have a problem I can't find anywhere. The version is 138a.
I'm trying to do my initial configuration in configuration/My Store. When I first open the screen, the Action column appears all the way to the right; there is no edit box. Clicking on the Store Name line, the edit box appears and I can change the Store Name. But clicking on the Country line, does not display the edit box.
If I click on the Store Name to display the edit box for that line and then click on the "i" icon at the end of the Country line, I get the edit box for country but clicking on the edit button, hides the edit box and I can't change the value. There is no value.
I was concerned that the configuration.php file might be the problem so I uploaded another one but that didn't fix it.
Any advice would be greatly appreciated.
Carter
Re: configuration.php problem?
i don't think the problem you describe here has anything to do with configure.php . but for sake of it , you can use Debug utility and see if this tool will log any error .. it might be corrupted file or missing file ..
Re: configuration.php problem?
I have reuploaded the admin folder but the errors were the same.
Then I followed tony_sar's advice and uploaded the debug utility and recreated the error. A portion of the error log follows:
myDEBUG-1239704198.log
[14-Apr-2009 05:16:39] PHP Warning: call_user_func(get_country_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
[14-Apr-2009 05:16:39] PHP Warning: call_user_func(cfg_get_zone_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
myDEBUG-1239704203.log
[14-Apr-2009 05:16:43] PHP Warning: call_user_func(get_country_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
[14-Apr-2009 05:16:43] PHP Warning: call_user_func(cfg_get_zone_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
[14-Apr-2009 05:16:43] PHP Fatal error: Call to undefined function cfg_pull_down_country_list() in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/configuration.php(192) : eval()'d code on line 1
myDEBUG-1239704207.log
[14-Apr-2009 05:16:47] PHP Warning: call_user_func(get_country_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
[14-Apr-2009 05:16:47] PHP Warning: call_user_func(cfg_get_zone_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
myDEBUG-1239704210.log
[14-Apr-2009 05:16:50] PHP Warning: call_user_func(get_country_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
[14-Apr-2009 05:16:50] PHP Warning: call_user_func(cfg_get_zone_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
[14-Apr-2009 05:16:50] PHP Fatal error: Call to undefined function cfg_pull_down_country_list() in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/configuration.php(192) : eval()'d code on line 1
[14-Apr-2009 05:16:51] PHP Warning: call_user_func(get_country_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
[14-Apr-2009 05:16:51] PHP Warning: call_user_func(cfg_get_zone_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
myDEBUG-1239704213.log
[14-Apr-2009 05:16:53] PHP Warning: call_user_func(get_country_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
[14-Apr-2009 05:16:53] PHP Warning: call_user_func(cfg_get_zone_name) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/includes/functions/general.php on line 1544
[14-Apr-2009 05:16:53] PHP Fatal error: Call to undefined function cfg_pull_down_country_list() in /mnt/stor1-wc1-dfw1/382874/384118/www.prosportsetc.com/web/content/z138a/admin/configuration.php(192) : eval()'d code on line 1
It looks like I am getting some fatal errors. The two fields I was trying to edit were Country and Zone on the Configuration/My Store page of admin. I tried to look at the code and think I saw those functions in general.php
Could this be data related? These two fields appear to be empty. I would feel comfortable doing an export of the database or looking at it in phpmyadmin.
More guidance would be appreciated.
Carter
Re: configuration.php problem?
Re: configuration.php problem?
Thank you. That does look like a proper solution and yes that could be the cause. I moved this site from one server to another and made some changes though I don't remember this one in particular.
Thanks again,
Carter