Drupal:
I'm trying to build a Drupal 6.13 development box using a VMware Debian 5.0 virtual machine (on Windows XP SP3):
http://www.thoughtpolice.co.uk/vmware/
When I restore (backup_migrate-6.x-1.2) the database from my production site (shared account at he.net; Ubuntu 8.04.2; modified?), I can see my content but the theme is gone and there is a warning:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /home/jdenha09/drupal-6.13/includes/menu.inc on line 452.
STFW, one user suggested upgrading PHP:
I've done that per "Apt-Pinning for Beginners":
http://jaqque.sbih.org/kplug/apt-pinning.html
But, the problem persists.
Any suggestions?
TIA,
David
You need to clear out all the cache. Go to:
/admin/settings/performance
And click clear cache.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
David Christensen wrote:
Drupal:
I'm trying to build a Drupal 6.13 development box using a VMware Debian 5.0 virtual machine (on Windows XP SP3):
http://www.thoughtpolice.co.uk/vmware/When I restore (backup_migrate-6.x-1.2) the database from my production site (shared account at he.net; Ubuntu 8.04.2; modified?), I can see my content but the theme is gone and there is a warning:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /home/jdenha09/drupal-6.13/includes/menu.inc on line 452.
STFW, one user suggested upgrading PHP:
http://drupal.org/node/514248I've done that per "Apt-Pinning for Beginners":
http://jaqque.sbih.org/kplug/apt-pinning.htmlBut, the problem persists.
Any suggestions?
TIA,
David
Also....
Are you sure you have all the module files copied? Imce_access is a function from a contrib module, and it doesn't look like drupal is able to find it. Is the imce module in the proper location on your dev box? Other modules? Clearing cache is also advisable as was just mentioned in a recent post. If you can't get to the admin pages, then you want to delete using SQL "delete from cache" or "truncate cache". There are more than one cache tables (cache, cache_menu, cache_block, etc. )
Dave
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of David Christensen Sent: Thursday, October 08, 2009 12:47 PM To: Support@Drupal.Org Subject: [support] warning: call_user_func_array() First argument is expected to be a valid callback
Drupal:
I'm trying to build a Drupal 6.13 development box using a VMware Debian 5.0 virtual machine (on Windows XP SP3):
http://www.thoughtpolice.co.uk/vmware/
When I restore (backup_migrate-6.x-1.2) the database from my production site (shared account at he.net; Ubuntu 8.04.2; modified?), I can see my content but the theme is gone and there is a warning:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /home/jdenha09/drupal-6.13/includes/menu.inc on line 452.
STFW, one user suggested upgrading PHP:
I've done that per "Apt-Pinning for Beginners":
http://jaqque.sbih.org/kplug/apt-pinning.html
But, the problem persists.
Any suggestions?
TIA,
David -- [ Drupal support list | http://lists.drupal.org/ ]
David Christensen wrote:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /home/jdenha09/drupal-6.13/includes/menu.inc on line 452.
I found and fixed a couple of issues, and the problems went away:
1. I was missing some modules on the development server. So, I added them.
2. I must have messed with the Garland theme colors on the production server, which created a CSS style sheet in the file system that was missing on the development server. So, I reset the colors to default.
HTH,
David