Blank page after installation

chiave1990
Forums
Goodmorning, Sorry for my bad english. I installed Opigno locally on my PC using XAMPP and all works fine. Now I bought a domain+hosting by "Register" provider and I finish the Opigno installation but when I try to reach the webpage or the login page (manually typing the address), I only got a blank page. I tried using PHP ver. 7.3 and 7.4. During the installation process, I got a blank page too and to continue installation I must type mydomain/install.php to continue the installation. Can you help me please? Any ideas? Alternatively, Register allows me to install automatically Drupal... is there a list of file that I could overwrite to install Opigno after Drupal? Thanks
admin

Hi chiave1990,

Hi chiave1990, Have you tried with php 7.2? Best regards
chiave1990

I tried changing php version

I tried changing php version and finally it works with 7.0, thanks! I haven't solved the message "Please install the TinCanPHP library using Composer, with the command: composer require rusticisoftware/tincan:@stable" because Register provider don't allow me to use Composer... is there an alternative way to install TinCanPHP Library?
amir66

White screen after install

I have downloaded the package from https://www.opigno.org/en/release/211 unpacked and copied to web root. I am using MAMP and using PHP v7.0.33. I have changed PHP.ini to use memory_limit=512M, upload_max_filesize = 128M, post_max_size = 256M, xdebug.max_nesting_level = 200. I run "composer require rusticisoftware/tincan:1.0.0". I got the following errors: Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead. Package zendframework/zend-escaper is abandoned, you should avoid using it. Use laminas/laminas-escaper instead. Package zendframework/zend-feed is abandoned, you should avoid using it. Use laminas/laminas-feed instead. Package zendframework/zend-stdlib is abandoned, you should avoid using it. Use laminas/laminas-stdlib instead. I tried to running "composer require laminas/laminas-diactoros" and I get the following message: Using version ^2.3 for laminas/laminas-diactoros ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - Conclusion: remove drupal/core-recommended 8.8.4 - Conclusion: don't install drupal/core-recommended 8.8.4 - Conclusion: don't install laminas/laminas-diactoros 2.3.0 - Installation request for drupal/core-recommended (locked at 8.8.4, required as ^8.8) -> satisfiable by drupal/core-recommended[8.8.4]. - Conclusion: don't install laminas/laminas-diactoros 2.4.x-dev - drupal/core-recommended 8.8.4 requires zendframework/zend-diactoros 1.8.7 -> satisfiable by zendframework/zend-diactoros[1.8.7]. - don't install zendframework/zend-diactoros 1.8.7|don't install laminas/laminas-diactoros 2.3.x-dev - don't install laminas/laminas-diactoros 2.3.x-dev|remove zendframework/zend-diactoros 1.8.7 - don't install laminas/laminas-diactoros 2.3.x-dev|don't install zendframework/zend-diactoros 1.8.7 - Installation request for laminas/laminas-diactoros ^2.3 -> satisfiable by laminas/laminas-diactoros[2.3.0, 2.4.x-dev, 2.3.x-dev]. Installation failed, reverting ./composer.json to its original content. The home screen take a while to load and results in white screen. It is the same with PHP v7.4.2, and v7.3.9. I have run out of ideas, can you help?
admin

Hi amir66,

Hi amir66, Please try using php 7.2 Best regards
asikuy

composer install

to use composer, you must install Opigno with composer. Do not download anything, Composer will download and install all needed modules and libraries. Then you can use composer to add additional modules, libraries, etc, do updates too. Check with your host provider if you can install Opigno using composer. Some web hosts do not allow for you to install software, also check the memory allocated to you, Opigno is a big app. on my VPS i put 4Gigabytes, otherwise it would not work. My advise is to use a VPS for Opigno and not a shared host. Look into DigitalOcean. You will have to setup everything, but it's more flexible.
amir66

php 7.2.22

Hi admin, I tried php 7.2.22 to applied the same changed to php.ini for that version to no avail. I should mention that I am using mysql v5.7.26. are the deprecated zend missing the cause? I got these messages: Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead. Package zendframework/zend-escaper is abandoned, you should avoid using it. Use laminas/laminas-escaper instead. Package zendframework/zend-feed is abandoned, you should avoid using it. Use laminas/laminas-feed instead. Package zendframework/zend-stdlib is abandoned, you should avoid using it. Use laminas/laminas-stdlib instead.
amir66

compose install

Hi asikuy. I am new to composer install so I am not sure if composer will install Drupal core as well everything needed for Opigno. Following the manual when I run "composer create-project opigno/opigno-composer LMS" in web root I get a folder call LMS and but not a Drupal install so I don't get a working Drupal install in web root or LMS. I am installing this on my iMac with 16GB of RAM so I am sure memory is not a problem.
admin

Hi amir66,

Hi amir66, You can ignore those zend warnings. What exactly is the issue installing? Best regards
amir66

White screen after the install

Hi admin, during the installation process I get a screen to provide the admin login credentials and email etc as per normal Drupal set up. Incidentally, on that screen I get a warning message that I must configure LRS after install. During the install process the database and the tables are created and I can see that via phpmyadmin. After when I go to the site though I get a white screen, i.e. nothing shows up.
admin

Hi amir66,

Hi amir66, Please provide the error details found in the server log. Best regards
amir66

php_error.log

Hi checked the log files and php_error.log contained several errors lines that stated [13-May-2020 09:16:44 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /Applications/MAMP/htdocs/profiles/opigno_lms/modules/contrib/h5p/vendor/h5p/h5p-core/h5p.classes.php on line 909 I increased the max_execution_time from 30 to 300 and the page now loads. Thank you for you help.
admin

Hi amir66,

Hi amir66, Glad to hear it works now. I would advise doing the install process again because it might have interrupted the installation process before it finished. Best regards
asikuy

composer install

Yes, Composer will install Drupal Core, Opigno LMS, and all needed modules and libraries. It is the best way to manage a distribution like Opigno.
amir66

Using composer

Thanks I realised the core Drupal was placed in the web folder created by composer.