Skip to forum content
FrontAccounting forum
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
I live in Melbourne Australia but use a server in North America. I could have offices anywhere in the world and still use the same server. It doesn't figure that North America automatically relates in any way to where my office is located. So why should the time on my login be hard coded to my server? It makes more sense that I should determine what time zone I choose, typically tying it to my main office if working in different time zones. As it happens I only have the one office and the time difference is about 19 hours. Makes it pretty hard when the date is a day out to keep track of things. When I send invoices my clients think funny things about me when they check the date. What makes it harder is that the only solution offered so far is to add putenv into the config. My server has disabled this function for security reasons and I've actually had to modify FA where it uses it for language.
So I'm guessing that I'm not the only one who would like to change it to suit their circumstance so here's my solution. In date_functions.inc I changed:
if(function_exists("date_default_timezone_set") && function_exists("date_default_timezone_get"))
@date_default_timezone_set(@date_default_timezone_get());
to:
if(function_exists("date_default_timezone_set") && function_exists("date_default_timezone_get"))
@date_default_timezone_set('Australia/Melbourne');
And guess what? Problem solved for good. Even before logging in. I'm a novice at both programming and FA but I'm sure it wouldn't be hard to add a bit of functionality around this bit of code when using the setup options if someone who can do it competently agrees.
Cheers
Thankyou for that. You've been very helpful. Once I've mastered this I'd like maybe to add to the Wiki a bit to help others get started too as there are some blanks for the complete novice. It becomes clearer and you can understand posts once you get the feel for it, it's just getting started. I still have no idea what dimensions are except how to spell it. Knowing its purpose would help me to fully utilise the program but it seems it's just assumed these are known terminologies.
You have to understand that I'm also fairly new to accounting as well as FA. I've just installed for the first time. The wiki has a lot of blanks but was helpful in installation.
I have a customer who has partly pre-paid for an invoice (a deposit). I enter as a payment (deposits - general ledger) to that customer before raising the invoice. I would have expected that when raising the invoice the amount pre-paid would be deducted from the total invoice amount. How is that done?
I can't see how to enter customers from my old accounting system, who are already in advance. I've been to the demo site to see how to raise a credit note but I'm lost there too. It would be nice if I could enter a negative number in the invoice but I get an error. How would I set up a credit to apply in the invoice as it only accepts positives? I'm feeling a little bewildered and what I've seen in the forum on credit notes is so far a little over my head. I understand it's all done in the GL somehow but it doesn't seem to flow through to the customer from what I've seen so far. Any help would be appreciated to get me started.
Fixed!! Thanks. My mistake. I had uncommented the wrong line. My host had defined save_path in PHP to a tmp that I couldn't reach. Now it's defined to the tmp created in the install and everything is running fine. Not sure why my line counter was wrong but once I understood the problem I found the correct line by searching for save_path.
Thanks, I appreciate your help. At least I know now where to look.
I tried a lot of combinations and eventually took the document root from phpinfo() so to be exact as I gathered that would be ok as a save_path until I got it working. I'm not cluey enough to know if save_path means more than a directory that's able to be written to. Unfortunately, anything I enter results in an error. The error displays what I put in but always adds a dot in front as to suggest the current directory. So if I was to put ../ for example it results in an error saying can't find .../ which of course doesn't exist. That's just an example of what happens, not what my document root is. This is possibly why I'm having problems in the first place. The question is, is it my server adding the dot or is it frontaccounting? Thankyou for your help so far, I feel I'm getting closer.
I've just installed FP for the very first time. Ver 2.3 final release. I've increased the login timeout to 7200 in Company Setup and yet I am required to login again every 2 to 5 clicks as I navigate. Very annoying. The setting seems to be saved so I'm wondering what I'm doing wrong. I don't think I've got a permission problem although putenv has been disabled on my web server for security reasons so I've had to mask 3 lines (71, 72, 73) in includes/lang/gettext.php to stop an error shown when debugging, as it doesn't work anyway. I gather this is language related so not deemed critical. Is there a way to force keeping logged on? In my situation I prefer that to any security risk it may pose. I've done a search but it would appear no-one else has my problem. Thanks if you can help.
Posts found: 7