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

Error Seeing data of pilot profile #351

Closed
avs-code opened this issue Aug 8, 2019 · 8 comments
Closed

Error Seeing data of pilot profile #351

avs-code opened this issue Aug 8, 2019 · 8 comments
Labels
Milestone

Comments

@avs-code
Copy link
Contributor

avs-code commented Aug 8, 2019

Describe the bug
Recently installed with modifications #349 (except .travis/phpunit.travis.xml I didn't find that file), added country and home, actual airport to user profile. When click on profile (in frontend user side) or on pilots---> pilot "x" (to see his profile) a blank page with error message is shown:

Whoops, looks like something went wrong.

In log server say:

#53 /home/argavirt/public_html/phpvms7/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#54 /home/argavirt/public_html/phpvms7/index.php(18): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#55 {main}
"}

To Reproduce
Described avobe

Expected behavior
See data of pilot profile

Screenshots
N/A

Desktop (please complete the following information):

  • OS: W10
  • Browser: Firefox
  • Version: 68.0.1 64bits

Additional context
laravel-2019-08-08.log

@nabeelio nabeelio added the bug label Aug 8, 2019
@nabeelio nabeelio added this to the beta milestone Aug 8, 2019
@avs-code
Copy link
Contributor Author

avs-code commented Aug 8, 2019

In case it was a data to take into account, my server uses php5.6 and the phpvms7 directory has this change in the htaccess to work with php7.2
# Use php7.2 AddHandler application/x-httpd-ea-php72___lsphp .php .php72 .phtml .htm .html AddType application/x-httpd-ea-php72___lsphp .php .htm .html .shtml

@nabeelio
Copy link
Owner

nabeelio commented Aug 8, 2019

Please try the latest dev

@avs-code
Copy link
Contributor Author

avs-code commented Aug 8, 2019

This error is showed after installation, when it try redirect to http://argavirtual.com/phpvms7/admin/dashboard
[2019-08-08 20:25:03] prod.ERROR: Error reading METAR: Trying to get property 'raw_text' of non-object.
After that I go to url http://argavirtual.com/phpvms7/ and all seems working correctly.

@avs-code
Copy link
Contributor Author

avs-code commented Aug 8, 2019

P.D: permissions table is populated

@nabeelio
Copy link
Owner

nabeelio commented Aug 8, 2019 via email

@avs-code
Copy link
Contributor Author

avs-code commented Aug 8, 2019

There was no airport, after installing

@nabeelio
Copy link
Owner

nabeelio commented Aug 8, 2019

Give the latest dev a shot. That bug was a total brain fart.

@avs-code
Copy link
Contributor Author

avs-code commented Aug 8, 2019

It seems that everything is correct now, the log only shows INFO, no errors.
[2019-08-08 21:56:01] prod.INFO: Update - migration paths {"core":"/home/argavirt/public_html/phpvms7/app/Database/migrations"} [2019-08-08 21:56:01] prod.INFO: Migrations available: [2019-08-08 21:56:01] prod.INFO: Update - migration paths {"core":"/home/argavirt/public_html/phpvms7/app/Database/migrations"} [2019-08-08 21:56:01] prod.INFO: Migrations available:

version 7.0.0 (build 190808.47be75)

@nabeelio nabeelio closed this as completed Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants