{"action":"opened","issue":{"url":"https://api.github.com/repos/jekkos/opensourcepos/issues/945","repository_url":"https://api.github.com/repos/jekkos/opensourcepos","labels_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/945/labels{/name}","comments_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/945/comments","events_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/945/events","html_url":"https://github.com/jekkos/opensourcepos/issues/945","id":186061139,"number":945,"title":"No Items to Display after 2.3.4 to 3.0 update","user":{"login":"gripitoy","id":23132794,"avatar_url":"https://avatars.githubusercontent.com/u/23132794?v=3","gravatar_id":"","url":"https://api.github.com/users/gripitoy","html_url":"https://github.com/gripitoy","followers_url":"https://api.github.com/users/gripitoy/followers","following_url":"https://api.github.com/users/gripitoy/following{/other_user}","gists_url":"https://api.github.com/users/gripitoy/gists{/gist_id}","starred_url":"https://api.github.com/users/gripitoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gripitoy/subscriptions","organizations_url":"https://api.github.com/users/gripitoy/orgs","repos_url":"https://api.github.com/users/gripitoy/repos","events_url":"https://api.github.com/users/gripitoy/events{/privacy}","received_events_url":"https://api.github.com/users/gripitoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-29T05:35:15Z","updated_at":"2016-10-29T05:35:15Z","closed_at":null,"body":"- [x] Checked the current issues database and no similar issue was already discussed\r\n- [x] Read the README, WHATS_NEW and UPGRADE\r\n- [x] Read the FAQ (https://github.com/jekkos/opensourcepos#faq) for any known install and/or upgrade gotchas (in specific PHP has php5-gd, php-intl and sockets installed)\r\n- [x] Reporting an issue of an unmodified OSPOS installation\r\n- [x] Ran any database upgrade scripts (e.g. database/2.4_to_3.0.sql)\r\n- [x] PHP version is at least 5.5 and not 7.x\r\n- [x] Know the version of OSPOS and git commit hash (check the footer of your OSPOS) and will add to my issue report\r\n- [x] Know the name and version of OS, Web server and MySQL and will add to my issue report\r\n\r\nIMPORTANT: If you remove the template when submitting an issue your issue will be closed.\r\n\r\n### Installation information\r\nRunning LAMP on a Raspberry Pi running Raspbian Jessie.\r\ncommit hash: 4f5ad57\r\nApache 2.4.10\r\nMySQL 5.5.44\r\nPHP 5\r\n\r\nI've been using opensourcepos for sometime now since 2.2 versions. I updated the software with no problems up to 2.3.4. Current version in use is 2.3.4, ran the 2.3.4_to_2.4.sql then 2.4_to_3.0.sql, all went fine and no errors. Modified the database.php and config.php accordingly. I can login, make a sale, generate a report.\r\n\r\nWhen I click on ITEMS, it show NO ITEMS TO DISPLAY and the search won't return any result. But on the sale module, all works fine, products shows up. When I clicked on NEW ITEM under the ITEMS module, an error appears at the top of the pop-up window. Something about”Undefined properpty: stdClass::$pic_id on line 192 and 193 on controllers/Items.php. Two red box appears with the same content on that page.\r\n\r\nA fresh install however works just fine, so I know all the files I have are working fine.\r\n\r\n### Expected behaviour\r\n\r\n\r\n### Actual behaviour\r\n\r\n\r\n### Steps to reproduce the issue\r\nexport database from a 2.3.4 install with quite enough transaction\r\ncreate new database\r\nimport 2.3.4 database.sql\r\nrun 2.3.4_to_2.4 sql\r\nrun 2.4_to_3.0 sql\r\nlogin to new 3.0 installation, add new item."}}
{"actor":{"display_login":"gripitoy"}}