I desperately need to get this app up and running ASAP. Any help or suggestions you gurus out there can provide would be very welcome and very much appreciated!
I hope these details give someone a clue as to what might be going wrong.
Background
I have been using Appgini since 2013, and have developed many apps. Every time I've uploaded one to a server, it just works. Flawlessly. Until now...
Description of Problem
When I first uploaded the app and entered the URL in my browser (Firefox 115.0), I got the setup page. I entered the DB credentials, and got a green "Connection OK" message. I entered my admin credentials and continued. I then get a totally blank screen. I've tried other browsers, with the same result.
I checked the database, and setup created the table, and populated it with the appropriate empty rows.
The Browser Tools Inspector shows an utterly blank page:
Code: Select all
<html class="">
<head></head>
<body></body>
</html>
This is a basic, bare-bones implementation of my app, with no Appgini plugins or modifications to hooks files. I like to get a basic version running before I tweak it.
If I run it on Xampp on my local computer, it works perfectly. It is only on the remote server that it does not load.
Server and App Details
The site is hosted on Hostinger, and it's a Litespeed server running Linux using PHP 8.2.5.
My appGini version is 23.13.
Further Troubleshooting Steps I've Taken
After reviewing all of the above, I decided to do some more in-depth checking by inserting exit("my_message_here") statements starting at the top of index.php and working down.
In index.php it stopped displaying the exit message immediately after "include_once(__DIR__ . '/lib.php');"
So, I started at the top of lib.php, and found out that it stopped displaying the exit message immediately after "Authentication::signIn();"
I commented out "Authentication::signIn();" in lib.php, and was able to progress to home.php.
home.php failed at "include_once(__DIR__ . '/header.php');"
header.php fails at:
Code: Select all
<?php if(!Request::val('Embedded')) { ?>
<?php if(function_exists('htmlUserBar')) echo htmlUserBar(); ?>
I decided not to take this any further because this could go on forever.
Thank you,
Garry Musgrave