Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2004
    Posts
    76
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default 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 ..

  3. #3
    Join Date
    Jul 2004
    Posts
    76
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: configuration.php problem?

    you may want to look at this thread ..


    http://www.zen-cart.com/forum/showth...valid+callback

  5. #5
    Join Date
    Jul 2004
    Posts
    76
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. v150 Image Upload problem after change PHP configuration to suphp
    By damien_c2 in forum General Questions
    Replies: 1
    Last Post: 5 Jul 2013, 08:33 AM
  2. Edited configuration.php
    By mimi78 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Mar 2009, 03:30 PM
  3. Post install, configuration configure.php problem
    By bakerman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Nov 2007, 08:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR