kyledjoseph / shopgab

GitHub repository for ItemNation
http://166.78.49.117/
0 stars 0 forks source link

Can't install local development environment #67

Closed christianbundy closed 11 years ago

christianbundy commented 11 years ago

Using the local installation instructions, the command oil r install gives the following error:

Fatal error: main(): Failed opening required '/Users/Christian/Projects/itemnation/fuel/app/vendor/autoload.php' (include_path='.:') in /Users/Christian/Projects/itemnation/fuel/app/bootstrap.php on line 20

I'm sure that it's an issue with my PHP include_path, but I didn't see any documentation for the correct setup in the wiki. Thanks!

tmatthewsdev commented 11 years ago

https://github.com/kyledjoseph/itemnation/wiki/Local%20Installation%20Instructions

tmatthewsdev commented 11 years ago
cd ~/Sites/itemnation/fuel/app
php composer.phar self-update
php composer.phar update
christianbundy commented 11 years ago

Thanks, but I'm running into the error before that, when I run oil r install (the 7th command). I erased everything, and started over from scratch. Here's my console input/output:

$ git clone git@github.com:kyledjoseph/itemnation.git
Cloning into 'itemnation'...
remote: Counting objects: 17660, done.
remote: Compressing objects: 100% (9321/9321), done.
remote: Total 17660 (delta 8203), reused 17489 (delta 8032)
Receiving objects: 100% (17660/17660), 5.25 MiB | 561 KiB/s, done.
Resolving deltas: 100% (8203/8203), done.
$ cd itemnation
$ git submodule init
Submodule 'docs' (git://github.com/fuel/docs.git) registered for path 'docs'
Submodule 'fuel/core' (git://github.com/fuel/core.git) registered for path 'fuel/core'
Submodule 'fuel/packages/auth' (git://github.com/fuel/auth.git) registered for path 'fuel/packages/auth'
Submodule 'fuel/packages/casset' (git://github.com/fuel-packages/fuel-casset.git) registered for path 'fuel/packages/casset'
Submodule 'fuel/packages/email' (git://github.com/fuel/email.git) registered for path 'fuel/packages/email'
Submodule 'fuel/packages/log' (git://github.com/fuel/log.git) registered for path 'fuel/packages/log'
Submodule 'fuel/packages/oil' (git://github.com/fuel/oil.git) registered for path 'fuel/packages/oil'
Submodule 'fuel/packages/orm' (git://github.com/fuel/orm.git) registered for path 'fuel/packages/orm'
Submodule 'fuel/packages/parser' (git://github.com/fuel/parser.git) registered for path 'fuel/packages/parser'
Submodule 'fuel/packages/tinychimp' (git://github.com/fuel-packages/fuel-tinychimp.git) registered for path 'fuel/packages/tinychimp'
$ git submodule update
Cloning into 'docs'...
remote: Counting objects: 9249, done.
remote: Compressing objects: 100% (4775/4775), done.
remote: Total 9249 (delta 4808), reused 8699 (delta 4309)
Receiving objects: 100% (9249/9249), 3.88 MiB | 365 KiB/s, done.
Resolving deltas: 100% (4808/4808), done.
Submodule path 'docs': checked out '87c90e374401f2e4d2f007ed6b1e2fa9263f2e92'
Cloning into 'fuel/core'...
remote: Counting objects: 26990, done.
remote: Compressing objects: 100% (14907/14907), done.
remote: Total 26990 (delta 13746), reused 24668 (delta 11478)
Receiving objects: 100% (26990/26990), 7.71 MiB | 429 KiB/s, done.
Resolving deltas: 100% (13746/13746), done.
Submodule path 'fuel/core': checked out 'd49febf9eaf66bd89205f1e39b0290dfcbec5dfd'
Cloning into 'fuel/packages/auth'...
remote: Counting objects: 1035, done.
remote: Compressing objects: 100% (646/646), done.
remote: Total 1035 (delta 435), reused 973 (delta 378)
Receiving objects: 100% (1035/1035), 149.10 KiB, done.
Resolving deltas: 100% (435/435), done.
Submodule path 'fuel/packages/auth': checked out '2b3fa6384477ce546b9953a7b8754de978ace8fc'
Cloning into 'fuel/packages/casset'...
remote: Counting objects: 1368, done.
remote: Compressing objects: 100% (819/819), done.
remote: Total 1368 (delta 542), reused 1293 (delta 475)
Receiving objects: 100% (1368/1368), 290.02 KiB | 265 KiB/s, done.
Resolving deltas: 100% (542/542), done.
Submodule path 'fuel/packages/casset': checked out 'f6a9f08500b6112baa29a5dddf2011e0ff360770'
Cloning into 'fuel/packages/email'...
remote: Counting objects: 503, done.
remote: Compressing objects: 100% (335/335), done.
remote: Total 503 (delta 175), reused 481 (delta 155)
Receiving objects: 100% (503/503), 70.76 KiB, done.
Resolving deltas: 100% (175/175), done.
Submodule path 'fuel/packages/email': checked out '0f97045d44165512d759973f5602c7b35471d157'
Cloning into 'fuel/packages/log'...
remote: Counting objects: 148, done.
remote: Compressing objects: 100% (99/99), done.
remote: Total 148 (delta 42), reused 145 (delta 39)
Receiving objects: 100% (148/148), 80.46 KiB, done.
Resolving deltas: 100% (42/42), done.
Submodule path 'fuel/packages/log': checked out 'dab707c91a94bf32a92a9947b92782b46bc13308'
Cloning into 'fuel/packages/oil'...
remote: Counting objects: 1581, done.
remote: Compressing objects: 100% (902/902), done.
remote: Total 1581 (delta 735), reused 1461 (delta 624)
Receiving objects: 100% (1581/1581), 216.28 KiB | 255 KiB/s, done.
Resolving deltas: 100% (735/735), done.
Submodule path 'fuel/packages/oil': checked out 'e401c31e65b0a1bf165a9ecff14626eb611ea90f'
Cloning into 'fuel/packages/orm'...
remote: Counting objects: 15307, done.
remote: Compressing objects: 100% (8298/8298), done.
remote: Total 15307 (delta 6952), reused 15104 (delta 6765)
Receiving objects: 100% (15307/15307), 4.15 MiB | 399 KiB/s, done.
Resolving deltas: 100% (6952/6952), done.
Submodule path 'fuel/packages/orm': checked out '57e10250b0f6d08d4f60a192e7d27c468eea14d0'
Cloning into 'fuel/packages/parser'...
remote: Counting objects: 912, done.
remote: Compressing objects: 100% (501/501), done.
remote: Total 912 (delta 349), reused 888 (delta 329)
Receiving objects: 100% (912/912), 186.92 KiB | 227 KiB/s, done.
Resolving deltas: 100% (349/349), done.
Submodule path 'fuel/packages/parser': checked out '593d93d0e4baf551ea14f59d8ecbba4ba6f28dea'
Cloning into 'fuel/packages/tinychimp'...
remote: Counting objects: 45, done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 45 (delta 14), reused 41 (delta 10)
Receiving objects: 100% (45/45), 7.76 KiB, done.
Resolving deltas: 100% (14/14), done.
Submodule path 'fuel/packages/tinychimp': checked out '7daebe155a75b24d3a6d9bba7b618e22af28827f'
$ curl get.fuelphp.com/oil | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   385  100   385    0     0   1101      0 --:--:-- --:--:-- --:--:--  2127
$ oil r install
PHP Fatal error:  main(): Failed opening required '/Users/cb/Projects/itemnation/fuel/app/vendor/autoload.php' (include_path='.:') in /Users/cb/Projects/itemnation/fuel/app/bootstrap.php on line 20

Fatal error: main(): Failed opening required '/Users/cb/Projects/itemnation/fuel/app/vendor/autoload.php' (include_path='.:') in /Users/cb/Projects/itemnation/fuel/app/bootstrap.php on line 20

I could be wrong, but since that file isn't being installed I think that my include_path is set incorrectly.

tmatthewsdev commented 11 years ago

I see, order of operations error on my part, the composer dependencies are missing and throwing an error when running oil. Try out the latest version of step 3.

christianbundy commented 11 years ago

Alright, erased an reinstalled - it's erroring out on the same command:

PHP Fatal error:  Uncaught exception 'Fuel\Core\PhpErrorException' with message 'date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead' in /Users/cb/Projects/itemnation/fuel/packages/log/classes/log.php:51
Stack trace:
#0 /Users/cb/Projects/itemnation/fuel/core/bootstrap.php(54): Fuel\Core\Error::error_handler(2, 'date(): It is n...', '/Users/cb/Proje...', 51)
#1 [internal function]: {closure}(2, 'date(): It is n...', '/Users/cb/Proje...', 51, Array)
#2 /Users/cb/Projects/itemnation/fuel/packages/log/classes/log.php(51): date('Y/m')
#3 [internal function]: Log\Log::_init()
#4 /Users/cb/Projects/itemnation/fuel/core/classes/autoloader.php(364): call_user_func('Log::_init')
#5 /Users/cb/Projects/itemnation/fuel/core/classes/autoloader in /Users/cb/Projects/itemnation/fuel/packages/log/classes/log.php on line 51
PHP Fatal error:  Call to a member function log() on a non-object in /Users/cb/Projects/itemnation/fuel/core/base.php on line 91

Fatal error: Uncaught exception 'Fuel\Core\PhpErrorException' with message 'date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead' in /Users/cb/Projects/itemnation/fuel/packages/log/classes/log.php:51
Stack trace:
#0 /Users/cb/Projects/itemnation/fuel/core/bootstrap.php(54): Fuel\Core\Error::error_handler(2, 'date(): It is n...', '/Users/cb/Proje...', 51)
#1 [internal function]: {closure}(2, 'date(): It is n...', '/Users/cb/Proje...', 51, Array)
#2 /Users/cb/Projects/itemnation/fuel/packages/log/classes/log.php(51): date('Y/m')
#3 [internal function]: Log\Log::_init()
#4 /Users/cb/Projects/itemnation/fuel/core/classes/autoloader.php(364): call_user_func('Log::_init')
#5 /Users/cb/Projects/itemnation/fuel/core/classes/autoloader in /Users/cb/Projects/itemnation/fuel/packages/log/classes/log.php on line 51

Fatal error: Call to a member function log() on a non-object in /Users/cb/Projects/itemnation/fuel/core/base.php on line 91