26

(17 replies, posted in FA Modifications)

but please help , u can see above update thats

and if i click on sorting asc or desc then

"//-----

DATABASE ERROR : Error browsing database: SELECT id,name,datetime FROM ".TB_PREF."test_table   ORDER BY ,  LIMIT 0, 10
error code : 1064
error message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 1
sql that failed was : SELECT id,name,datetime FROM ".TB_PREF."test_table ORDER BY LIMIT 0, 10

---//"



see ORDER BY , 

i think field name is not coming here ...

as the i have already shifted from MYSQL TO MYSQLI as per above code ... but only sorting is not working... it would be great if u look in it pls..

also by when 2.4 will be out ... else i would be to rework on many pages ...

pls help

Hi,

After using https://frontaccounting.com/punbb/viewtopic.php?pid=21291
Mysqli ...my table sorting by asc/desc  is not working

which is because of

function db_field_name($result, $n)
{
    //return mysql_field_name($result, $n);
       $fieldinfo = mysqli_fetch_field_direct($result, $n);
        return $fieldinfo->name;
    
    
}

and if i click on sorting asc or desc then

"//-----

DATABASE ERROR : Error browsing database: SELECT id,name,datetime FROM ".TB_PREF."test_table   ORDER BY ,  LIMIT 0, 10
error code : 1064
error message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 1
sql that failed was : SELECT id,name,datetime FROM ".TB_PREF."test_table ORDER BY LIMIT 0, 10

---//"



see ORDER BY , 

i think field name is not coming here ...


and after long time i found the prb .. i dont know its in that function or not but when i replace all mysql to mysqli as per above code my asc desc stop working .. any idea ???

28

(17 replies, posted in FA Modifications)

Hi,

After using above Mysqli my table sorting by asc/desc  is not working

which is because of

function db_field_name($result, $n)
{
    //return mysql_field_name($result, $n);
    $fieldinfo = mysqli_fetch_field_direct($result, $n);
    return $fieldinfo->name;
    
    
}

getting error:

"//-----

DATABASE ERROR : Error browsing database: SELECT id,name,datetime FROM ".TB_PREF."test_table  ORDER BY LIMIT 0, 10
error code : 1064
error message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 1
sql that failed was : SELECT id,name,datetime FROM ".TB_PREF."test_table ORDER BY LIMIT 0, 10

---//"

and if i click on sorting asc or desc then

"//-----

DATABASE ERROR : Error browsing database: SELECT id,name,datetime FROM ".TB_PREF."test_table   ORDER BY ,  LIMIT 0, 10
error code : 1064
error message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 1
sql that failed was : SELECT id,name,datetime FROM ".TB_PREF."test_table ORDER BY LIMIT 0, 10

---//"



see ORDER BY , 

i think field name is not coming here ...
chk : https://frontaccounting.com/punbb/viewtopic.php?pid=21292



i had also post the query here :  https://frontaccounting.com/punbb/viewtopic.php?id=4967

and after long time i found the prb .. i dont know its in that function or not but when i replace all mysql to mysqli as per above code my asc desc stop working .. any idea ???

29

(4 replies, posted in Wish List)

Hi,

I have more then 100 records under " customer_branches.php " >> Select a Customer.

Below is what we have in FA :

Records 1-10 of 100      First  Prev             Next  Last 

But would be great if could have as below :

Records 1-10 of 100      First  Prev     1 2 3 4 5         Next  Last 

It would be so easy as if i comparing some records .... not only in this page .. suppose in any other page also ( search ..etc ) ... it become difficult to come again on that particular record page .

ex: i am on 2 record page and by clicking Next Next Next i come on  20 record page and again i want to see 2 reord page or 3 or 4 ... then i have to click  Prev  Prev

also by this at-least we can remb .our record on resp. page id. ( thats 2,3..etc ).

Hope this will help in easy way .

Thanks

Hey check this link : and read all comment ... then u will get what i am asking for multiple User Access level

https://frontaccounting.com/punbb/viewtopic.php?id=4995

pls check u r PM... will love if u can share u r code with us

Hope you got what i means to say :

In brief :  i am trying to implement one Tool ( open source )  - its is some what for better table view ( thats for search , pagination etc ) .

what i have to do is ...  just include his button code in my resp. Custom FA  page thats " <button class=""></button> " with its external   jquery file and it will do searching automatically .. nothing else ...

but now when i click on above button ... then FA default button function action start on it .. and on top of my page "ajaxloader.gif" start showing ... hence such thing should be not made default in such BIGER Project

which is unwanted ... also some Tool have  shortcut for there code  which come though there external jquery files ...

hence in that we can do anything .. please think on it ..


Solution : what i did is i made my own page function thats " page_my(_($help_context = "commingsoon"),false, false, "", ""); "

smile

Hey,

I means to say ...  Button  action ... if i am using any  tool which as it own button action then it getting collide with FA ... as your button action is by default ... hence its getting collide.. for which i have to rewrite ... and struggle here there for solution ...mostly your button , submit , delete , add ..etc get collide ... and then i have to converting it with anchor tag with ajax call etc ... hence i think you should avoid such default action.

btw i have made own custom table view , will share soon and hope it will take FA to another level in view format and in many other way.

Hi,

@ FA admin - please note this ...


After trying lot of customization of other open source s/w with FA , i found FA code has many collision with other Source code.. I found i cant easy implement any other open-source " .php , jquery , ajax " ..etc file with FA ..

