Where is the ['default_interface'] set?

Topics brought up by the TimeTrex open source community.
Locked
pichie3001
Posts: 7
Joined: Wed Apr 24, 2013 3:53 am

Where is the ['default_interface'] set?

Post by pichie3001 »

Hello,

I hope Timetrex admins don't mind me asking. What php file is the $config_vars['other']['default_interface'] set? Because I can't seem to find it. Thank you very much!
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Where is the ['default_interface'] set?

Post by shaunw »

All config settings are in the timetrex.ini.php file, the default_interface specifically goes in the [other] section and can be either html (legacy interface that is being phased out) or flex (new interface) at this time.
pichie3001
Posts: 7
Joined: Wed Apr 24, 2013 3:53 am

Re: Where is the ['default_interface'] set?

Post by pichie3001 »

Thanks, Shaun. There's no default_interface under the [other] section. Please see attached text file. Is it okay if I'll add there default_interface = html? Just to play with it. I've already upgraded to V5.3.3, so Timetrex is currently using the flex interface.
Attachments
timetrex.ini.php.txt
(1.85 KiB) Downloaded 245 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Where is the ['default_interface'] set?

Post by shaunw »

Yes, if its not there you can add it in, just as long as its below the [other] line and above any other line that starts with "[".
pichie3001
Posts: 7
Joined: Wed Apr 24, 2013 3:53 am

Re: Where is the ['default_interface'] set?

Post by pichie3001 »

Okay so, it displayed

500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again. URL: http://shorecloud.org/timetrex2/interface/
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Where is the ['default_interface'] set?

Post by shaunw »

You likely created a syntax error, please attach a copy of your modified timetrex.ini.php file here.
pichie3001
Posts: 7
Joined: Wed Apr 24, 2013 3:53 am

Re: Where is the ['default_interface'] set?

Post by pichie3001 »

Hi Shaun,

Attached is the modified timetrex.ini.php file
I'm going to try it again. Thanks!
Attachments
timetrex.ini.php.txt
(1.87 KiB) Downloaded 266 times
pichie3001
Posts: 7
Joined: Wed Apr 24, 2013 3:53 am

Re: Where is the ['default_interface'] set?

Post by pichie3001 »

Hi Shaun,

It runs fine now. I just modified the index.html to point to Login.php instead of flex. There are some 500 Server Error on some events though, but if refreshed, it runs fine. Thanks for all the help! :)
Locked