Switched to Mac, now XAMPP is giving me "fail to open stream"
-
So long story short, I finally made the switch from Windows to Mac. I installed XAMPP on my new computer and have everything working. Now I am transferring local WP installs from my old computer and am finding errors such as this:
Fatal error: require_once(): Failed opening required ‘/Applications/XAMPP/xamppfiles/htdocs/mysite/wp-content/plugins/google-analytics-for-wordpress/vendor/composer/autoload_real_52.php’ (include_path=’.:/Applications/XAMPP/xamppfiles/lib/php’) in /Applications/XAMPP/xamppfiles/htdocs/mysite/wp-content/plugins/google-analytics-for-wordpress/vendor/autoload_52.php on line 5
Now this is working fine on the Windows setup and live site, so there is something going on here. I searched for the file in the terminal and it seems to be showing up where it’s supposed to. I also set read write permissions to htdocs for my username, but it is still happening. Any clue?
- The topic ‘Switched to Mac, now XAMPP is giving me "fail to open stream"’ is closed to new replies.