1

(3 replies, posted in Installation)

Hi poncho1234,

Sorry for my late reply. I first finished accounting before any further upgrading attempts... After I enabled debugging, I found out that the problem was with the obsolete "Dashboard" theme and extension. After uninstalling both, upgrading went fine.

Thank you for your help!

Regards,

Peter

2

(3 replies, posted in Installation)

Dear All,

My ISP updated to PHP 7.X lately. No more FA2.4.1, so it was time to upgrade to FA2.4.3 I imagined. This resulted in an almost blank page with only date and time in the left column and a frontaccounting.com link in the middle. When I look in the server's error log I get the notorious "deprecated constructor" errors. FA2.4.3 is announced to be PHP7.X compatible. CONFUSED!....

Regards,

Peter

3

(19 replies, posted in Setup)

Hi apmuthu,

I wrapped up lines 507-515 from ui_input.inc as you suggested, which resulted in a shift of the error code from line 507 to 508. Then I unwrapped these code lines again and wrapped up lines 28-47 in dashboard_ui.inc.

if (!function_exists('text_input')) {
function text_input($label, $name, $value=null, $size="", $max="", $title=false,
    $labparams="", $post_label="", $inparams="")
{
    global $Ajax;

    default_focus($name);
    if ($label != null)
        label_cell($label, $labparams);

    if ($value === null)
        $value = get_post($name);
    echo "<input $inparams type=\"text\" name=\"$name\" size=\"$size\" maxlength=\"$max\" value=\"$value\""
        .($title ? " title='$title'" : '')
        .">";

    if ($post_label != "")
        echo " " . $post_label;

    $Ajax->addUpdate($name, $name, $value);
}
}

This resulted in an errorless Dashboard setup screen and a non functioning Reminder setup screen with error code "Undefined variable: use_date_picker in file: /X/X/X/X/public_html/fa/modules/dashboard/reminder_setup.php at line 20". So function text_input() seems to be executed in dashboard_ui.inc later... Do you agree, can I leave it this way?

After I exchanged line 20 of reminder_setup.php

if ($use_date_picker)
$js .= get_js_date_picker();

with

if (user_use_date_picker ()){
    $js .= get_js_date_picker();
 }

everthing seems to work fine. Is this the way to go or should the variable "$use_date_picker" be used somehow. Please advice on both edits.

Regards,

Peter

4

(19 replies, posted in Setup)

Hi Apmuthu,

Thank you for your help! Yet something must be terribly wrong here. I meticulously followed your instructions and I still get these "Cannot redeclare text_input()"/ blank screen errors, even in an completely new instance, freshly installed from your Git Master link, and looked up in a cacheless browser...

Any further suggestions?

Regards,

Peter

5

(19 replies, posted in Setup)

Cache cleared, no avail. Php 5.6.28, MySQL 5.5.38, Linux, FA 2.4.1 (downloaded from SourceForge, modified 2017-05-22). Dashboard & Reminders used to work in FA 2.3.x.

6

(19 replies, posted in Setup)

Hi Apmuthu, hi bobloblian, dear all,

I also have the error "Cannot redeclare text_input()..."/ white screen (FA 2.4.1 with a prolonging update history) in Dashboard and Reminder Setup. As described here, I uninstalled, re-installed, deactivated, activated,disabled, enabled, choose default and dashboard themes, logged in and out, without result. Please advise.

Regards,

Peter

7

(7 replies, posted in Accounts Payable)

Hi kvvarda,

I guess I have misinterpreted the function of the date picker. In my test instance fiscal year 2016 was not set up. As soon as I dis so, the habit as described in my posting of 03/09/2016 09:55:10, was gone.(Yet I think it would be handy if the date shown next to date picker was in red characters, when the set fiscal year differs from the actual year, or even better, showing a time frame within the set fiscal year...).

Sorry for the false alarm, thank you for your help!

Regards,

Peter

8

(7 replies, posted in Accounts Payable)

Anyone?

9

(7 replies, posted in Accounts Payable)

Hi kvvarda,

I am using FA v2.3.25 (e.g. Purchases => Supplier Invoices == Date) and Firefox. I tested on Chrome with the same result.

How can I paste/ attach screenshots in PunBB?

Regards,

Peter

10

(7 replies, posted in Accounts Payable)

Hi kvvarda,

Thank you for your reply! I already followed the procedure same as you described. So for posting the journal entries in the right period there are no problems.

Yet in another instance of FA I formerly tested with, the date picker shows the time frame complying the active fiscal year. Also the starting date of the time frame shown next to the data picker is set in red characters if the active fiscal year differs from today. This of course helps in preventing from making mistakes.

What is wrong in my FA setup that the data picker does not comply with the active fiscal year? Any further suggestions?

Regards,

Peter

11

(7 replies, posted in Accounts Payable)

Dear all,

I just started my first new administration in FA. For some reason the date picker month and year do not comply with the active fiscal year, 2014 for now. It showes the current month and year. Transactions can be posted in any period though, so access setup is OK. What could be wrong?

Regards,

Peter

12

(24 replies, posted in Setup)

Hi Apmuthu,

Although I was quite confident about my answer, I did some research first. The only similarity between a Dutch and a Belgian (Flemish!) COA is the use of the Dutch language for the account names. The Belgian COA is very striktly predefined by law ("Minimum Genormaliseerd Rekeningstelsel" and issued by the King himself (Regal Decree)!) where as the set up of a Dutch COA is completely free of choice. Yet for Dutch COA's there is a common use of 10 classes (0xxx-9xxx) just like Erwin de Bruin used for his COA.

I hope Demille will share his Belgian COA with the FA community, which will save a lot of work for the rest of us. If no further reactions follow from him or any other Belgian fellow-countryman/ woman, I will be happy to share the result of my humble attempt in the near future...

Regards,

Peter

13

(24 replies, posted in Setup)

@ Demille,

Dear Demille,

As a "Chinese volonteer", I was recently charged with the role of treasurer of a newly institutioned small foundation. Could you please help me with a sql-dump of your Belgian COA? (As a Dutchman I still have to blend in to the very strict Belgian fiscal rules..).

Also anyone else accustomed with Belgian fiscalities, you are very much invited to help me out!

Regards,

Peter

14

(7 replies, posted in Installation)

Hi Zubair,

Try this:

http://www.besthostratings.com/articles/force-ssl-htaccess.html

WebArchive

Sometimes you may need to make sure that the user is browsing your site over securte connection. An easy to way to always redirect the user to secure connection (https://) can be accomplished with a .htaccess file containing the following lines:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

Please, note that the .htaccess should be located in the web site main folder.

In case you wish to force HTTPS for a particular folder you can use:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} somefolder
RewriteRule ^(.*)$ https://www.domain.com/somefolder/$1 [R,L]

The .htaccess file should be placed in the folder where you need to force HTTPS.

Regards,

Peter