Fork Clansuite on GitHub

Internet Relay Chat - Logs for #koch
Collected by k-logbot on chat.freenode.net

IRC Log for Sonntag, 23. September 2012

  1. [06:01:09] * Topic is 'Welcome! http://clansuite.com | http://www.youtube.com/watch?v=JPqFNQCXF9Y | https://travis-ci.org/#!/Clansuite/Clansuite'
  2. [06:01:09] * Set by Q on Sun Aug 26 02:58:29 CEST 2012
  3. [10:47:35] * ArsiRC (~ArsiRC@ArsiRC.users.quakenet.org) has joined #clansuite
  4. [13:39:13] * SyNko (~chatzilla@88-149-251-193.v4.ngi.it) has joined #clansuite
  5. [15:29:01] <jakoch> https://github.com/punbb/punbb
  6. [15:29:09] <jakoch> https://github.com/Phorum/Core
  7. [15:31:23] <jakoch> http://www.minibb.com/download.html#forum_software
  8. [15:31:59] <jakoch> https://github.com/markelliot/mercuryboard/blob/master/index.php
  9. [15:35:38] <jakoch> http://www.woltlab.com/forum/
  10. [15:37:20] <jakoch> http://www.forum-software.org/forum-reviews
  11. [15:39:47] <jakoch> http://www.forum-software.org/bbpress/review
  12. [15:40:16] <jakoch> http://www.forum-software.org/xenforo/review
  13. [15:41:26] <jakoch> http://www.forum-software.org/woltlab-burning-board/review
  14. [15:41:30] <jakoch> ----
  15. [15:43:00] <SyNko> hi
  16. [15:43:23] <jakoch> hi SyNko
  17. [15:45:03] <SyNko> are there some router to fix again or are all fixed?
  18. [15:46:01] <SyNko> http://noobfellas.netsons.org/
  19. [15:46:05] <jakoch> there are still 5 or 6 tests failing
  20. [15:46:08] <SyNko> it seems a route issue
  21. [15:46:44] <SyNko> do you plan to fix it at the next week or not?
  22. [15:47:18] <jakoch> i will fix it
  23. [15:47:57] <SyNko> ok well
  24. [15:48:43] <SyNko> im studing psr-0
  25. [15:48:59] <SyNko> and the installation code for understanding the routes
  26. [15:50:14] <jakoch> well, i guess we are through with all that psr-0 renaming stuff.. the main directory structure will remain
  27. [15:50:46] <jakoch> maybe some more structuring in module folders..
  28. [15:52:49] <jakoch> but it's always good to known what psr-0 stands for and how autoloading works with it
  29. [15:53:59] <jakoch> yesterday i recreated the wpn-xm icon logo with inkscape.. now it's a svg..scalable without quality loss.. my first svg! :)
  30. [15:54:27] <jakoch> took me quite some time to figure out how to work with layers and effects
  31. [15:57:31] <jakoch> hmm - i wonder why you get a white page
  32. [15:58:03] <jakoch> the debug output "Loaded Controller: /home/svkpnfsh/public_html/Clansuite/Modules/Index/Controller/IndexController.php" is ok, i enabled it, to see what gets loaded
  33. [15:59:57] <jakoch> http://noobfellas.netsons.org/tests/unittests/framework/Koch/Router/Router.php
  34. [16:04:02] <SyNko> back
  35. [16:04:06] <SyNko> yep
  36. [16:04:08] <SyNko> i see
  37. [16:04:38] <SyNko> i dont understand the issue on the home page
  38. [16:04:56] <SyNko> plus the db wont be filled with table
  39. [16:05:22] <SyNko> i was needed to export db from another site
  40. [16:05:29] <SyNko> no errors showed up
  41. [16:05:51] <jakoch> hmm... ok, thats like re-importing a backup
  42. [16:06:04] <SyNko> nope
  43. [16:06:51] <SyNko> from the step where you fill db data like user pass name etc and the next step the db is just filled by the session table and nothing more
  44. [16:07:25] <SyNko> i cannot create a new db because the hoster panel need a user to be associated to a db for give permissions
  45. [16:08:56] <jakoch> didn't that work last time, i mean, before i changed this username/password regexp
  46. [16:10:19] <jakoch> basically .. what the installation should do is, to walk through all modules and get /Model/Entity/*.php and insert that
  47. [16:10:50] <SyNko> ah this is why i dont understand where the insert sql code is..
  48. [16:10:56] <SyNko> tnx
  49. [16:11:50] <SyNko> they generate sql from files?
  50. [16:12:03] <SyNko> or you mean the class autoloader?
  51. [16:12:34] <jakoch> no.. doctrine reads the entity files (php classes) and generates sql for it
  52. [16:12:57] <jakoch> some entity classes have annotations to help doctrine a bit about tablenames and stuff
  53. [16:13:00] <SyNko> this is alien thing
  54. [16:13:08] <SyNko> i need time to understand
  55. [16:13:24] <SyNko> and time is something have little quantity
  56. [16:13:44] <SyNko> there is invisible code that runs this things
  57. [16:13:50] <SyNko> code precompiled in php
  58. [16:14:03] <SyNko> is something new for me
  59. [16:14:30] <jakoch> precompiled? php does not have any compilation
  60. [16:14:40] <SyNko> like autoloader, in psr-0 there are some invible routines...
  61. [16:14:57] <SyNko> function build-in
  62. [16:15:02] <SyNko> in the parser
  63. [16:15:09] <SyNko> invisible to my eyes
  64. [16:15:23] <SyNko> never see something similar to it
  65. [16:16:24] <SyNko> i need to reverse them
  66. [16:17:00] <jakoch> the autoloader is a combination of several loading strategies
  67. [16:17:15] <jakoch> looks a bit weird, because it's all in one file
  68. [16:17:40] <jakoch> normally one would split APC-Autoloading into an own class etc.
  69. [16:17:50] <SyNko> im reading this http://tinyurl.com/clrduo7
  70. [16:18:47] <jakoch> good article
  71. [16:19:10] <jakoch> ah.. take a look at this: http://cdn.phpmaster.com/files/2012/02/autoload-02.jpg
  72. [16:19:44] <SyNko> k
  73. [16:20:28] <jakoch> basically everything boilds down to working with a autoloading map file
  74. [16:21:18] <SyNko> genius
  75. [16:30:08] <jakoch> this is for sql generation from entities via doctrine: http://docs.doctrine-project.org/en/latest/reference/tools.html#database-schema-generation
  76. [16:30:52] <SyNko> tnx
  77. [16:31:20] <SyNko> and it works exactly since PHP 5.1.3?
  78. [16:32:46] <SyNko> im mean 5.3?
  79. [16:32:49] <SyNko> soz
  80. [16:33:02] <SyNko> *i mean
  81. [16:33:43] <jakoch> i think we have doctrine 2.2.2 under the hood.. so that should work
  82. [16:33:49] <jakoch> i need to take a look
  83. [16:34:19] <jakoch> it's 2.2.0
  84. [16:34:44] <SyNko> well
  85. [16:34:45] <jakoch> latest version is 2.3.0.. guess i need to update it
  86. [16:34:59] <SyNko> wait wait
  87. [16:35:10] <SyNko> take a look to changelog
  88. [16:35:12] <SyNko> before
  89. [16:37:34] <jakoch> http://www.doctrine-project.org/jira/browse/DCOM/fixforversion/10183
  90. [16:37:37] <jakoch> http://www.doctrine-project.org/jira/browse/DBAL/fixforversion/10184
  91. [16:37:43] <jakoch> http://www.doctrine-project.org/jira/browse/DDC/fixforversion/10185
  92. [16:37:53] <jakoch> nothing special just fixes i would say
  93. [16:38:13] <SyNko> well sp is ready to be updated
  94. [16:38:18] <SyNko> *so
  95. [16:44:42] <SyNko> i need a book with all psr-0 standards
  96. [16:44:48] <SyNko> fast
  97. [16:44:59] <SyNko> do you know something?
  98. [16:45:20] <jakoch> what do you mean by psr-0 standards.. there is only one
  99. [16:45:45] <jakoch> https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
  100. [16:45:54] <jakoch> it's nothing more than this
  101. [16:46:40] <SyNko> i already found that but is not a real book
  102. [16:50:07] <jakoch> i don't know if there is a book out there explaining all these standards
  103. [16:50:27] <jakoch> maybe in english language
  104. [16:50:49] <jakoch> also the major frameworks like zend and symfony have chapters explaining their classes
  105. [16:50:59] <SyNko> no probs for english, the prob is it not exist..
  106. [16:53:18] <jakoch> you are right.. when i look into Wenz/Hauser "PHP5.3" 60Euro book, not even a chapter on spl_autoload_register().. but they explain autoload()^^
  107. [16:54:18] <jakoch> and this is one of the standard books on the german market, 1200pages
  108. [16:54:30] <SyNko> wow
  109. [16:54:37] <SyNko> i need only a translation
  110. [16:55:09] <SyNko> this is interesting :: fig-standards / accepted / PSR-2-coding-style-guide.md
  111. [16:57:45] <jakoch> yes, this standard is also enforced by php-cs-fixer
  112. [16:58:26] <SyNko> "Code MUST use an indent of 4 spaces, and MUST NOT use tabs for indenting."
  113. [16:58:33] <SyNko> damn, i love the tab!
  114. [16:58:46] <SyNko> why this ? for the fixer?
  115. [17:00:10] <jakoch> i never worked with tabs, behaves diffently on every system based on configuration
  116. [17:00:44] <jakoch> some have a tab width of 4, others of 8.. also messes up display in webinterfaces
  117. [17:00:52] <jakoch> i would say that spaces are easier to handle
  118. [17:01:02] <SyNko> ok
  119. [17:01:43] <jakoch> its a quite common standard: http://www.python.org/dev/peps/pep-0008/#tabs-or-spaces
  120. [17:02:55] <jakoch> some stuff is weird.. like methodnames in camelCase()..
  121. [17:03:14] <jakoch> i don't understand why.. because php uses str_xy stuff etc
  122. [17:11:00] <SyNko> yep
  123. [17:19:40] <jakoch> well, at least i found the router bug
  124. [17:20:32] <jakoch> to explain it: the rest tests fail, because the "found" route is test, if it is dispatchable
  125. [17:20:53] <jakoch> that means that controller and method have to exist.. now, for module news the controller exists, but not a method "action_new"
  126. [17:21:13] <jakoch> the result is, that the "correct" route is "false"
  127. [17:22:10] <SyNko> very well
  128. [17:22:11] <jakoch> that would not happen, if i would work with mock/fake objects in the unittest and not with the real modules
  129. [17:23:11] <jakoch> so it's not a bug, but false testing
  130. [17:23:37] <SyNko> ok
  131. [17:23:48] <jakoch> also for route debugging a message like "method not found" would be helpful
  132. [17:25:55] <SyNko> do you think is possible for the next saturday show the site working again? i try to push some important fixes
  133. [17:26:34] <SyNko> but i need to study doctrine sql before...
  134. [17:28:27] <jakoch> well, at the moment i don't know how to fix the router issue.. i think i will spend tonight and tomorrow coming up with a solution for it
  135. [17:29:04] <jakoch> after that i will take a look at the "database tables not written/entites not detected" thing
  136. [17:29:28] <SyNko> are not written
  137. [17:29:50] <SyNko> infact in the step where you create the admin user fails for no table found
  138. [17:30:06] <SyNko> look http://www.amazon.it/Doctrine-PHP-Antigone-Fernande/dp/6201581502/ref=sr_1_3?ie=UTF8&qid=1348414062&sr=8-3 , is it useful?
  139. [17:30:44] <jakoch> hmm Brossura: 52 pagine
  140. [17:31:14] <jakoch> i guess, the doctrine manual in pdf form would be the best read
  141. [17:31:31] <jakoch> i wouldn't spend money on that book
  142. [17:31:36] <SyNko> ok, tnx
  143. [17:32:42] <jakoch> when i look at the things this "author" publishes .. it's mostly free stuff from the internet
  144. [17:32:54] <jakoch> http://www.amazon.de/Angereicherte-Backus-Naur-Form-Antigone-Fernande/dp/613789374X/ref=sr_1_11?s=books&ie=UTF8&qid=1348414323&sr=1-11
  145. [17:33:03] <jakoch> this is completely on wikipedia
  146. [17:33:33] * Rikku`on (~Daniel@78.55.245.132) has joined #clansuite
  147. [17:33:42] <Rikku`on> \o
  148. [17:33:51] <jakoch> hi there
  149. [17:57:30] * Rikku`on (~Daniel@78.55.245.132) Quit (Ping timeout)
  150. [19:13:27] * CS-Bot (~CS-Bot@sh2.rs.github.com) has joined #clansuite
  151. [19:13:27] <CS-Bot> [Clansuite] jakoch pushed 28 new commits to develop: http://git.io/uzjP1A
  152. [19:13:27] <CS-Bot> [Clansuite/develop] re-adding LoggerInterface - jakoch
  153. [19:13:27] <CS-Bot> [Clansuite/develop] moved rendering of language dropdown out of the view and into a viewhelper - jakoch
  154. [19:13:27] <CS-Bot> [Clansuite/develop] offsetGet performance - jakoch
  155. [19:13:29] * CS-Bot (~CS-Bot@sh2.rs.github.com) has left #clansuite
  156. [20:06:31] <SyNko> .o/
  157. [20:38:05] <SyNko> Fatal error: Call to undefined method Doctrine\DBAL\Connection::setCharset() in /home/svkpnfsh/public_html/Installation/Application/Helper.php on line 217
  158. [20:39:42] <SyNko> after step 4
  159. [21:57:46] <jakoch> re
  160. [22:09:16] <jakoch> method was removed https://github.com/doctrine/dbal/blob/master/UPGRADE
  161. [22:10:36] * CS-Bot (~CS-Bot@sh3.rs.github.com) has joined #clansuite
  162. [22:10:36] <CS-Bot> [Clansuite] jakoch pushed 3 new commits to develop: http://git.io/qXm_rw
  163. [22:10:36] <CS-Bot> [Clansuite/develop] fix for Undefined index: HTTP_X_HTTP_METHOD_OVERRIDE - jakoch
  164. [22:10:36] <CS-Bot> [Clansuite/develop] fix for Fatal error: Call to undefined method Doctrine\DBAL\Connection::setCharset() - jakoch
  165. [22:10:36] <CS-Bot> [Clansuite/develop] set method to insert, when request method is post - jakoch
  166. [22:10:38] * CS-Bot (~CS-Bot@sh3.rs.github.com) has left #clansuite
  167. [22:14:21] * CS-Bot (~CS-Bot@sh3.rs.github.com) has joined #clansuite
  168. [22:14:21] <CS-Bot> [Clansuite] jakoch pushed 1 new commit to develop: http://git.io/W4csZg
  169. [22:14:21] <CS-Bot> [Clansuite/develop] fix for Fatal error: Call to undefined method Doctrine\DBAL\Connection::setCharset() - jakoch
  170. [22:14:21] * CS-Bot (~CS-Bot@sh3.rs.github.com) has left #clansuite
  171. [22:23:53] * CS-Bot (~CS-Bot@sh2.rs.github.com) has joined #clansuite
  172. [22:23:53] <CS-Bot> [Clansuite] jakoch pushed 2 new commits to develop: http://git.io/z0cS5Q
  173. [22:23:53] <CS-Bot> [Clansuite/develop] fixed WWW_ROOT_THEMES_CORE - jakoch
  174. [22:23:53] <CS-Bot> [Clansuite/develop] fixed exception style - jakoch
  175. [22:23:53] * CS-Bot (~CS-Bot@sh2.rs.github.com) has left #clansuite
  176. [22:26:26] <jakoch> An exception occurred while executing 'INSERT INTO cs_users SET email = :email, nick = :nick, passwordhash = :hash, salt = :salt, joined = :joined, language = :language, activated = :activated': SQLSTATE[42S02]: Base table or view not found: 1146 Table 'clansuite.cs_users' doesn't exist
  177. [22:26:45] <jakoch> ok, this is the error you reported, right?
  178. [22:40:01] * CS-Bot (~CS-Bot@sh2.rs.github.com) has joined #clansuite
  179. [22:40:01] <CS-Bot> [Clansuite] jakoch pushed 2 new commits to develop: http://git.io/l3s6ig
  180. [22:40:01] <CS-Bot> [Clansuite/develop] fixed testMethod_match_RestRoutes -> Equal expectation fails as [Array: 1 items] does not match [NULL] - jakoch
  181. [22:40:01] <CS-Bot> [Clansuite/develop] QA - jakoch
  182. [22:40:01] * CS-Bot (~CS-Bot@sh2.rs.github.com) has left #clansuite
  183. [23:17:45] <SyNko> jakoch yep jakoch
  184. [23:18:03] <SyNko> is because if you look at phpmyadmin there are no table
  185. [23:18:29] <SyNko> only the session table is created
  186. [23:23:21] <jakoch> yes
  187. [23:23:42] <SyNko> i want to help but i need time to understand the system
  188. [23:23:48] <jakoch> i think its related to self::getModelPathsForAllModules().. somehow the entities are not loaded
  189. [23:24:08] <SyNko> it's a trouble , the error wont show up
  190. [23:24:47] <SyNko> it's hard to debug this error
  191. [23:26:11] <jakoch> you should get something like this http://imgur.com/cSJFm
  192. [23:28:48] <SyNko> wait im uploading again..
  193. [23:29:45] <SyNko> Warning: require_once(/home/svkpnfsh/public_html/libraries/Doctrine/ORM/Mapping/Driver/../CustomIdGenerator.php) [function.require-once]: failed to open stream: No such file or directory in /home/svkpnfsh/public_html/libraries/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php on line 42
  194. [23:29:46] <SyNko> Fatal error: require_once() [function.require]: Failed opening required '/home/svkpnfsh/public_html/libraries/Doctrine/ORM/Mapping/Driver/../CustomIdGenerator.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/svkpnfsh/public_html/libraries/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php on line 42
  195. [23:30:21] <SyNko> case error seems
  196. [23:30:56] <jakoch> nope, its not my stuff
  197. [23:31:03] <jakoch> its doctrine
  198. [23:31:35] <jakoch> let me see if i commitet everything
  199. [23:32:06] <SyNko> ah ok
  200. [23:32:46] <SyNko> is this require_once __DIR__.'/../CustomIdGenerator.php';
  201. [23:34:09] * CS-Bot (~CS-Bot@sh3.rs.github.com) has joined #clansuite
  202. [23:34:09] <CS-Bot> [Clansuite] jakoch pushed 7 new commits to develop: http://git.io/jT7DkQ
  203. [23:34:09] <CS-Bot> [Clansuite/develop] removed simpletest files - jakoch
  204. [23:34:09] <CS-Bot> [Clansuite/develop] QA - jakoch
  205. [23:34:09] <CS-Bot> [Clansuite/develop] QA - jakoch
  206. [23:34:11] * CS-Bot (~CS-Bot@sh3.rs.github.com) has left #clansuite
  207. [23:34:18] <jakoch> my fault, i forgot to select add new files
  208. [23:34:30] <jakoch> and only committed the modified ones
  209. [23:35:13] <SyNko> no prob
  210. [23:36:26] <SyNko> Exception (#2002)
  211. [23:36:28] <SyNko> SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
  212. [23:36:47] <SyNko> the mysql conn is broken with this new version :(
  213. [23:38:02] <SyNko> ok i got it
  214. [23:38:09] <jakoch> ?
  215. [23:38:31] <SyNko> in the hostname of the mysql setting the session variable dont keep it
  216. [23:38:41] <SyNko> after page reloading
  217. [23:38:42] * CS-Bot (~CS-Bot@sh2.rs.github.com) has joined #clansuite
  218. [23:38:42] <CS-Bot> [Clansuite] jakoch pushed 1 new commit to develop: http://git.io/LH6Wsg
  219. [23:38:42] <CS-Bot> [Clansuite/develop] namespace fix - jakoch
  220. [23:38:42] * CS-Bot (~CS-Bot@sh2.rs.github.com) has left #clansuite
  221. [23:39:29] <SyNko> now i got your error
  222. [23:39:35] <SyNko> the sql one
  223. [23:39:42] <jakoch> good
  224. [23:44:27] <jakoch> according to the logs, the last things i changed in entity loading were renaming "Entites" to "Entity" and "Repositories" to "Repository"
  225. [23:52:54] * jakoch reboot
  226. [23:53:02] <SyNko> the clansuite_error.log?
  227. [23:55:18] <SyNko> ah your git changes i think
  228. [23:56:55] * SyNko (~chatzilla@88-149-251-193.v4.ngi.it) Quit (Quit: ChatZilla 0.9.88.2 [Firefox 15.0.1/20120905151427])
  229. [23:57:54] <jakoch> re
  230. [23:58:00] <jakoch> yes, the git log
  231. [23:58:45] <jakoch> strange, got no sound on my right headphone.. goddamn

Links of Sonntag, 23. September 2012

1) http://git.io/LH6Wsg
2) http://git.io/jT7DkQ
3) http://imgur.com/cSJFm
4) http://git.io/l3s6ig
5) http://git.io/z0cS5Q
6) http://git.io/W4csZg
7) http://git.io/qXm_rw
8) https://github.com/doctrine/dbal/blob/master/UPGRADE
9) http://git.io/uzjP1A
10) http://www.amazon.de/Angereicherte-Backus-Naur-Form-Antigone-Fernande/dp/613789374X/ref=sr_1_11?s=books&ie=UTF8&qid=1348414323&sr=1-11
11) http://www.amazon.it/Doctrine-PHP-Antigone-Fernande/dp/6201581502/ref=sr_1_3?ie=UTF8&qid=1348414062&sr=8-3
12) http://www.python.org/dev/peps/pep-0008/#tabs-or-spaces
13) https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
14) http://www.doctrine-project.org/jira/browse/DDC/fixforversion/10185
15) http://www.doctrine-project.org/jira/browse/DBAL/fixforversion/10184
16) http://www.doctrine-project.org/jira/browse/DCOM/fixforversion/10183
17) http://docs.doctrine-project.org/en/latest/reference/tools.html#database-schema-generation
18) http://cdn.phpmaster.com/files/2012/02/autoload-02.jpg
19) http://tinyurl.com/clrduo7
20) http://noobfellas.netsons.org/tests/unittests/framework/Koch/Router/Router.php
21) http://noobfellas.netsons.org/
22) http://www.forum-software.org/woltlab-burning-board/review
23) http://www.forum-software.org/xenforo/review
24) http://www.forum-software.org/bbpress/review
25) http://www.forum-software.org/forum-reviews
26) http://www.woltlab.com/forum/
27) https://github.com/markelliot/mercuryboard/blob/master/index.php
28) http://www.minibb.com/download.html#forum_software
29) https://github.com/Phorum/Core
30) https://github.com/punbb/punbb
31) http://clansuite.com
32) http://www.youtube.com/watch?v=JPqFNQCXF9Y
33) https://travis-ci.org/#!/Clansuite/Clansuite

These logs were automatically created by k-logbot on chat.freenode.net using the Clansuite IRC LogBot. Find the project at Github.