1

(7 replies, posted in Setup)

Solved. I moved the whole installation to my localhost. Just Host didn't offer PHP version earlier than 7.

Copying the database presented a few problems so I list them here in case anyone is interested.

When you create the database to import into also add a new user with the data found in

<frontaccounting root>/config_db.php

.
Without this you can't login and you won't be told why.

Upload file size is limited in my local php.ini, so find and edit these lines in php/php.ini.

memory_limit = -1
upload_max_filesize = -1 
post_max_size = -1 
Also on a local site execution time may need increasing, so find and edit phpMyAdmin/libraries/config.default.php.
$cfg['ExecTimeLimit'] = 600;

This gives you 600 seconds.

Thanks for your help.

2

(7 replies, posted in Setup)

Thanks, I now have lots to go on.

3

(7 replies, posted in Setup)

Thanks, my PHP 5.6.3 should be fine so I'll try it in my localhost on my PC.
I was a little concerned that  after moving it from the Just Host server to my localhost the passwords might not work or it wouldn't find things in the place it expected them.
Jonathan

4

(7 replies, posted in Setup)

Thank you Kvvaradha,

I propose to copy the website to my localhost which runs PHP 5.6.3 and MySQL 5. I am quite happy to operate locally at least to the end of the financial year.
Do you foresee any problems, maybe  with passwords, permissions etc?
I will then install the latest version of FA on the real web server and seed it with the final balance sheet data.

Thanks again for your very quick reply.
Jonathan

5

(7 replies, posted in Setup)

Hi,
I last used FA about 2 months ago and suspect I should have upgraded something.
The login page appears, I login and just get a blank page with no errors.
The screensource code is <div class='note_msg'></div>.
My FA version 2.3.17
Website ( Just Host ) PHP version is now 7.3.23.
Please can you list the steps I should take to restore FA.
Thanks.

6

(6 replies, posted in Setup)

Thanks, that's exactly what I needed.

7

(6 replies, posted in Setup)

I meant when when I click "place invoice". If it takes too long to respond, it doesn't move on to the next page, and sometimes it has placed the invoice and sometimes not. If I continue it accuses me of opening the document twice.
If I change a date box, or customer name box, or just click "next" and my website takes more than a few seconds to respond I get the orange triangle and !, so I cant get to "next".

8

(6 replies, posted in Setup)

My web site is often not fast enough to update pages before the yellow triangle with the exclamation mark appears.
Is there a way to give it more time, a system variable to change, perhaps?

Thanks, that is what I thought.

I've solved it. More files were lost, I don't know how, so a full restore of an older back up has cured it.

It just shows the value of keeping backups.

Sorry to have bothered you.

jonathan

I up loaded the files for 2.3.17, made the necessary adjustments, and went to Software Upgrade, from within the first company.

2.1     Upgrade from version 2.0 to 2.1                     alter2.1.sql     Installed    
2.2     Upgrade from version 2.1/2.2beta to 2.2     alter2.2.sql        
2.3     Upgrade from version 2.2 to 2.3                     alter2.3.sql     Installed    

I checked the "Force Upgrade" box for all 3 lines and 'Upgraded the System'

When I tried to log into the first company I got a message to the affect that o_users was missing.

I could restore the backup for the other companies, but without access, not for the first.
We managed to restore the file from The Host's back up and have been using the second company since then.

I have just tried to access data from the first company and get the message "System blocked after upgrade until updated on Software upgrade Page'.

Which box should I check, none, the last, or all 3 or 1 at a time. I don't want to lose any tables? Will I lose work I have done in the meantime in the second company?

Jonathan

Janusz and Joe,

Thanks, I've tried it with customer payments, and supplier payments and not a foreign exchange gain in sight.


Jonathan

Janusz

I think payment_db.inc line 49 is wrong.

$bank_amount = $amount/$rate;     should be        $bank_amount = $amount*$rate;

This does not cure the problem, because as the comment says it is not used here, but somewhere a similar mistake is causing my problem.

Another anomaly I have noticed, which probably is insignificant:
The Customer Payment  Entry form ends with the button "Update payment"
When modifying a customer payment the button reads "Add Payment"
Something has bee swapped round.

Jonathan

Home currency GBP,  customer currency EUR, exchange rate 0.8 fixed, vat 20%.

Take a sale of 120 euro, = £96. Payment of 120 euro = £96. (no exchange gain)

Invoice ...... 100 EUR + 20EURvat = 120 euro in all. This is shown on the invoice correctly.

G/L  4000     Sales                                                 80.00    
       1100      Debtors Control Account           96.00        
       2200      VAT (20%)                                         16.00    
                          Total                                 96.00        96.00    
This is correct, in GBP.
The G/L for Delivery is also correct , and in GBP

