Closed oj4lif3 closed 6 years ago
Enable display_errors
Sent from my Windows 10 phone
From: oj4lif3mailto:notifications@github.com Sent: Sunday, January 21, 2018 5:22 PM To: TheNAF/naflmmailto:naflm@noreply.github.com Cc: Subscribedmailto:subscribed@noreply.github.com Subject: [TheNAF/naflm] Blank Screen after install (#240)
I have a clean install on my laptop of NAFLM. Install went smoothly but when I go to view index.php for the first time after install, its blank. After inserting many php echo prompts in the php code, I narrowed the issue down to line 36 of the /lib/class_translations.php file.
$this->registerTranslationFile(self::main, 'lang/translations.xml');
Usually a blank screen means there is a missing semi-colon or something like that in php but I dont see any issues with the code. Please help as I would like to setup a site on my local machine before actually having one hosted. Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/TheNAF/naflm/issues/240, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMwJjNPimLIM2MmMhSK-9m5dhqODxS0qks5tM7iJgaJpZM4Rl_rq.
Okay. I have enabled display_errors.
Fatal error: Class 'DOMDocument' not found in /var/www/html/naflm/lib/class_translations.php on line 49
Issue fixed after installing php5.6-xml
I have a clean install on my laptop of NAFLM. Install went smoothly but when I go to view index.php for the first time after install, its blank. After inserting many php echo prompts in the php code, I narrowed the issue down to line 36 of the /lib/class_translations.php file.
$this->registerTranslationFile(self::main, 'lang/translations.xml');
Usually a blank screen means there is a missing semi-colon or something like that in php but I dont see any issues with the code. Please help as I would like to setup a site on my local machine before actually having one hosted. Thanks.