Giter Club home page Giter Club logo

Comments (3)

araniyan avatar araniyan commented on August 14, 2024

1 1_double entry view in admin panel
1 2_double entries at database view - phpmyadmin
2 1_sql error while adding new language with image
2 2_after sql error message new language entry created in database but the image not get attached

from laravel-5-bootstrap-3-starter-site.

mrakodol avatar mrakodol commented on August 14, 2024

It does not depend on any environments it's simple database error. I set in database migration (see database/migrations/2014_10_18_195027_create_language_table.php) that only in language table "name" and "language_code" have unique value. That is because laravel return that error, what is show here and do now return any errors when you put equal rows values into news for example.

from laravel-5-bootstrap-3-starter-site.

araniyan avatar araniyan commented on August 14, 2024

Hi,

Thanks for the prompt reply on our request. As you stated on the reply, we knew that there is unique constraint for certain fields in language table and therefore we can't create a same entry with equal values again.

However, the issue we facing is something different that, even when we create a new value in first time, it's get replicated in database. That is the confusion we facing here that it always not happen in all environment as I almost stated on my previous query.

The replication happen in all tables mostly in Google Chrome and in Firefox, only single entry is get created without any errors.

Hope you get what we say.

Thanks!

from laravel-5-bootstrap-3-starter-site.

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.