I've never had issues getting things up and running on a pc but we recently switched to MAC at work and our resident Process Wire guy also left the company so I am left to my own devices to work this out. I am able to run other php based projects locally with no trouble so it is probably not a generic php mysql issue. I am mostly a css/html guy and not a PHP guru so I am stuck at this point. So far I have...
1. Created local database and filled in info on my config.local.php
2. Created hosts and vhosts entries
When I go to my local url I get a bunch of errors which are not seen on the live server version of the site at http://gorges.us. I have write permissions on the assets folder so I'm not sure what to make of these errors. Fatal error: Call to a member function filter() on a non-object in /Users/seankennedy/Documents/gorges-web/webroot/site/templates/home-page.php on line 13 Warning: fopen(/Users/seankennedy/Documents/gorges-web/webroot/site/assets/logs/errors.txt): failed to open stream: Permission denied in /Users/seankennedy/Documents/gorges-web/webroot/wire/core/FileLog.php on line 63
This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged.
Warning: Unknown: open(/Users/seankennedy/Documents/gorges-web/webroot/site/assets/sessions/sess_qrch1vdvp6im40f3r4csfi8qg7, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/Users/seankennedy/Documents/gorges-web/webroot/site/assets/sessions) in Unknown on line 0
Any help would be greatly appreciated.