2

I'm trying to install CiviCRM 4.7.10 on a newly installed Joomla 3.6.2-site. I uploaded the code to a folder on the server, and did an "install from folder". However, this one failed (maybe faulty network connection). However, something was installed, and upon trying to reinstall, I get the following error message:

Warning: require_once(/home/agslo/public_html/administrator/components/com_civicrm/civicrm.settings.php): failed to open stream: No such file or directory in /home/agslo/public_html/tmp/com_civicrm/admin/configure.php on line 115

Fatal error: require_once(): Failed opening required '/home/agslo/public_html/administrator/components/com_civicrm/civicrm.settings.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/agslo/public_html/tmp/com_civicrm/admin/configure.php on line 115

According to the Module manager in Joomla, there is a CiviCRM component installed. However when I try to uninstall it, I get an error msg too, saying it cannot find Joomla XML setup file, and I am asked to manually remove it.

Anyone that can assist me in solving this so I can have CiviCRM installed? Either by first removing the component, or by doing a new install.....

Magnus

1 Answer 1

1

If the CiviCRM component does not install correctly

(for example you get a blank screen instead of the confirmation page),

delete the ~/components/com_civicrm and

~/administrator/components/com_civicrm and

~/media/civicrm directories manually

and then try each of the following before attempting to reinstall:

Please refer to the below link : this is for 4.5 but still this should work for 4.7 too

https://wiki.civicrm.org/confluence/display/CRMDOC/Joomla+Installation+Guide+for+CiviCRM+4.5

I guess this helps !!!

7
  • Hi! Thanks. However, it doesnt help so far. That is the instruction I used in the first place. I do not get a blank screen, I get the errors pasted above - instead of being returned to the Module manager in joomla. Looking at line 115 in the configure.php, this seems to me to be something related to the variable $civicrmUpgrade - my hunch would be that there is something telling the installer that this is an upgrade, not a clean installation. Could that be right? Could there be something in the database doing this (as I did delete all the files you mentioned)? Aug 18, 2016 at 14:27
  • And I canno delete the tables with prefix civicrm in the mysql database, I get the error " #1217 - Cannot delete or update a parent row: a foreign key constraint fails! Aug 18, 2016 at 14:36
  • If you are using PHPMyAdmin to delete the database tables you need untick 'Foreign key check'. This will allow you delete all of the tables regardless of the foreign key constraints. Aug 18, 2016 at 15:07
  • In that case try to create a new Database for Civicrm and try to install Civicrm - that should work Aug 18, 2016 at 15:14
  • Hi! Yes I use PHPmyadmin. Where do I untick Foreign key check? Magnus Aug 18, 2016 at 18:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.