Page 1 of 3
Default value for custom field of date type
Posted: 29 Jan 2008, 11:06
by dyawlak
Is there any way to set the default value of a custom field of date type to todays date?
Thanks
Re: Default value for custom field of date type
Posted: 26 Feb 2008, 15:07
by cybernijntje
Same question here. Does anyone have an answer?
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 09:02
by dyawlak
Does any one have a solution for this?
Thanks
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 11:22
by deboutv
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 13:48
by dyawlak
Ran the Plugin Manager installer but gets as far as Check Install Script and then stops with eror
line 93
Char 1
Error Object expected
Code 0
Any ideas?
Thanks
IIS 6
MSSQL
Thanks
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 13:56
by deboutv
The PluginManager is installed or the error occurs during the pluginmanager installation?
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 14:32
by dyawlak
it's when running the plugins_page.php script before I get a chance to install.
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 14:47
by deboutv
That's strange...
Try to change the file plugins_install_page.php line 93:
$t_failed = ( !$t_error ? PLUGINS_PLUGINMANAGER_OK : PLUGINS_PLUGINMANAGER_FAIL );
becomes:
$t_failed = PLUGINS_PLUGINMANAGER_OK;
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 15:24
by dyawlak
Nope didn't work.
Now reports that there is a syntax error in line 72. URL reads:
http://mantis.echarris.com/plugins_inst ... ginmanager
Thanks
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 15:31
by deboutv
With PluginManager 0.2.1?
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 15:39
by dyawlak
downloaded from your link today pluginmanager-0.2.1.tar.gz
simply unzipped in to the mantis directory as per instructions and tried to run the page.
have re-unzipped in case of corruption
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 15:49
by dyawlak
Have done force refresh within browser. It's no longer reporting any errors. but doesn't offer option to install. the last line is Check install script OK then nothing
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 15:53
by dyawlak
have attached screenshot of what I'm getting
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 16:09
by deboutv
Do you have access to the error_log file (of your webserver)? There is probably a message.
Re: Default value for custom field of date type
Posted: 06 Mar 2008, 16:26
by dyawlak
on an iis box, where would i find them?