Closed (won't fix)
Project:
Genesis
Version:
6.x-2.4
Component:
Genesis Base Theme
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2009 at 21:14 UTC
Updated:
1 Sep 2009 at 09:55 UTC
After a fresh install of Genesis, and choosing it, viewing any page displays only the following message:
Fatal error: Call to undefined function: ctype_lower() in /usr/local/www/cgi-bin/drupal-6.13/themes/genesis/genesis/template.php on line 346
Comments
Comment #1
Jeff Burnz commentedUpgrade your PHP my friend, it must be positively ancient. ctype_lower has been in PHP since 4.0.4 (Released: 19 December 2000)
http://www.php.net/manual/en/function.ctype-lower.php
Comment #2
gizmolab commentedactually, i have version 4.4.2 of php, but I take your point and will upgrade to latest (5.3.0) and hope nothing breaks :-)
Comment #3
Jeff Burnz commentedOk, let me know how it goes, we can work around it otherwise.
Comment #4
gizmolab commentedi upgraded my php to version 5.2.10 using portinstall (FreeBSD v 6) and restarted my server. unfortunately, i still get the error about ctype-lower
i'm interested in your suggestions for a workaround
Comment #5
Jeff Burnz commentedYou can switch to using is_numeric.
Around line 340, template.php (in Genesis core), replace the safe_string function code with this: