Guest User

Untitled

a guest
Dec 10th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. ^_^)/ {/tmp/php-yaf/tools/cg) (master) (5.4.5)
  2. $ php yaf_cg
  3. Yaf Code Generetor Version 1.0.0
  4. Usage:
  5. yaf_cg ApplicationName [ApplicationPath]
  6.  
  7. ^_^)/ {/tmp/php-yaf/tools/cg) (master) (5.4.5)
  8. $ php yaf_cg foo
  9. DONE
  10.  
  11. ^_^)/ {/tmp/php-yaf/tools/cg) (master) (5.4.5)
  12. $ ls
  13. output/ templates/ yaf_cg*
  14.  
  15. ^_^)/ {/tmp/php-yaf/tools/cg) (master) (5.4.5)
  16. $ cd output/
  17.  
  18. ^_^)/ {/tmp/php-yaf/tools/cg/output) (master) (5.4.5)
  19. $ la
  20. total 0
  21. drwxr-xr-x 3 suin wheel 102B 8 26 22:36 ./
  22. drwxr-xr-x 5 suin wheel 170B 8 26 22:36 ../
  23. drwxr-xr-x 7 suin wheel 238B 8 26 22:36 foo/
  24.  
  25. ^_^)/ {/tmp/php-yaf/tools/cg/output) (master) (5.4.5)
  26. $ cd foo/
  27.  
  28. ^_^)/ {/tmp/php-yaf/tools/cg/output/foo) (master) (5.4.5)
  29. $ la
  30. total 24
  31. drwxr-xr-x 7 suin wheel 238B 8 26 22:36 ./
  32. drwxr-xr-x 3 suin wheel 102B 8 26 22:36 ../
  33. -rw-r--r-- 1 suin wheel 78B 8 26 22:36 .htaccess
  34. drwxr-xr-x 8 suin wheel 272B 8 26 22:36 application/
  35. drwxr-xr-x 3 suin wheel 102B 8 26 22:36 conf/
  36. -rw-r--r-- 1 suin wheel 174B 8 26 22:36 index.php
  37. -rw-r--r-- 1 suin wheel 424B 8 26 22:36 readme.txt
  38.  
  39. ^_^)/ {/tmp/php-yaf/tools/cg/output/foo) (master) (5.4.5)
  40. $ php index.php
  41.  
  42. Fatal error: Uncaught exception 'Yaf_Exception' with message 'There is no section 'devel' in '/private/tmp/php-yaf/tools/cg/output/foo/conf/application.ini'' in /private/tmp/php-yaf/tools/cg/output/foo/index.php on line 5
  43.  
  44. Yaf_Exception: There is no section 'devel' in '/private/tmp/php-yaf/tools/cg/output/foo/conf/application.ini' in /private/tmp/php-yaf/tools/cg/output/foo/index.php on line 5
  45.  
  46. Call Stack:
  47. 0.0002 227464 1. {main}() /private/tmp/php-yaf/tools/cg/output/foo/index.php:0
  48. 0.0003 228584 2. Yaf_Application->__construct() /private/tmp/php-yaf/tools/cg/output/foo/index.php:5
  49.  
  50.  
  51. >_<) {/tmp/php-yaf/tools/cg/output/foo) (master) (5.4.5)
  52. $ vim application/controllers/
  53. Error.php Index.php
  54.  
  55. >_<) {/tmp/php-yaf/tools/cg/output/foo) (master) (5.4.5)
  56. $ vim conf/application.ini
  57.  
  58.  
  59.  
  60. I added [devel : common] to application.ini
Add Comment
Please, Sign In to add comment