I just joined Drupion and I'm trying to move the existing Drupal website to localhost MAMP. I downloaded the Drupal folder and the database. Then I created the database on MAMP, imported the database (file.sql) and pasted the folder in my htdocs. When I go to my website, I get the following error message:
Warning: file_get_contents(/etc/varnish/secret): failed to open stream: No such file or directory in include_once() (line 246 of /Applications/MAMP/htdocs/Drupion Test/sites/default/settings.php).
And this is what I see at line 246: $conf['varnish_control_key'] = substr(file_get_contents('/etc/varnish/secret'),0,-1);
Anybody can help me understand what is going on ?
Once I'll have figured out how to move a website from Drupion to Localhost, I'll try moving from Localhost to Drupion.
Thanks in advance for your help !!
Comments
I am guessing the local setup
I am guessing the local setup does not have varnish, so you would want to remove
from settings.php along with any other varnish specific settings.
Thank for your help nevets !
Thank for your help nevets ! It worked and after further research I learned I can actually remove all the lines regarding varnish.