As said early : i have found FA table list view bit difficult , hence i tried my own implement of Table-view using TABLE-SORTER : http://tablesorter.com/docs/

After almost 1hr i build my own custom FA  php file with above table-sorter : but some of file of FA ... made my all work waste , as some FA query ( may be jquery , ajax ..whatever i don't know ) is colliding with table-sorter


I have place the query at stack : http://stackoverflow.com/questions/24672854/tablesorter-typeerror-c-is-undefined-c-page

hence in-short FA query ( code ,  file structure .. ) should be flexible and so easy that i can use FA structure file code with any of other Open source code file structure ...  hence it would be easy for us to give many new features to FA

35

(21 replies, posted in Report Bugs here)

Hey can you brief me how i can use the same with FA ... as i need Single user with multiple Access level.

secondly .. i have one custom .php page  while opening this .. i also get 500 internal server error ..but same page works fine in my local-host ... let you know about my custom .php :- its has 1 select query follow by 2 insert query and then 2 update query and then again insert query ... in-short  while insert a new record above all query get fire ...

but i don't know why its to slow while open the page ... as all above query run only after new record get insert.. hence its should get slow while insertion ...

i contact my server person he told me : u need to optimism your query ..within disk .. but i didn't get what he me to say .. can any one help me.. how i can optimism such long query so that my all page get open fast ..

36

(3 replies, posted in Setup)

its some what i asked ? "https://frontaccounting.com/punbb/viewtopic.php?id=4995"

I was just going @ http://www.phreebooks.com/pb-demo/index.php?module=phreedom&page=users&list=1

i and saw here that they have given same features which i have asked above .. means Full/Edit/Add/ReadOnly/None

Which is i think we should also provide same in FA  .. they have many some great features .. i think which we can TAKE IN fA

Note : please dont think its COPY or anything just think for make FA more easy features

38

(18 replies, posted in Announcements)

Hmm .. Now i am able to See Upload Button Under POST REPLY.

Thanks Joe.

39

(18 replies, posted in Announcements)

me to cant see upload browser sad

Hi,

I don't know why this is not in our FA system:


Edit / delete should be only for Admin or Sub-Admin or Admin decide too whom he give this permission:

as any one can delete any records if i make any separate Access level for some group of people and i dont want them to delete any records just say they can add record ..or what permission i have given them ( thats only view or add or edit or delete or combination of any )

must be think on this

41

(21 replies, posted in Report Bugs here)

any masters here

42

(21 replies, posted in Report Bugs here)

Any One ? , guys pls help me out sad

43

(21 replies, posted in Report Bugs here)

Hmm that what I also taught first, but issues is that WHILE getting report  i should get entry of user as per department ..

means if he has done entry in stock then in report i should get his entry of department as stock .. not combination of stock-product .. else it would be difficult for us to identify entry properly as per access level or department wise

entry and its report system is my requirement in FA ..which is working fine ... only problem with multiple access level  ..

Thanks

44

(21 replies, posted in Report Bugs here)

Carmelr,

I have 2 access level ( or for properly understanding let say DEPARTMENT ) means access level = department in my FA .

hence 2 department ( access level ) are :  Stock and Product .

Now i have a USER who have access to both department ( access level ) thats stock and product in my company .

Hence as per FA we can assign single access level ( department ) to users . but in my case i want to assign this user to both department ( access level ) thats stock and product at a same time .. so that he can access both sections at a single login itself.

Hope u r now clear about my logic.

45

(21 replies, posted in Report Bugs here)

Hey carmelr ,

Thanks for reply .. yes that is the page for details ...

but if insert 2 role in role_id type..

hence do i need to define 2 access level page_security : on the particular page ?

or via session it will work.

bit confusing

46

(21 replies, posted in Report Bugs here)

Hello Please help me ,

as i tried :

changing User table : role_id type from int(11)  To  varchar(256) .. so that i can assign multiple id to users ( as : 2,3) where 2,3 are access level resp.

but after that what i need to do ..i am bit confuse as there are many security level and session which bit confusing me ..pls help me

47

(21 replies, posted in Report Bugs here)

Admin ,

Please help me .. if you cant then mail me or pm me the step what i need to do ... or which file need to be taken care ...i know user.php .. but how its call in session etc ..can guide me pls

48

(21 replies, posted in Report Bugs here)

I am planning for 2 Changes :

Once is Access level - Sub Access Level

second one is User assign to Multiple Access level and Sub Access level

But my first priority is to : User assign to multiple access level.

From my point this are major point which had to taken :

But please help me how i can start as its bit difficult for me to understand all pages ..so if i get help in which pages i need to do ? ..then it would be easy for me

49

(21 replies, posted in Report Bugs here)

Joe bro,

I am also php prog. but newbie ... hence my company has hired me to do the changes ... hence can u guide me if i need to make multiple acess level for user then what and which file i need to change ..also session etc.. can u guide me this much?

50

(21 replies, posted in Report Bugs here)

hey Joe,

Thanks for the reply.

I think its should be taken in Newer version .. as safe extra  user creation...

ok can u guide me how i can start and what major step should be taken ,, and what file need to be taken care .. so taht i can try myself .. as  i need to make this ..as in my office there is one user who have access to 2 level and he dont want to login with 2 login id ..he want one single login for both access level ..

so can u guide me pls ...which which file need to be change and what are step ..