Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #642 for 3.4] - Post field cannot be null - no server created. #647

Closed
SciLor opened this issue Sep 8, 2018 · 10 comments
Closed

[PR #642 for 3.4] - Post field cannot be null - no server created. #647

SciLor opened this issue Sep 8, 2018 · 10 comments
Assignees
Labels
good first issue Should be easy to fix! Type: bug Owh no there is a bug in the system. Please provide the version the bug is on!
Projects

Comments

@SciLor
Copy link

SciLor commented Sep 8, 2018

#638 #642

If I am creating a new server, no server entry is created in the "psm_servers" sql table. "Server added" popup comes up, but no new entry is visible.

Warning: SQL error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'post_field' cannot be null in

@TimZ99
Copy link
Member

TimZ99 commented Sep 8, 2018

Follow the same steps as discussed in, but before opening install.php, open test.php.

@TimZ99 TimZ99 added Type: bug Owh no there is a bug in the system. Please provide the version the bug is on! good first issue Should be easy to fix! labels Sep 8, 2018
@TimZ99 TimZ99 self-assigned this Sep 8, 2018
@SciLor
Copy link
Author

SciLor commented Sep 8, 2018

There seems to be no test.php file?!

@TimZ99
Copy link
Member

TimZ99 commented Sep 8, 2018

Strange.

It should be placed in the same folder as index.php etc.

@SciLor
Copy link
Author

SciLor commented Sep 8, 2018

Warning: SQL error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'psm_x_dev_config.key' in 'where clause' in /home/scilmhmx/monitor.scilor.com/src/psm/Service/Database.php on line 544
OK

@TimZ99
Copy link
Member

TimZ99 commented Sep 8, 2018

My bad, forgot the change the variable. one sec (again).

@SciLor
Copy link
Author

SciLor commented Sep 8, 2018

Upgrade from 331 to 340 but with warning
: SQL error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'combine_notifications' for key 'PRIMARY' in

@SciLor
Copy link
Author

SciLor commented Sep 8, 2018

Fine, did test.php then upgraded.
But on server creation
: SQL error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'post_field' cannot be null in

@TimZ99
Copy link
Member

TimZ99 commented Sep 8, 2018

phpservermon.zip
Only changed the query for the upgrade part and not for the fresh install part.

@TimZ99
Copy link
Member

TimZ99 commented Sep 8, 2018

Did it work this time?

@SciLor
Copy link
Author

SciLor commented Sep 9, 2018

Yes, I was able to add another server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Should be easy to fix! Type: bug Owh no there is a bug in the system. Please provide the version the bug is on!
Projects
No open projects
V3.4
  
Done
Development

No branches or pull requests

2 participants