Skip to content

Make attributes implementation compatible with only_full_group_by #2538

Closed

Description

@klisle

Background information

IMPORTANT: If you choose to ignore this issue report template, your issue will be closed as we cannot help without the requested information.

Please make sure you tick (add an x between the square brackets with no spaces) the following check boxes:

  • Reporting an issue of an unmodified OSPOS installation
  • [] Checked open and closed issues and no similar issue was already reported (please make sure you searched!)
  • Read README, WHATS_NEW, INSTALL.md and UPGRADE
  • Read the FAQ for any known install and/or upgrade gotchas (in specific PHP extensions installed)
  • Read the wiki
  • Executed any database upgrade scripts if an upgrade pre 3.0.0 (e.g. database/2.4_to_3.0.sql)
  • Aware the installation code is in bintray (see README), and GitHub master is for developers only and therefore not complete nor stable

Installation information

Issue / Bug / Question / New Feature

Having this issue with the latest bin tray. I have tried with multiple 3.3.0 builds from bintray. I have also tried from a fresh install with a new database. I have deployed 3.2.0 and 3.2.3 before and had no issues. What am I missing please?
Annotation 2019-09-12 170258

Activity

  1. SteveIreland commented on Sep 12, 2019

    @SteveIreland
    Collaborator

    You should be okay with the version of PHP, MySQL, and Apache. I'm using about the same versions and it works fine.

    Can you go to Office >> Configuration >> System Information and provide a screen print of what you see there? It might let you know if there is a feature that isn't properly installed

  2. klisle commented on Sep 13, 2019

    @klisle
    Author

    @SteveIreland Hey, here'e the copy of system info. Thanks.

    OSPOS Installation Info: 3.3.0 - 8c1735
    Language Code: en-US

    Extensions & Modules:
    » GD: Enabled ✓
    » BC Math: Enabled ✓
    » INTL: Enabled ✓
    » OpenSSL: Enabled ✓
    » MBString: Enabled ✓
    » Curl: Enabled ✓

    User Settings:
    .Browser: Chrome
    .Server Software: Apache/2.4.29 (Ubuntu)
    .PHP Version: 7.2.19-0ubuntu0.18.04.2
    .DB Version: 5.7.27-0ubuntu0.18.04.1
    .Server Port: 80
    .OS: Linux ip-172-31-95-97 4.15.0-1048-aws #50-Ubuntu SMP Wed Sep 4 22:03:52 UTC 2019 x86_64

    File Permissions:
    » [application/logs:] - 0777 | Writable ✓
    » [public/uploads:] - 0777 | Writable ✓
    » [public/uploads/item_pics:] - 0777 | Writable ✓
    » [import_customers.csv:] - 0777 | Writable ✓

  3. mckaygerhard commented on Sep 13, 2019

    @mckaygerhard
  4. odiea commented on Sep 13, 2019

    @odiea
    Collaborator

    Works fine in Windows using Wamp server.
    2019-09-13 07_03_15-Window

  5. SteveIreland commented on Sep 13, 2019

    @SteveIreland
    Collaborator

    We'll just need to wait for @mckaygerhard to enlighten us since he knows what is causing the problem experienced by @klisle

  6. odiea commented on Sep 13, 2019

    @odiea
    Collaborator

    I found this on the internet so permissions look ok to me.

    Symbolic Notation Numeric Notation English
    ---------- 0000 no permissions
    -rwx------ 0700 read, write, & execute only for owner
    -rwxrwx--- 0770 read, write, & execute for owner and group
    -rwxrwxrwx 0777 read, write, & execute for owner, group and others
    ---x--x--x 0111 execute
    --w--w--w- 0222 write
    --wx-wx-wx 0333 write & execute
    -r--r--r-- 0444 read
    -r-xr-xr-x 0555 read & execute
    -rw-rw-rw- 0666 read & write
    -rwxr----- 0740 owner can read, write, & execute; group can only read; others have no permissions
  7. klisle commented on Sep 13, 2019

    @klisle
    Author

    @mckaygerhard @odiea @SteveIreland I changed the permissions to 777 just for the purpose of testing what could possibly be wrong with the installation :) I know it shouldn't be for production though. I have tried also using a newly created database. The only part that is not working for me is the "New Item". creating new supplier or new customer etc all work fine.

  8. mckaygerhard commented on Sep 13, 2019

    @mckaygerhard
  9. odiea commented on Sep 13, 2019

    @odiea
    Collaborator

    @klisle The version number you are using appears to be 2 months old. Here is the most current unstable version. Please try it and see if anything changes for you.
    https://bintray.com/jekkos/opensourcepos/download_file?file_path=opensourcepos.20190911204733.master.427432.zip

  10. klisle commented on Sep 13, 2019

    @klisle
    Author

    @klisle The version number you are using appears to be 2 months old. Here is the most current unstable version. Please try it and see if anything changes for you.
    https://bintray.com/jekkos/opensourcepos/download_file?file_path=opensourcepos.20190911204733.master.427432.zip

    I will try but as I said I tried with multiple, probably including that one, this was just the one I decided to take the screenshot from. I always try everything I can before asking for help. It is weird though.

  11. klisle commented on Sep 13, 2019

    @klisle
    Author

    @odiea @SteveIreland the most recent one, opensourcepos.20190911204733.master.427432.zip, has the same issue. I just extracted the zip and replaced my html folder with it. Please see the attachments for the login, new item and system info snips As I said, add supplier, add customer etc. work fine but new item does not. Thanks a lot guys.
    login
    newitem
    sysinfo

  12. odiea commented on Sep 13, 2019

    @odiea
    Collaborator

    Have you created any attributes? If so see if removing them from Items changes anything

  13. daN4cat commented on Sep 13, 2019

    @daN4cat
    Collaborator

    If you do key F12 in Google Chrome before opening the dialog box, when you create the error do you see some errors in the debug console?

  14. klisle commented on Sep 13, 2019

    @klisle
    Author

    Have you created any attributes? If so see if removing them from Items changes anything

    I haven't created anything except a user

    If you do key F12 in Google Chrome before opening the dialog box, when you create the error do you see some errors in the debug console?

    @SteveIreland @daN4cat Indeed! items/view. please see below!

    ahaa

  15. odiea commented on Sep 13, 2019

    @odiea
    Collaborator

    My only suggestion would be to see if you have in application/views/items/form.php and check to see what permissions it has. It appears to not be there to me.

  16. 96 remaining items

  17. jekkos commented on Jan 3, 2020

    @jekkos
    Member

    It's in a PR now, can be reviewed and tested.

  18. odiea commented on Jan 3, 2020

    @odiea
    Collaborator

    Works great now. Thanks

  19. odiea commented on Jan 3, 2020

    @odiea
    Collaborator

    It appears that it is time to cleanup the old Bintray files?

  20. jekkos commented on Jan 3, 2020

    @jekkos
    Member

    Ouch i hope it didn't get blocked again?

  21. odiea commented on Jan 3, 2020

    @odiea
    Collaborator

    It is currently still working. Just some are 5 months old.

  22. daN4cat commented on Jan 3, 2020

    @daN4cat
    Collaborator

    Merged latest PR

  23. daN4cat commented on Jan 3, 2020

    @daN4cat
    Collaborator

    This seems fixed. I close and preapare Release 3.3.2.

  24. daN4cat commented on Jan 3, 2020

    @daN4cat
    Collaborator

    @klisle when we release 3.3.2, please migrate to that and test is again re-enabling only_full_group_by

  25. modified the milestones: 3.3.2, 3.4.0 on Jun 28, 2020
  26. objecttothis commented on Jun 28, 2020

    @objecttothis
    Member

    This will be fixed when #2819 gets fixed in 3.4.0. There are a couple of issues caused by Item->search() that will get resolved by removing group_concat() from that function.

  27. jekkos commented on Oct 30, 2020

    @jekkos
    Member

    WIll close this one, curerntly the setup works but has it's limitations. Improvements are described in #2819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions