Jump to content

Blank Page during Fresh Install


dmaxel

Recommended Posts

Howdy everyone,

 

I'm trying to do a fresh install of phpVMS 7 on a VPS using Docker. However, I'm only getting a blank page, meaning I'm not even making it to the installer.

 

More details:

  • OS: Debian 12 Bookworm
  • Base Docker Image: php:8-apache
    • Apache: version 2.4.59, enabled rewrite module, so things like .htaccess work
    • PHP: verison 8.3.6, has all required extensions installed
  • phpVMS Version: 7 beta 5
    • Directly uploaded (Option 4)
  • Traefik used as reverse proxy, and it's working fine as I can reach the phpVMS container
  • The page is completely blank
    • When I add echo statements to public/index.php, I can see them. So that means that I am reaching the container, and PHP can return something if it wants to
  • No logs in storage/logs
  • No PHP logs

 

I'm starting to run out of ideas...maybe someone can help out? Thanks in advance!

Link to comment
Share on other sites

  • Administrators

Don't use beta 5. Use the latest dev release available from the discord #v7-releases channel.

Directly upload that package and extract to the chosen phpvms folder.

If you set up a sub-domain for phpVMS, use option #1 in the docs to install.

Link to comment
Share on other sites

Hey @ProAvia, thanks for pointing to the dev releases. Didn't know those were there.

 

I tried out the latest dev release but still ended up with a blank page. I figured out how to get proper error logging turned on, and I see this:

Uncaught Error: Call to a member function connection() on null in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1819
Stack trace:
#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1785): Illuminate\\Database\\Eloquent\\Model::resolveConnection(NULL)
#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1576): Illuminate\\Database\\Eloquent\\Model->getConnection()
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1495): Illuminate\\Database\\Eloquent\\Model->newBaseQueryBuilder()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1531): Illuminate\\Database\\Eloquent\\Model->newModelQuery()
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1484): Illuminate\\Database\\Eloquent\\Model->newQueryWithoutScopes()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2334): Illuminate\\Database\\Eloquent\\Model->newQuery()
#6 /var/www/html/vendor/prettus/l5-repository/src/Prettus/Repository/Eloquent/BaseRepository.php(1152): Illuminate\\Database\\Eloquent\\Model->__call('where', Array)
#7 /var/www/html/vendor/prettus/l5-repository/src/Prettus/Repository/Eloquent/BaseRepository.php(557): Prettus\\Repository\\Eloquent\\BaseRepository->applyConditions(Array)
#8 /var/www/html/vendor/prettus/l5-repository/src/Prettus/Repository/Traits/CacheableRepository.php(315): Prettus\\Repository\\Eloquent\\BaseRepository->findWhere(Array, Array)
#9 /var/www/html/app/Repositories/SettingRepository.php(43): App\\Repositories\\SettingRepository->findWhere(Array, Array)
#10 /var/www/html/app/helpers.php(181): App\\Repositories\\SettingRepository->retrieve('general_theme')
#11 /var/www/html/app/Http/Middleware/SetActiveTheme.php(55): setting('general.theme', 'default')
#12 /var/www/html/app/Exceptions/Handler.php(54): App\\Http\\Middleware\\SetActiveTheme->setTheme(Object(Illuminate\\Http\\Request))
#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(217): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(UnexpectedValueException))
#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(194): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->renderHttpResponse(Object(UnexpectedValueException))
#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(254): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleException(Object(UnexpectedValueException))
#16 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(Object(UnexpectedValueException))
#17 {main}
  thrown in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php on line 1819

Any clue about this? 🙂

Link to comment
Share on other sites

If possible try something from php8.2 series to be sure ('cause php8.3 support is not official at the moment so eliminate that risk)

 

And I assume your docker has a compatible database server, like mysql or mariadb and it is configured + running. This looks like a db issue to me.

 

Good luck

Link to comment
Share on other sites

  • 4 months later...

Hi, sorry, life got busy and I had to put this on hold for a bit.

 

I did a fresh upload of the latest dev release following my break, and I'm still running into the same problem. Switching to PHP 8.2 changes nothing. Also, I do have a MariaDB instance running. However, it can't be a database issue when I haven't even gotten the chance to tell phpVMS how to connect to it. These problems are preventing me from even reaching the installer page.

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...