partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.38k stars 400 forks source link

Partkeepr creating window in window #707

Closed philm001 closed 4 years ago

philm001 commented 8 years ago

Hello everyone,

I seem to having a bug with partkeepr. When I add/remove stock or add a new part or edit and existing part, partkeepr adds it succussfully. However, when I go to repeat the action, partkeepr creates another window at the very bottom of the screen. It is as if partkeepr is expanding the frame to make the window fit. I am also unable to save any changes.

I created a post on the google groups and I will link it to this issue:

https://groups.google.com/forum/#!topic/partkeepr-users/2NAb0moK11U

This happens for Mac OS X and Windows 10 using safari, google chome, firefox, and Edge. The issue can kinda be fixed by refreshing the page. However, this makes the process slower.

This did not happen when partkeepr was first installed. It took at least 3-5 days for it to show up. We have about 6 computers needing to access partkeepr. All of the computers did not see the issue on the same day. Some took longer for the issue to appear. Others, sooner.

I should also mention that partkeepr is install on a ubuntu 14.04 virtualbox. The computer that the virtualbox is installed on does not have this issue.

Drachenkaetzchen commented 8 years ago

Can you reproduce it on the demo site? Do you receive any JavaScript errors in your JavaScript console?

philm001 commented 8 years ago

I do not think that I can reproduce it on the demo site. I can certainly try later today though.

I do not receive any JavaScript errors

philm001 commented 8 years ago

Also, I should note that I am using version 1.0

philm001 commented 8 years ago

Also, we are using php 7, the latest version, on our server

Drachenkaetzchen commented 8 years ago

Can you post a screenshot of the JavaScript console after the error occurs? It's very hard to fix a bug which I can't reproduce.

philm001 commented 8 years ago

Sure, is there any specific command that I can run in the console to get some debugging information?

Drachenkaetzchen commented 8 years ago

No, everything is printed on the JS console. See https://wiki.partkeepr.org/wiki/How_to_Debug#Frontend_Debugging on how to open the JavaScript console. Firefox and Chrome are preferred. Open the console before the problem happens. You should at least see several informational messages like "For WAI-ARIA compliance, IMG elements SHOULD have an alt attribute.".

EDIT: I just realized that the informational messages are only printed when using the development mode. You can activate development by following this instruction: https://wiki.partkeepr.org/wiki/How_to_Debug#Backend_Debugging

And then run app_dev.php instead of the regular web/ directory, e.g. https://demo.partkeepr.org/app_dev.php instead of just https://demo.partkeepr.org/.

philm001 commented 8 years ago

Oh, I see. I apologize for that. Here is the error I recieve when I go through a normal routine of adding a part and editing another:

extjs.js:22 Uncaught InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': '"' is not a valid attribute name.

philm001 commented 8 years ago

consoleLog.txt

Here is the log file

philm001 commented 8 years ago

And here is an expanded view of the error errorlog

philm001 commented 8 years ago

Is there any more information that I can provide?

I am thinking of attempting to reinstall partkeepr and see if this helps

Drachenkaetzchen commented 8 years ago

I haven't had time to analyze the information you sent. A reinstall certainly won't fix the issue, please wait until I got time to analyze the data.

philm001 commented 8 years ago

Ok, will do

philm001 commented 8 years ago

Hello felicitus,

I was wondering if you had a chance to review the log files? I represent a company that is using partkeepr and we are currently grounded until the issue is addressed.

Is there anything that we can do on our side to ensure that our operations can continue?

Drachenkaetzchen commented 8 years ago

@philm001 you could try to install the git version as per https://wiki.partkeepr.org/wiki/Running_PartKeepr_from_GIT to see if the bug is already fixed - for everything else you unfortunately have to wait until I get around it or seek commercial support as per https://partkeepr.org/support/commercial

philm001 commented 8 years ago

Ok, I am hoping that this is the case. I will attempt to compile and run from the git. Will let you know how it goes

philm001 commented 8 years ago

So here is our instructions for installing partkeepr on the virtual machine. These are the steps that we did. We wanted to have php 7.0 but I see components with for 5.6. I am wondering if this could have caused some issues?

https://docs.google.com/document/d/1eNIMb2hhcRcDmRz3wp3elahNo3NHCFnOU1RzuPW0Rgg/edit?usp=sharing

Drachenkaetzchen commented 8 years ago

No, the PHP version doesn't have anything to do with the JavaScript frontend issue.

philm001 commented 8 years ago

Ok

Are there any issues on how we setup and installed partkeepr?

christianlupus commented 4 years ago

@philm001 as there was no more communication here, I assume the issue has somehow settled. If still an issue (especially on the demo page), please tell me, then I will reopen it.