Yes, that is what I finished up doing. I was hoping to be able to be able to modify the nav array so that I did not have calls to fuel_nav in different places, but I guess that nav.php is not loaded until the fuel_nav function is called.
According to the MYSQL documentation a YEAR type can be either a YEAR(2) or YEAR(4). The default is YEAR(4). Heres a link to the docs:
http://dev.mysql.com/doc/refman/5.1/en/year.html
Sorry, but the fix doesn't work. The $this->field_type($field) will still be a DATE type so the 'year' case in the switch statement is never hit. The 'date' case needs to then check the $field_data['type'] to determine whether the type of date is…
This seems to work for YEAR fields without affecting the error checking for other DATE types:
case 'date':
$valid_date = TRUE;
if ($field_data['type'] == 'year')
{
$reg_exp = $field_data['max_length'] == 4 ? '/(19|20)\d\d$/' : '…
I will try changing the index.php and let you know what happens. The cPanel stats are:
Apache version 2.0.63
PHP version 5.2.9
MySQL version 5.0.91-community
Architecture i686
Operating system linux
Kernel version 2.6.18-194.11.4.el5
Hope i…
It is '/fuel/login' .
I have moved the site to another server and everything is now working, so I assume it is something in the server configuration that is causing the problem.
Regards,
Chris.
Thanks for the quick response. Since my last message I have discovered that although I can browse to all of the pages in my site, if I am in a subdirectory, the css path is incorrect. For example if I am viewing the page http://www.mysite/about/des…