GithubHelp home page GithubHelp logo

Comments (8)

areski avatar areski commented on July 17, 2024

Thanks for the report, this seems to be from mysql 5.5

from a2billing.

 avatar commented on July 17, 2024

Yes. You are right. From mysql 5.5.

Thanks

Leonard

From: Areski Belaid
Sent: Monday, May 13, 2013 9:10 AM
To: Star2Billing/a2billing
Cc: sanjap
Subject: Re: [a2billing] Alarms has not been created (#54)

Thanks for the report, this seems to be from mysql 5.5


Reply to this email directly or view it on GitHub.

from a2billing.

pablojmiranda avatar pablojmiranda commented on July 17, 2024

Please any solutions??? Server are in production. This is the reason i'm not upgrade mysql server a2b.
Code modification?
Thanks

from a2billing.

areski avatar areski commented on July 17, 2024

You are welcome to provide a patch/fix for this.

from a2billing.

pablojmiranda avatar pablojmiranda commented on July 17, 2024

yes, if i fixed,I post the solution. I try and now the score is 3-0. I'm in 0 ;)

from a2billing.

Ubunter avatar Ubunter commented on July 17, 2024

Hello,
We have solved this bug...
It's because the alarms table, cc_alarm, has a column called maxvalue and it turns out that maxvalue is a keyword in mysql.

SOLUTION:
In ./admin/Public/form_data/FG_var_alarm.inc added backticks around maxvalue in the setup of $HD_Form -> FieldViewElement and $HD_Form -> FieldEditElement

Hope that we're right and correct, as it's working fine now, for us, and it's up to areski and the developers to prove this solution and close this bug.

Regards,

from a2billing.

areski avatar areski commented on July 17, 2024

patch here: c879be4

from a2billing.

mason-chase avatar mason-chase commented on July 17, 2024

In my opinion: The all fields in entire statement should be enclosed with backticks. this will also improve MySQL parsing of any SQL statement.

from a2billing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.