1

I've just moved an installation from my localhost setup to my server on Nearlyfreespeech.

I've moved everything over and changed everything having followed this tutorial.

I initially got an error related to the civicrm.setttings.php file. I fixed this by following this advice.

Now I'm getting another error. It says 'Initialization Error' Warning: fopen(/home/public/wp-content/plugins/civicrm/../files/civicrm/ConfigAndLog/CiviCRM.f446a1fd9c619d6abf51f11bf29f358c.log): failed to open stream: Permission denied in /home/public/wp-content/plugins/civicrm/civicrm/packages/Log/file.php on line 216.

Full error at the url: http://logistics.nfshost.com/

Thanks for any help!

2

might want to delete the contents of the ConfigAndLog directory and start clean on the new server:

% rm -rf /home/public/wp-content/plugins/files/civicrm/ConfigAndLog

You probably need to root access and/or do the above operation as your webserver userid (which probably is the owner of the aboe directory)

  • Thanks for your help. If I delete everything in that folder I just get the following error: Warning: file_put_contents(/home/public/wp-content/plugins/civicrm/../files/civicrm/ConfigAndLog/.htaccess): failed to open stream: Permission denied in /home/public/wp-content/plugins/civicrm/civicrm/CRM/Utils/File.php on line 436 Fatal error: Call to a member function url() on a non-object in /home/public/wp-content/plugins/civicrm/civicrm/CRM/Utils/System.php on line 254 – thomas jaunism May 3 '15 at 0:10

protected by Community Sep 26 '17 at 16:17

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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