installation error includes/bootstrap.inc

maude
Forums
Hi there, I believe I understand the problem but can't fix it. I unzipped the latest Opigno version in a subfolder on my server (hosted externally), and created a MySql database. Then, when I go to the install url, get the following: Warning: require_once(/home/mysite/public_html/includes/bootstrap.inc): failed to open stream: No such file or directory in /home/mysite/public_html/index.php on line 19 This is normal because /includes/bootstrap.inc is in a subfolder: /home/mysite/public_html/subfoldername/includes/bootstrap.inc Fatal error: require_once(): Failed opening required '/home/mysite/public_html/includes/bootstrap.inc' (include_path='.:/usr/local/lib/php') in /home/mysite/public_html/index.php on line 19 I think this error means that Opigno is looking for the Root directory of the Drupal installation, but is using the host server php settings? I have created a php.ini file, fixing the memory_limit and xdebug as explained in the user manual.It is in the root folder. Thanks for your help.
axel

Hi Maude

Hi Maude You should adapt the .htaccess file located at the root folder of Opigno to mention your subfoldername in base url Best regards
maude

Hi Axel,

Hi Axel, The htaccess worked fine once everything was re-installed. I got the PDO with some code in the php.ini file and the setup went very well until the last step, which led to Fatal error: Call to undefined function field_attach_load() in /home/mysite/public_html/abc/includes/entity.inc on line 354 I created a new database and re-installed everything, without a problem, until the last step, same above error. My WP site also came down, with the same error (line 19) as in the first post. So, I've redirected everything to my moodle ;-) which incidentally still works. Do you have any suggestions to keep the WP and Opigno separate? I wonder if the index.php files didn't get mixed up. There was also an automatic WP update to a new version just as I was installing Opigno, not sure if that could have played a role. I do have a back up. Thanks and have a great day.
axel

Hi Maude,

Hi Maude,

Do you have 2 different virtual hosts for Opigno and WP?

If yes, there should be no conflict.

Regarding the error you have it may be related to a PHP configuration issue (cf the list of potential reasons: https://www.drupal.org/node/481758)

maude

As it turns out, I didn't

As it turns out, I didn't have 2 virtual hosts and the Drupal/Opignon index.php saved over the WP one. So, I've created a subdomain. Will keep you tuned. Have a great day.
maude

Hi again,

Hi again, After multiple tries, I was able to install more than 31 databases by filling in the database info in the settings.php file. I did this because after deleted and re-creating databases, and deleting the files and starting from scratch again, when I was installing, the system was persuaded Drupal was already installed. So, I modified the settings.php. All these modules started installing, but there was a timeout error message. I have put the max time at 500 in the php.ini file. I also tried on Chrome and Firefox. I can't access any of the suggested links, like update or login because access is forbidden. I'll be wiping the folder off the server at any rate. Here was the error page: Quiz module has been enabled. To create a quiz go to Create Content -> Quiz. Printer-friendly Page settings are available under Administration > Configuration > User interface > Printer, email and PDF versions The H5P module fetches updates from H5P.org on cron. Currently tutorials are being updated. In the future you will be notified about library updates and more. Goto the H5P settings page if you want to disable this option. jQuery Countdown has been installed successfully. Click here for configurations! Organic Groups Mass Add settings are available under Administer > Site configuration > OG Mass Add Error message Notice: Undefined index: reverse_opigno_class_courses_node in views_handler_field_field->get_base_table() (line 149 of /home/mysite/public_html/learn/profiles/opigno_lms/modules/contrib/views/modules/field/views_handler_field_field.inc). Notice: Undefined index: in views_handler_field_field->access() (line 127 of /home/mysite/public_html/learn/profiles/opigno_lms/modules/contrib/views/modules/field/views_handler_field_field.inc). Notice: Undefined index: reverse_opigno_class_courses_node in views_handler_field_field->get_base_table() (line 149 of /home/mysite/public_html/learn/profiles/opigno_lms/modules/contrib/views/modules/field/views_handler_field_field.inc). Notice: Undefined index: in views_handler_field_field->access() (line 127 of /home/mysite/public_html/learn/profiles/opigno_lms/modules/contrib/views/modules/field/views_handler_field_field.inc). Notice: Undefined index: reverse_opigno_class_courses_node in views_handler_field_field->get_base_table() (line 149 of /home/mysite/public_html/learn/profiles/opigno_lms/modules/contrib/views/modules/field/views_handler_field_field.inc). Notice: Undefined index: in views_handler_field_field->access() (line 127 of /home/mysite/public_html/learn/profiles/opigno_lms/modules/contrib/views/modules/field/views_handler_field_field.inc). Notice: Undefined index: reverse_opigno_class_courses_node in views_handler_field_field->get_base_table() (line 149 of /home/mysite/public_html/learn/profiles/opigno_lms/modules/contrib/views/modules/field/views_handler_field_field.inc). Notice: Undefined index: in views_handler_field_field->access() (line 127 of /home/mysite/public_html/learn/profiles/opigno_lms/modules/contrib/views/modules/field/views_handler_field_field.inc). Thanks.