Topic: Why this error when the COA is big

Hello,

in The COA of my Company I use

- A/C Types/Groups/SubGroups extend the 100 Groups Acnts

- A/C Active Accounts extend the 100 Acnts Also

The Problem is :

- in the Training Co. Evrything is smooth in the reporting.

- when I entered my Co. through an .sql statement, I faced 3 probs.

   1 - Since the A/C types is big, I could not Edit any of it.
        When I asked for editing, the system seems to run w/ a blue arrows as
        normal, then it stopped and could not forward and retreive the data and
        display it for editing. the Blue Arrows showed in the upper middle of the
        screen and who shows the progress , becomes Red After being Blue.

   2 -  I tried to output a COA pdf report , the same problem I faced. Nothing
         Processed.

   3 - When I logout of my Co. & Login to the Training Co. to test the Edit Page of
        the A/C Type + The COA Reports, The Problem is now persisting.

Any Idea Please, Finally I am not an expert in the PHP Environement.

Regards,



Khaled

Re: Why this error when the COA is big

Hi again,

What i noticed also :

- if I add a new Group Type Account , it accepts it but to see the additions shown in the table, I need to refresh the Web Page manually

- also if I delete a Group Type Account, it accepts it but to see the deletion shownin the table, I need to refresh the Web Page manually



Also from other side When I checked the file  /temp/error.txt

I found the following errors :

1.
[07-Sep-2009 10:49:28] 0:admin:gl_account_types.php:195: Non-static method reserved_words::get_any_numeric() should not be called statically


2.
[07-Sep-2009 10:49:28] 0:admin:language.php:124: Non-static method get_text::gettext() should not be called statically

3.
[07-Sep-2009 10:49:28] 0:admin:gettext.php:177: Non-static method get_text::_support() should not be called statically


Regards,


Khaled

Re: Why this error when the COA is big

hi,

I resolved the Problem, but I don't know if it affects anything else, I think you have an Idea if it is. (Please Advise)

I trace the " Warning Icon " appeared in the upper middle of the page :

warning.png ; it seems that it is declared by a Javascript setimeout() problem.

I changed the follwing in the file :      /js/utils.js

line 28    tout = tout | 3000;    // default timeout value
line 29    set_mark(tout>5000 ? 'progressbar.gif' : 'ajax-loader.gif');

to

line 28    tout = tout | 30000;    // default timeout value
line 29    set_mark(tout>50000 ? 'progressbar.gif' : 'ajax-loader.gif');

I increased   3000   to   30000   &    5000   to   50000.

The " web page " display + pdf reports generating problems was resolved.

==========================
BUT for the listed bellow errors appeared in the /temp/error.txt , Ihave no answers, do you have ?

1.
[07-Sep-2009 10:49:28] 0:admin:gl_account_types.php:195: Non-static method reserved_words::get_any_numeric() should not be called statically


2.
[07-Sep-2009 10:49:28] 0:admin:language.php:124: Non-static method get_text::gettext() should not be called statically

3.
[07-Sep-2009 10:49:28] 0:admin:gettext.php:177: Non-static method get_text::_support() should not be called statically


Finally sorry for this disturbs I caused.

Regards,


Khaled