Monday 02 June 2003 2:20:03 pm
At least i believe its an override problem... Basically i have a override.ini.append in my siteaccess/user directory. Within the override is:
# General Overrides
[pagelayout_site]
Source=pagelayout.tpl
MatchFile=pagelayout_site.tpl
Subdir=templates Match[section]=1 but instead of this layout the site defaults to pagelayout with errors like: Warning: PHP Jun 02 2003 22:06:55 array_keys() [<a href='http://www.php.net/function.array-keys'>function.array-keys</a>]: The first argument should be an array in /var/www/html/sites/site-v2/2631/kernel/common/eztemplatedesignresource.php on line 338 Warning: PHP Jun 02 2003 22:06:55 Invalid argument supplied for foreach() in /var/www/html/sites/site-v2/2631/kernel/common/eztemplatedesignresource.php on line 338 Warning: PHP Jun 02 2003 22:06:55 Undefined index: base_dir in /var/www/html/sites/site-v2/2631/kernel/common/eztemplatedesignresource.php on line 329 Warning: PHP Jun 02 2003 22:06:55 Undefined index: section in /var/www/html/sites/site-v2/2631/var/cache/override/override_a35878bf44e799845146f6c688f29a50.php on line 688 From the little debugging ive done it seems the code has problems with the section number and the array_keys part seems to be a problem with the override caching. Im not sure if they are related but they are stopping me from viewing my site. Im wondering if there is perhaps a syntax problem with my override file or if its a bug in 3.1? Difficult to say. Ez, have you seen errors like this before? thanks paul
|