This is my first thread in this forum.
I'm working on someone else's code, unfortunately, the developer has left and, there are no comments, or documentation in most of the application. I'm trying to set up on my local. I've set required users, mysql tables, tables, granted required permissions to those tables.
my_folder - has everything mysql, laravel, etc.
I do:
localhost/~username/my_folder
In laravel logs file I get
At sql.inc.php, line 21 I've something like:[2015-04-21 15:40:20] production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'parse error' in /Users/username/Sites/folder_/public/includes/sql.inc.php:21
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []
Code: Select all
if(empty($result)) {
yield [];
}- Mac OSX 10.9
- PHP version 5.4
- Apache details: Server version: Apache/2.2.26 (Unix)
- Have Laravel installed and in my path.
Laravel version: 5.0.27
- Eclipse PDT, with zend debugger installed.
I've no experience in whatsoever with respect to web development- PHP, CSS, mysql.
I'd be thankful to members for any guidance and help in this.