Topic: Cannot Edit, Add or Save data

Dear all,

I have downloaded and installed FrontAccounting 2.4.2 on EasyPHP Devserver on Windows 8.1  64 Bit
Apache 2.4.25 x86 - PHP 5.6.30 x86
MySQL 5.7.17 x86

I am able to create or edit Items and Inventory

But
I am NOT able to add or edit:
  Fiscal Year
  Sales Quotation Entry
  Purchase Order
  User Account
  POS

Every time I click on Save or update I got the triangle with "!" inside without any error message
I appreciate if someone can help me solve this.

2 (edited by kvvaradha 10/04/2017 02:08:36 pm)

Re: Cannot Edit, Add or Save data

It might have some errors with permissions or problem with script execution. 

Can you enable debugging mode and tell us what kind of errors you see on the each page.

Enabling Debugging mode :

Goto the file manager and followed by root of your Frontaccounting directory(Folder), than open the config.php

And find the

 $go_debug = 0; 

And change it to 

 $go_debug = 1; 

Save and run FA on browser.

Subscription service based on FA
HRM CRM POS batch Themes

Re: Cannot Edit, Add or Save data

When entering the tab: New Sales Quotation Entry, I got the following errors:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cart has a deprecated constructor in C:\Users\Tony\Downloads\frontaccounting-2.4.2\frontaccounting\sales\includes\cart_class.inc on line 24

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; line_details has a deprecated constructor in C:\Users\Tony\Downloads\frontaccounting-2.4.2\frontaccounting\sales\includes\cart_class.inc on line 651

Re: Cannot Edit, Add or Save data

Those are php version issues.no need to worry about it, even though the code will work, try to create a sample sales quotation and see if any errors you see while doing that or not.

Update us the errors,if possible screenshot, so we can assist you in the error.

Subscription service based on FA
HRM CRM POS batch Themes

Re: Cannot Edit, Add or Save data

same error with the triangle and "!" and not able to add any line nor update the total of order.

N.B. I d not know how to add a screenshot

Re: Cannot Edit, Add or Save data

You seem to be using a PHP v7+ which will not work with FA out of the box.

Re: Cannot Edit, Add or Save data

I installed PHP ver 5.3.5.0 and FA is running fine now
Thank you

Re: Cannot Edit, Add or Save data

@apmuthu,  I am using php7.1 and all my demo FA's are working fine. 

I see those warnings after login. After i open next page those will disappear, and didnt throw any error.

@tsalameh, if it works fine with 5.3. stay with that version.

Subscription service based on FA
HRM CRM POS batch Themes

Re: Cannot Edit, Add or Save data

The latest PHP 7.1 will not ordinarily accept FA code. They will insist on changing the constructor and destructor names. May be you are using some php.ini settings for backward compatibility in your specific version.

Re: Cannot Edit, Add or Save data

smile

Subscription service based on FA
HRM CRM POS batch Themes