Jump to content

seankobuk

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by seankobuk

  1. Once the PHP error was fixed all is well. Not really a Proccesswire issue.
  2. Here is the line that throws the fatal error 13 $cases = $this->page->selected_cases->filter("limit=3"); 14 15 if (count($cases) < 3) { 16 $cases->add(app()->randomPages($this->pages->get('/cases')->children->not("id=$cases"), 3 - count($cases))); 17 }
  3. I looked at these guides but I think my basic set up is fine. I am running many sites using php / mysql without a problem on this machine. The first error seems to be a php issue which is not my forte. I got rid of the last 2 warnings by changing permissions on that folder but the FileLog.php file warning has persisted even though it has all permissions set.
  4. Thanks for the replies. I'll check out these links and let you know how it turns out.
  5. 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.
×
×
  • Create New...