Customer payment  = 120 EUR      96 GBP

G/L   1200      Bank Current Account            96.00        
         1100     Debtors Control Account                          96.00    
         1100     Debtors Control Account             24.00                 Sales Invoice 5
         4920      Foreign Exchange Gain                          24.00     Sales Invoice 5
                                    Total                         120.00      120.00    

Here £120 has come out of the Debtors account, £96 to the Bank, and £24 to Exchange gain.  (120 was the Euro amount paid in)

Summary:
Invoice         £96  ... 120 euro
payment       £96  ... 120 euro
Allocation    £120 ...  150 euro

The final result is £24 Foreign exchange gain, and £24 deficit in the Debtors control account, where both should be nill.
The payment has allocated £120, not £96.

True, the customer balance report makes sence when I select Euros.
True , it is wrong when no currency filter is used,

But

It's not just the Customer Balance report, because when the payment is allocated the euro value is used instead of pounds, and the difference is recorded as Foreign Exchange gain.

Jonathan

My mistake, NOT SOLVED

The problem is half way to being solved.

A payment now results in the custommer's balance ( in pounds, our currency ) being credited with the euro figure, unconverted. This is not as bad as it was, ie converted in the wrong direction.

So now the sums in the foreign exchange gain are half what they were, but should be zero.


Jonathan

Joe and Janusz,

Problem solved, very quickly, and over the bank holiday weekend.

Many thanks
Jonathan

Janus,

If the foreign customer payment is not related to in invoice the customer balance increases by an amount as if  the exchange rate is applied the wrong way round. There are no foreign exchange gains or losses.

When a direct invoice, or an order- dispatch-invoice is entered there are no foreign exchange entries.

When a payment is made, directly for an invoice, or by allocating from the customer balance (which is artificially high) then the foreign exchange entries appear. They are almost twice the difference between the euro sum and the Pound equivalent.

All the above is done with no change in rate between the actions, and no bank charges.

I wondered if the wrong value was being sent from the payment form, but the problem is still there when the allocate payment form is used.

Hope this helps

Jonathan

Joe,

Thanks for the quick reply, but I installed the two files yesterday. As I said at the beginning.

So the problem remains.

Jonathan

Version 2.3.17 with new customer_payments.php and supplier_payment.php installed.

When entering French sales I enter direct invoices in Euros, and then the customer payment, all with the same exchange rate (our currency is GBP)

The Customer balance report shows the payment much too large, and the extra is entered as foreign exchange gain.

The Error is as if the conversion was done dividing by the rate instead of multiplying.

Is this my set up?

This is probably not significant, but when I go Sales>Customer payments the button at the bottom says "Update payment", but when I go Sales>Customer transaction Enquiry and edit an entry the button at the bottom says "Add payment". I would expect them to be the other way round.

20

(1 replies, posted in Setup)

I have read that I am to set the initial bank balance, stock and other G/L balances to match my last balance sheet.
But Journal Entries have TWO parts where should I allocate the second line?
Please could you give an example showing both sides of the Journal Entry.

I think I have worked it out.

The order FA leads me to make entries:-
1 Order
2 Receive Goods
3 Invoice this delivery
leads to the increase of stock being calculated at the price of the pre-existing stock, when 'receive goods' is performed.

The subsequent 'Invoice' provides the new costs and the difference from the old costs is the GRN provision. These go into the Stock account so it is the same in the end.

If you can confirm that this is what is happening I can work with it.

However it would be tidier to be able to go from Viewing the order to Invoicing before Receiving goods. This appears not to be an option.
Alternatively the ability to convert an order to a direct Invoice, would also avoid the need for GRN provisions.

Hoping I have it now

Thanks for your patience,

Jonathan

My local accountant does not understand "GRN Provision", Just as the whole internet cannot help.
It seems something unique to Front accounting so I hoped you could help, or at least help me to stop "GRN provisions" being applied.

Jonathan

Yes but provision for what. Isn't the purchase price what it says?
I don't want to add anything unless I know how it is calculated.

Front accounting just puts them in - I can't stop it -, and it is not a fixed proportion of the cost.
Is it to do with currency movements perhaps?

Jonathan

In set up you have "GRN Clearing account".
My foreign purchases generate "GRN provisions" in the General Ledger.

Creditors Control Account               12,171.97    
1001     Stock           179.50        
1001     Stock           2.80         GRN Provision
1001     Stock           574.41        
1001     Stock           8.95         GRN Provision
1001     Stock           287.21        
1001     Stock           4.47         GRN Provision

I Don't know what they represent, and even Google can't enlighten me.

Jonathan

I can find no explanation of these any where, inside Front Accounting or outside.
What do they represent, and what should I do with them?

Jonathan