This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Problem with Jobeet day 3

Discussion relating to version 1.3.x and 1.4.x

Problem with Jobeet day 3

by GianniErre » Sat Dec 28, 2013 2:23 pm

For some days I've been following Jobeet project tutorial http://symfony.com/legacy/doc/jobeet/1_4/en/03?orm=Propel and I have finally reached the point when the database with the form has to be tested, but apparently something went wrong, since my browser shows only the table contents with no form, CSS style or whatsoever button or menu, I'm uploading a screenshot of it so that you may have a look at it yourself.

Image

NowI have just tried to follow through again the same procedure of propel:build --all, propel:insert-sql etc lest I skipped something, but nothing has changed apparently, also trying Internet Explorer besides Firefox, and I could not find any old thread regarding this topic so I'm finally resigned to ask for your help.

Can someone figure out what is wrong with my project?

I'm attaching the source code of the page.

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <link rel="stylesheet" type="text/css" media="screen" href="/jobeet/web/css/main.css" />
      <style type="text/css">#sfWebDebug {   padding: 0;   margin: 0;   font-family: Arial, sans-serif;   font-size: 12px;   color: #333;   text-align: left;   line-height: 12px; }  #sfWebDebug a, #sfWebDebug a:hover {   text-decoration: none;   border: none;   background-color: transparent;   color: #000; }  #sfWebDebug img {   float: none;   margin: 0;   border: 0;   display: inline; }  #sfWebDebugBar {   position: absolute;   margin: 0;   padding: 1px 0;   right: 0px;   top: 0px;   opacity: 0.80;   filter: alpha(opacity:80);   z-index: 10000;   white-space: nowrap;   background-color: #ddd; }  #sfWebDebugBar[id] {   position: fixed; }  #sfWebDebugBar img {   vertical-align: middle; }  #sfWebDebugBar .sfWebDebugMenu {   padding: 5px;   padding-left: 0;   display: inline;   margin: 0; }  #sfWebDebugBar .sfWebDebugMenu li {   display: inline;   list-style: none;   margin: 0;   padding: 0 6px; }  #sfWebDebugBar .sfWebDebugMenu li.last {   margin: 0;   padding: 0;   border: 0; }  #sfWebDebugDatabaseDetails li {   margin: 0;   margin-left: 30px;   padding: 5px 0; }  #sfWebDebugShortMessages li {   margin-bottom: 10px;   padding: 5px;   background-color: #ddd; }  #sfWebDebugShortMessages li {   list-style: none; }  #sfWebDebugDetails {   margin-right: 7px; }  #sfWebDebug pre {   line-height: 1.3;   margin-bottom: 10px; }  #sfWebDebug h1 {   font-size: 16px;   font-weight: bold;   margin: 20px 0;   padding: 0;   border: 0px;   background-color: #eee; }  #sfWebDebug h2 {   font-size: 14px;   font-weight: bold;   margin: 10px 0;   padding: 0;   border: 0px;   background: none; }  #sfWebDebug h3 {   font-size: 12px;   font-weight: bold;   margin: 10px 0;   padding: 0;   border: 0px;   background: none; }  #sfWebDebug .sfWebDebugTop {   position: absolute;   left: 0px;   top: 0px;   width: 98%;   padding: 0 1%;   margin: 0;   z-index: 9999;   background-color: #efefef;   border-bottom: 1px solid #aaa; }  #sfWebDebugLog {   margin: 0;   padding: 3px;   font-size: 11px; }  #sfWebDebugLogMenu {   margin-bottom: 5px; }  #sfWebDebugLogMenu li {   display: inline;   list-style: none;   margin: 0;   padding: 0 5px;   border-right: 1px solid #aaa; }  #sfWebDebugConfigSummary {   display: inline;   padding: 5px;   background-color: #ddd;   border: 1px solid #aaa;   margin: 20px 0; }  #sfWebDebugConfigSummary li {   list-style: none;   display: inline;   margin: 0;   padding: 0 5px; }  #sfWebDebugConfigSummary li.last {   border: 0; }  .sfWebDebugInfo, .sfWebDebugInfo td {   background-color: #ddd; }  .sfWebDebugWarning, .sfWebDebugWarning td {   background-color: orange !important; }  .sfWebDebugError, .sfWebDebugError td {   background-color: #f99 !important; }  .sfWebDebugLogNumber {   width: 1%; }  .sfWebDebugLogType {   width: 1%;   white-space: nowrap; }  .sfWebDebugLogType, #sfWebDebug .sfWebDebugLogType a {   color: darkgreen; }  #sfWebDebug .sfWebDebugLogType a:hover {   text-decoration: underline; }  .sfWebDebugLogInfo {   color: blue; }  .ison {   color: #3f3;   margin-right: 5px; }  .isoff {   color: #f33;   margin-right: 5px;   text-decoration: line-through; }  .sfWebDebugLogs {   padding: 0;   margin: 0;   border: 1px solid #999;   font-family: Arial;   font-size: 11px; }  .sfWebDebugLogs tr {   padding: 0;   margin: 0;   border: 0; }  .sfWebDebugLogs td {   margin: 0;   border: 0;   padding: 1px 3px;   vertical-align: top; }  .sfWebDebugLogs th {   margin: 0;   border: 0;   padding: 3px 5px;   vertical-align: top;   background-color: #999;   color: #eee;   white-space: nowrap; }  .sfWebDebugDebugInfo {   color: #999;   font-size: 11px;   margin: 5px 0 5px 10px;   padding: 2px 0 2px 5px;   border-left: 1px solid #aaa;   line-height: 1.25em; }  .sfWebDebugDebugInfo .sfWebDebugLogInfo, .sfWebDebugDebugInfo a.sfWebDebugFileLink {   color: #333 !important; }  .sfWebDebugCache {   padding: 0;   margin: 0;   font-family: Arial;   position: absolute;   overflow: hidden;   z-index: 995;   font-size: 9px;   padding: 2px;   filter:alpha(opacity=85);   -moz-opacity:0.85;   opacity: 0.85; }  #sfWebDebugSymfonyVersion {   margin-left: 0;   padding: 1px 4px;   background-color: #666;   color: #fff; }  #sfWebDebugviewDetails ul {   padding-left: 2em;   margin: .5em 0;   list-style: none; }  #sfWebDebugviewDetails li {   margin-bottom: .5em; }  #sfWebDebug .sfWebDebugDataType, #sfWebDebug .sfWebDebugDataType a {   color: #666;   font-style: italic; }  #sfWebDebug .sfWebDebugDataType a:hover {   text-decoration: underline; }  #sfWebDebugDatabaseLogs {   margin-bottom: 10px; }  #sfWebDebugDatabaseLogs ol {   margin: 0;   padding: 0;   margin-left: 20px;   list-style: decimal; }  #sfWebDebugDatabaseLogs li {   padding: 6px; }  #sfWebDebugDatabaseLogs li:nth-child(odd) {   background-color: #CCC; }  .sfWebDebugDatabaseQuery {   margin-bottom: .5em;   margin-top: 0; }  .sfWebDebugDatabaseLogInfo {   color: #666;   font-size: 11px; }  .sfWebDebugDatabaseQuery .sfWebDebugLogInfo {   color: #909;   font-weight: bold; }  .sfWebDebugHighlight {   background: #FFC; }</style></head>
  <body>
    <h1>JobeetJobs List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Category</th>
      <th>Type</th>
      <th>Company</th>
      <th>Logo</th>
      <th>Url</th>
      <th>Position</th>
      <th>Location</th>
      <th>Description</th>
      <th>How to apply</th>
      <th>Token</th>
      <th>Is public</th>
      <th>Is activated</th>
      <th>Email</th>
      <th>Expires at</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
        <tr>
      <td><a href="/jobeet/web/frontend_dev.php/job/show/id/1">1</a></td>
      <td>2</td>
      <td>full-time</td>
      <td>Sensio Labs</td>
      <td>sensio-labs.gif</td>
      <td>http://www.sensiolabs.com/</td>
      <td>Web Developer</td>
      <td>Paris, France</td>
      <td>You&#039;ve already developed websites with symfony and you want to
work with Open-Source technologies. You have a minimum of 3
years experience in web development with PHP or Java and you
wish to participate to development of Web 2.0 sites using the
best frameworks available.
</td>
      <td>Send your resume to fabien.potencier [at] sensio.com
</td>
      <td>job_sensio_labs</td>
      <td>1</td>
      <td>1</td>
      <td>job@example.com</td>
      <td>2010-10-10 00:00:00</td>
      <td>2013-12-28 11:42:37</td>
      <td>2013-12-28 11:42:37</td>
    </tr>
        <tr>
      <td><a href="/jobeet/web/frontend_dev.php/job/show/id/2">2</a></td>
      <td>1</td>
      <td>part-time</td>
      <td>Extreme Sensio</td>
      <td>extreme-sensio.gif</td>
      <td>http://www.extreme-sensio.com/</td>
      <td>Web Designer</td>
      <td>Paris, France</td>
      <td>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
in reprehenderit in.

Voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa
qui officia deserunt mollit anim id est laborum.
</td>
      <td>Send your resume to fabien.potencier [at] sensio.com
</td>
      <td>job_extreme_sensio</td>
      <td>1</td>
      <td>1</td>
      <td>job@example.com</td>
      <td>2010-10-10 00:00:00</td>
      <td>2013-12-28 11:42:37</td>
      <td>2013-12-28 11:42:37</td>
    </tr>
      </tbody>
</table>

  <a href="/jobeet/web/frontend_dev.php/job/new">New</a>
  <script type="text/javascript">/* <![CDATA[ */
function sfWebDebugGetElementsByClassName(strClass, strTag, objContElm)
{
  // http://muffinresearch.co.uk/archives/2006/04/29/getelementsbyclassname-deluxe-edition/
  strTag = strTag || "*";
  objContElm = objContElm || document;
  var objColl = (strTag == '*' && document.all) ? document.all : objContElm.getElementsByTagName(strTag);
  var arr = new Array();
  var delim = strClass.indexOf('|') != -1  ? '|' : ' ';
  var arrClass = strClass.split(delim);
  var j = objColl.length;
  for (var i = 0; i < j; i++) {
    if(objColl[i].className == undefined) continue;
    var arrObjClass = objColl[i].className.split ? objColl[i].className.split(' ') : [];
    if (delim == ' ' && arrClass.length > arrObjClass.length) continue;
    var c = 0;
    comparisonLoop:
    {
      var l = arrObjClass.length;
      for (var k = 0; k < l; k++) {
        var n = arrClass.length;
        for (var m = 0; m < n; m++) {
          if (arrClass[m] == arrObjClass[k]) c++;
          if (( delim == '|' && c == 1) || (delim == ' ' && c == arrClass.length)) {
            arr.push(objColl[i]);
            break comparisonLoop;
          }
        }
      }
    }
  }
  return arr;
}

function sfWebDebugToggleMenu()
{
  var element = document.getElementById('sfWebDebugDetails');

  var cacheElements = sfWebDebugGetElementsByClassName('sfWebDebugCache');
  var mainCacheElements = sfWebDebugGetElementsByClassName('sfWebDebugActionCache');
  var panelElements = sfWebDebugGetElementsByClassName('sfWebDebugTop');

  if (element.style.display != 'none')
  {
    for (var i = 0; i < panelElements.length; ++i)
    {
      panelElements[i].style.display = 'none';
    }

    // hide all cache information
    for (var i = 0; i < cacheElements.length; ++i)
    {
      cacheElements[i].style.display = 'none';
    }
    for (var i = 0; i < mainCacheElements.length; ++i)
    {
      mainCacheElements[i].style.border = 'none';
    }
  }
  else
  {
    for (var i = 0; i < cacheElements.length; ++i)
    {
      cacheElements[i].style.display = '';
    }
    for (var i = 0; i < mainCacheElements.length; ++i)
    {
      mainCacheElements[i].style.border = '1px solid #f00';
    }
  }

  sfWebDebugToggle('sfWebDebugDetails');
  sfWebDebugToggle('sfWebDebugShowMenu');
  sfWebDebugToggle('sfWebDebugHideMenu');
}

function sfWebDebugShowDetailsFor(element)
{
  if (typeof element == 'string')
    element = document.getElementById(element);

  var panelElements = sfWebDebugGetElementsByClassName('sfWebDebugTop');
  for (var i = 0; i < panelElements.length; ++i)
  {
    if (panelElements[i] != element)
    {
      panelElements[i].style.display = 'none';
    }
  }

  sfWebDebugToggle(element);
}

function sfWebDebugToggle(element)
{
  if (typeof element == 'string')
    element = document.getElementById(element);

  if (element)
    element.style.display = element.style.display == 'none' ? '' : 'none';
}

function sfWebDebugToggleMessages(klass)
{
  var elements = sfWebDebugGetElementsByClassName(klass);

  var x = elements.length;
  for (var i = 0; i < x; ++i)
  {
    sfWebDebugToggle(elements[i]);
  }
}

function sfWebDebugToggleAllLogLines(show, klass)
{
  var elements = sfWebDebugGetElementsByClassName(klass);
  var x = elements.length;
  for (var i = 0; i < x; ++i)
  {
    elements[i].style.display = show ? '' : 'none';
  }
}

function sfWebDebugShowOnlyLogLines(type)
{
  var types = new Array();
  types[0] = 'info';
  types[1] = 'warning';
  types[2] = 'error';
  for (klass in types)
  {
    var elements = sfWebDebugGetElementsByClassName('sfWebDebug' + types[klass].substring(0, 1).toUpperCase() + types[klass].substring(1, types[klass].length));
    var x = elements.length;
    for (var i = 0; i < x; ++i)
    {
      if ('tr' == elements[i].tagName.toLowerCase())
      {
        elements[i].style.display = (type == types[klass]) ? '' : 'none';
      }
    }
  }
}
/* ]]> */</script>
      <div id="sfWebDebug">
        <div id="sfWebDebugBar">
          <a href="#" onclick="sfWebDebugToggleMenu(); return false;"><img src="/jobeet/web/sf/sf_web_debug/images/sf.png" alt="Debug toolbar" /></a>

          <ul id="sfWebDebugDetails" class="sfWebDebugMenu">
            <li><span id="sfWebDebugSymfonyVersion">1.4.20</span></li>
<li class="sfWebDebugInfo"><a title="Configuration" href="#" onclick="sfWebDebugShowDetailsFor('sfWebDebugconfigDetails'); return false;"><img src="/jobeet/web/sf/sf_web_debug/images/config.png" alt="Config" /> config</a></li>
<li class="sfWebDebugInfo"><a title="View Layer" href="#" onclick="sfWebDebugShowDetailsFor('sfWebDebugviewDetails'); return false;"><img src="/jobeet/web/sf/sf_web_debug/images/view.png" alt="View Layer" /> view</a></li>
<li class="sfWebDebugInfo"><a title="Logs" href="#" onclick="sfWebDebugShowDetailsFor('sfWebDebuglogsDetails'); return false;"><img src="/jobeet/web/sf/sf_web_debug/images/log.png" alt="Log" /> logs</a></li>
<li><img src="/jobeet/web/sf/sf_web_debug/images/memory.png" alt="Memory" /> 7680.0 KB</li>
<li class="sfWebDebugInfo"><a title="Timers" href="#" onclick="sfWebDebugShowDetailsFor('sfWebDebugtimeDetails'); return false;"><img src="/jobeet/web/sf/sf_web_debug/images/time.png" alt="Time" /> 228 ms</a></li>
<li class="sfWebDebugInfo"><a title="SQL queries" href="#" onclick="sfWebDebugShowDetailsFor('sfWebDebugdbDetails'); return false;"><img src="/jobeet/web/sf/sf_web_debug/images/database.png" alt="SQL queries" /> 2</a></li>
            <li class="last">
              <a href="#" onclick="document.getElementById('sfWebDebug').style.display='none'; return false;"><img src="/jobeet/web/sf/sf_web_debug/images/close.png" alt="Close" /></a>
            </li>
          </ul>
        </div>

        <div id="sfWebDebugconfigDetails" class="sfWebDebugTop" style="display:none"><h1>Configuration</h1><ul id="sfWebDebugConfigSummary"><li class="ison">debug</li><li class="ison">xdebug</li><li class="ison">logging</li><li class="isoff">cache</li><li class="isoff">compression</li><li class="ison">tokenizer</li><li class="isoff">eaccelerator</li><li class="isoff">apc</li><li class="isoff last">xcache</li></ul>
    <h2>Request <a href="#" onclick="sfWebDebugToggle('sfWebDebugRequest'); return false;" title="Toggle details"><img src="/jobeet/web/sf/sf_web_debug/images/toggle.gif" alt="Toggle details"/></a></h2>
    <div id="sfWebDebugRequest" style="display: none"><pre>options:
  path_info_key: PATH_INFO
  path_info_array: SERVER
  http_port: null
  https_port: null
  default_format: null
  logging: &#039;1&#039;
  relative_url_root: null
  formats: { txt: text/plain, js: [application/javascript, application/x-javascript, text/javascript], css: text/css, json: [application/json, application/x-json], xml: [text/xml, application/xml, application/x-xml], rdf: application/rdf+xml, atom: application/atom+xml }
  no_script_name: false
parameterHolder:
  action: index
  module: job
attributeHolder:
  sf_route: &#039;sfRoute Object()&#039;
</pre></div>
   
    <h2>Response <a href="#" onclick="sfWebDebugToggle('sfWebDebugResponse'); return false;" title="Toggle details"><img src="/jobeet/web/sf/sf_web_debug/images/toggle.gif" alt="Toggle details"/></a></h2>
    <div id="sfWebDebugResponse" style="display: none"><pre>status:
  code: 200
  text: OK
options:
  http_protocol: HTTP/1.1
  logging: &#039;1&#039;
  charset: utf-8
  send_http_headers: false
  content_type: &#039;text/html; charset=utf-8&#039;
cookies: {  }
httpHeaders:
  Content-Type: &#039;text/html; charset=utf-8&#039;
javascripts: {  }
stylesheets:
  main.css: {  }
metas: {  }
httpMetas:
  Content-Type: &#039;text/html; charset=utf-8&#039;
</pre></div>
   
    <h2>User <a href="#" onclick="sfWebDebugToggle('sfWebDebugUser'); return false;" title="Toggle details"><img src="/jobeet/web/sf/sf_web_debug/images/toggle.gif" alt="Toggle details"/></a></h2>
    <div id="sfWebDebugUser" style="display: none"><pre>options:
  auto_shutdown: false
  culture: null
  default_culture: en
  use_flash: true
  logging: &#039;1&#039;
  timeout: 1800
attributeHolder: {  }
culture: en
authenticated: false
credentials: {  }
lastRequest: 1388231022
</pre></div>
   
    <h2>Settings <a href="#" onclick="sfWebDebugToggle('sfWebDebugSettings'); return false;" title="Toggle details"><img src="/jobeet/web/sf/sf_web_debug/images/toggle.gif" alt="Toggle details"/></a></h2>
    <div id="sfWebDebugSettings" style="display: none"><pre>mod_job_enabled: true
mod_job_view_class: sfPHP
sf_admin_module_web_dir: /sfPropelPlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_base_cache_dir: &#039;C:\wamp\www\jobeet\cache\frontend&#039;
sf_app_cache_dir: &#039;C:\wamp\www\jobeet\cache\frontend\dev&#039;
sf_app_config_dir: &#039;C:\wamp\www\jobeet\apps\frontend\config&#039;
sf_app_dir: &#039;C:\wamp\www\jobeet\apps\frontend&#039;
sf_app_i18n_dir: &#039;C:\wamp\www\jobeet\apps\frontend\i18n&#039;
sf_app_lib_dir: &#039;C:\wamp\www\jobeet\apps\frontend\lib&#039;
sf_app_module_dir: &#039;C:\wamp\www\jobeet\apps\frontend\modules&#039;
sf_app_template_dir: &#039;C:\wamp\www\jobeet\apps\frontend\templates&#039;
sf_apps_dir: &#039;C:\wamp\www\jobeet\apps&#039;
sf_cache: false
sf_cache_dir: &#039;C:\wamp\www\jobeet\cache&#039;
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: &#039;C:\wamp\www\jobeet\cache\frontend\dev\config&#039;
sf_config_dir: &#039;C:\wamp\www\jobeet\config&#039;
sf_csrf_secret: a542ce6a1b865043f043c05c3791c0483d40bed8
sf_data_dir: &#039;C:\wamp\www\jobeet\data&#039;
sf_debug: true
sf_default_culture: en
sf_enabled_modules:
  - default
sf_environment: dev
sf_error_404_action: error404
sf_error_404_module: default
sf_error_reporting: 32767
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: true
sf_etag: false
sf_file_link_format: null
sf_i18n: false
sf_i18n_cache_dir: &#039;C:\wamp\www\jobeet\cache\frontend\dev\i18n&#039;
sf_lib_dir: &#039;C:\wamp\www\jobeet\lib&#039;
sf_log_dir: &#039;C:\wamp\www\jobeet\log&#039;
sf_logging_enabled: true
sf_login_action: login
sf_login_module: default
sf_module_cache_dir: &#039;C:\wamp\www\jobeet\cache\frontend\dev\modules&#039;
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: false
sf_orm: propel
sf_plugins_dir: &#039;C:\wamp\www\jobeet\plugins&#039;
sf_root_dir: &#039;C:\wamp\www\jobeet&#039;
sf_secure_action: secure
sf_secure_module: default
sf_standard_helpers:
  - Partial
  - Cache
sf_symfony_lib_dir: &#039;C:\wamp\www\jobeet\lib\vendor\symfony\lib&#039;
sf_template_cache_dir: &#039;C:\wamp\www\jobeet\cache\frontend\dev\template&#039;
sf_test_cache_dir: &#039;C:\wamp\www\jobeet\cache\frontend\dev\test&#039;
sf_test_dir: &#039;C:\wamp\www\jobeet\test&#039;
sf_upload_dir: &#039;C:\wamp\www\jobeet\web\uploads&#039;
sf_use_database: true
sf_web_debug: true
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: &#039;C:\wamp\www\jobeet\web&#039;
symfony.asset.javascripts_included: true
symfony.asset.stylesheets_included: true
</pre></div>
   
    <h2>Globals <a href="#" onclick="sfWebDebugToggle('sfWebDebugGlobals'); return false;" title="Toggle details"><img src="/jobeet/web/sf/sf_web_debug/images/toggle.gif" alt="Toggle details"/></a></h2>
    <div id="sfWebDebugGlobals" style="display: none"><pre>cookie:
  symfony: p059k7iu8lnpbkmvaqk9gmkn91
env: {  }
files: {  }
get: {  }
post: {  }
server:
  COMSPEC: &#039;C:\WINDOWS\system32\cmd.exe&#039;
  CONTEXT_DOCUMENT_ROOT: &#039;C:/wamp/www&#039;
  CONTEXT_PREFIX: &#039;&#039;
  DOCUMENT_ROOT: &#039;C:/wamp/www&#039;
  GATEWAY_INTERFACE: CGI/1.1
  HTTP_ACCEPT: &#039;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#039;
  HTTP_ACCEPT_ENCODING: &#039;gzip, deflate&#039;
  HTTP_ACCEPT_LANGUAGE: &#039;it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3&#039;
  HTTP_CACHE_CONTROL: max-age=0
  HTTP_CONNECTION: keep-alive
  HTTP_COOKIE: symfony=p059k7iu8lnpbkmvaqk9gmkn91
  HTTP_HOST: 127.0.0.1
  HTTP_USER_AGENT: &#039;Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0&#039;
  PATH: &#039;C:\Program Files (x86)\EasyPHP-DevServer-13.1VC11\binaries\php\php_runningversion;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Sony\VAIO Improvement\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files\Calibre2\;C:\Program Files (x86)\Samsung\Samsung PC Studio 3\;C:\UniServer\usr\local\php;C:\ProgramData\Composer\bin;C:\Program Files\TortoiseSVN\bin;&#039;
  PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
  PATH_INFO: /job
  PATH_TRANSLATED: &#039;C:\wamp\www\job&#039;
  PHP_SELF: /jobeet/web/frontend_dev.php/job
  QUERY_STRING: &#039;&#039;
  REMOTE_ADDR: 127.0.0.1
  REMOTE_PORT: &#039;58926&#039;
  REQUEST_METHOD: GET
  REQUEST_SCHEME: http
  REQUEST_TIME: 1388231022
  REQUEST_TIME_FLOAT: 1388231022.379
  REQUEST_URI: /jobeet/web/frontend_dev.php/job
  SCRIPT_FILENAME: &#039;C:/wamp/www/jobeet/web/frontend_dev.php&#039;
  SCRIPT_NAME: /jobeet/web/frontend_dev.php
  SERVER_ADDR: 127.0.0.1
  SERVER_ADMIN: admin@example.com
  SERVER_NAME: 127.0.0.1
  SERVER_PORT: &#039;80&#039;
  SERVER_PROTOCOL: HTTP/1.1
  SERVER_SIGNATURE: &#039;&#039;
  SERVER_SOFTWARE: &#039;Apache/2.4.4 (Win64) PHP/5.4.12&#039;
  SystemRoot: &#039;C:\WINDOWS&#039;
  WINDIR: &#039;C:\WINDOWS&#039;
session:
  symfony/user/sfUser/attributes: {  }
  symfony/user/sfUser/authenticated: false
  symfony/user/sfUser/credentials: {  }
  symfony/user/sfUser/culture: en
  symfony/user/sfUser/lastRequest: 1388231019
</pre></div>
   
    <h2>Php <a href="#" onclick="sfWebDebugToggle('sfWebDebugPhp'); return false;" title="Toggle details"><img src="/jobeet/web/sf/sf_web_debug/images/toggle.gif" alt="Toggle details"/></a></h2>
    <div id="sfWebDebugPhp" style="display: none"><pre>php: 5.4.12
os: &#039;Windows NT MEMME 6.2 build 9200 (Unknown Windows version Home Premium Edition) AMD64&#039;
extensions:
  32: apache2handler
  1: bcmath
  2: calendar
  3: &#039;com_dotnet (0.1)&#039;
  0: &#039;Core (5.4.12)&#039;
  4: ctype
  5: &#039;date (5.4.12)&#039;
  24: &#039;dom (20031129)&#039;
  6: ereg
  7: &#039;filter (0.11.0)&#039;
  8: ftp
  33: gd
  9: &#039;hash (1.0)&#039;
  10: iconv
  11: &#039;json (1.2.1)&#039;
  23: libxml
  34: mbstring
  12: mcrypt
  39: mhash
  35: &#039;mysql (1.0)&#039;
  36: &#039;mysqli (0.1)&#039;
  19: &#039;mysqlnd (mysqlnd 5.0.10 - 20111026 - $Id: e707c415db32080b3752b232487a435ee0372157 $)&#039;
  14: &#039;odbc (1.0)&#039;
  15: pcre
  25: &#039;PDO (1.0.4dev)&#039;
  37: &#039;pdo_mysql (1.0.2)&#039;
  38: &#039;pdo_sqlite (1.0.1)&#039;
  26: &#039;Phar (2.0.1)&#039;
  16: &#039;Reflection ($Id: 25ecbad68e5a4573ffee43ea24a0591ea179492a $)&#039;
  17: session
  27: &#039;SimpleXML (0.1)&#039;
  13: &#039;SPL (0.2)&#039;
  18: &#039;standard (5.4.12)&#039;
  20: &#039;tokenizer (0.1)&#039;
  28: wddx
  40: &#039;xdebug (2.2.3)&#039;
  29: xml
  30: &#039;xmlreader (0.1)&#039;
  31: &#039;xmlwriter (0.1)&#039;
  21: &#039;zip (1.11.0)&#039;
  22: &#039;zlib (2.0)&#039;
</pre></div>
   
    <h2>Symfony <a href="#" onclick="sfWebDebugToggle('sfWebDebugSymfony'); return false;" title="Toggle details"><img src="/jobeet/web/sf/sf_web_debug/images/toggle.gif" alt="Toggle details"/></a></h2>
    <div id="sfWebDebugSymfony" style="display: none"><pre>version: 1.4.20
path: &#039;C:\wamp\www\jobeet\lib\vendor\symfony\lib&#039;
</pre></div>
    </div>
<div id="sfWebDebugviewDetails" class="sfWebDebugTop" style="display:none"><h1>View Layer</h1><h2>Template: <span title="SF_ROOT_DIR\apps\frontend\modules/job/templates/indexSuccess.php">job&nbsp;&hellip;&nbsp;indexSuccess.php</span> <a href="#" onclick="sfWebDebugToggle('sfWebDebugViewTemplate1'); return false;" title="Toggle details"><img src="/jobeet/web/sf/sf_web_debug/images/toggle.gif" alt="Toggle details"/></a></h2>
<div id="sfWebDebugViewTemplate1" style="display:block">
<p>Parameters:</p>
<ul>
<li><code>$JobeetJobs</code> <span class="sfWebDebugDataType">(array)</span></li>
</ul>
</div></div>
<div id="sfWebDebuglogsDetails" class="sfWebDebugTop" style="display:none"><h1>Logs</h1>
      <ul id="sfWebDebugLogMenu">
        <li><a href="#" onclick="sfWebDebugToggleAllLogLines(true, 'sfWebDebugLogLine'); return false;">[all]</a></li>
        <li><a href="#" onclick="sfWebDebugToggleAllLogLines(false, 'sfWebDebugLogLine'); return false;">[none]</a></li>
        <li><a href="#" onclick="sfWebDebugShowOnlyLogLines('info'); return false;"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Show only infos" /></a></li>
        <li><a href="#" onclick="sfWebDebugShowOnlyLogLines('warning'); return false;"><img src="/jobeet/web/sf/sf_web_debug/images/warning.png" alt="Show only warnings" /></a></li>
        <li><a href="#" onclick="sfWebDebugShowOnlyLogLines('error'); return false;"><img src="/jobeet/web/sf/sf_web_debug/images/error.png" alt="Show only errors" /></a></li>
        <li><a href="#" onclick="sfWebDebugToggleMessages('jobActions'); return false;">jobActions</a></li>
<li><a href="#" onclick="sfWebDebugToggleMessages('sfFilterChain'); return false;">sfFilterChain</a></li>
<li><a href="#" onclick="sfWebDebugToggleMessages('sfPHPView'); return false;">sfPHPView</a></li>
<li><a href="#" onclick="sfWebDebugToggleMessages('sfPatternRouting'); return false;">sfPatternRouting</a></li>
<li><a href="#" onclick="sfWebDebugToggleMessages('sfPropelLogger'); return false;">sfPropelLogger</a></li>
<li><a href="#" onclick="sfWebDebugToggleMessages('sfWebDebugLogger'); return false;">sfWebDebugLogger</a></li>
<li><a href="#" onclick="sfWebDebugToggleMessages('sfWebResponse'); return false;">sfWebResponse</a></li>
      </ul>
      <div id="sfWebDebugLogLines"><table class="sfWebDebugLogs">
      <tr>
        <th>#</th>
        <th>type</th>
        <th>message</th>
      </tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfPatternRouting'><td class="sfWebDebugLogNumber">1</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\routing\sfPatternRouting.class.php">sfPatternRouting</span></td><td>Match route "<span class="sfWebDebugLogInfo">default_index</span>" (/:module) for /job with parameters array (  &#039;module&#039; =&gt; &#039;job&#039;,  &#039;action&#039; =&gt; &#039;index&#039;,) </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfFilterChain'><td class="sfWebDebugLogNumber">2</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfFilterChain.class.php">sfFilterChain</span></td><td>Executing filter "<span class="sfWebDebugLogInfo">sfRenderingFilter</span>" </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfFilterChain'><td class="sfWebDebugLogNumber">3</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfFilterChain.class.php">sfFilterChain</span></td><td>Executing filter "<span class="sfWebDebugLogInfo">sfExecutionFilter</span>" </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo jobActions'><td class="sfWebDebugLogNumber">4</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\apps\frontend\modules\job\actions\actions.class.php">jobActions</span></td><td>Call "<span class="sfWebDebugLogInfo">jobActions-&gt;executeIndex()</span>" </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfPropelLogger'><td class="sfWebDebugLogNumber">5</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\log\sfPropelLogger.class.php">sfPropelLogger</span></td><td>time:  0.001 sec | slow:  NO | mem:    5.5 MB | mempeak:    5.5 MB | memdelta:      0.0 B | <span class="sfWebDebugLogInfo">SET</span> NAMES &#039;utf8&#039; </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfPropelLogger'><td class="sfWebDebugLogNumber">6</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\log\sfPropelLogger.class.php">sfPropelLogger</span></td><td>time:  0.001 sec | slow:  NO | mem:    5.8 MB | mempeak:    5.8 MB | memdelta:      0.0 B | <span class="sfWebDebugLogInfo">SELECT</span> jobeet_job.ID, jobeet_job.CATEGORY_ID, jobeet_job.TYPE, jobeet_job.COMPANY, jobeet_job.LOGO, jobeet_job.URL, jobeet_job.POSITION, jobeet_job.LOCATION, jobeet_job.DESCRIPTION, jobeet_job.HOW_TO_APPLY, jobeet_job.TOKEN, jobeet_job.IS_PUBLIC, jobeet_job.IS_ACTIVATED, jobeet_job.EMAIL, jobeet_job.EXPIRES_AT, jobeet_job.CREATED_AT, jobeet_job.UPDATED_AT <span class="sfWebDebugLogInfo">FROM</span> `jobeet_job` </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfPHPView'><td class="sfWebDebugLogNumber">7</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\view\sfPHPView.class.php">sfPHPView</span></td><td>Render "<span class="sfWebDebugLogInfo">sf_app_dir\modules/job/templates/indexSuccess.php</span>" </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfPHPView'><td class="sfWebDebugLogNumber">8</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\view\sfPHPView.class.php">sfPHPView</span></td><td>Decorate content with "<span class="sfWebDebugLogInfo">sf_app_dir\templates/layout.php</span>" </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfPHPView'><td class="sfWebDebugLogNumber">9</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\view\sfPHPView.class.php">sfPHPView</span></td><td>Render "<span class="sfWebDebugLogInfo">sf_app_dir\templates/layout.php</span>" </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfWebResponse'><td class="sfWebDebugLogNumber">10</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\response\sfWebResponse.class.php">sfWebResponse</span></td><td>Send status "<span class="sfWebDebugLogInfo">HTTP/1.1 200 OK</span>" </td></tr>
<tr class='sfWebDebugLogLine sfWebDebugInfo sfWebResponse'><td class="sfWebDebugLogNumber">11</td><td class="sfWebDebugLogType"><img src="/jobeet/web/sf/sf_web_debug/images/info.png" alt="Info"/>&nbsp;<span title="SF_ROOT_DIR\lib\vendor\symfony\lib\response\sfWebResponse.class.php">sfWebResponse</span></td><td>Send header "<span class="sfWebDebugLogInfo">Content-Type: text/html; charset=utf-8</span>" </td></tr>
</table></div>
    </div>
<div id="sfWebDebugtimeDetails" class="sfWebDebugTop" style="display:none"><h1>Timers</h1><table class="sfWebDebugLogs" style="width: 300px"><tr><th>type</th><th>calls</th><th>time (ms)</th><th>time (%)</th></tr><tr><td class="sfWebDebugLogType">Configuration</td><td class="sfWebDebugLogNumber" style="text-align: right">9</td><td style="text-align: right">16.55</td><td style="text-align: right">7</td></tr><tr><td class="sfWebDebugLogType">Factories</td><td class="sfWebDebugLogNumber" style="text-align: right">1</td><td style="text-align: right">45.21</td><td style="text-align: right">19</td></tr><tr><td class="sfWebDebugLogType">Action "job/index"</td><td class="sfWebDebugLogNumber" style="text-align: right">1</td><td style="text-align: right">71.02</td><td style="text-align: right">31</td></tr><tr><td class="sfWebDebugLogType">View "Success" for "job/index"</td><td class="sfWebDebugLogNumber" style="text-align: right">1</td><td style="text-align: right">23.40</td><td style="text-align: right">10</td></tr></table></div>
<div id="sfWebDebugdbDetails" class="sfWebDebugTop" style="display:none"><h1>SQL queries</h1>
      <div id="sfWebDebugDatabaseLogs">
        <h3>Propel Version: 1.4.2</h3>
        <ol>
        <li>
          <p class="sfWebDebugDatabaseQuery"><span class="sfWebDebugLogInfo">SET</span> NAMES &#039;utf8&#039;</p>
          <div class="sfWebDebugDatabaseLogInfo">time:  0.001 sec, slow:  NO, mem:    5.5 MB, mempeak:    5.5 MB, memdelta:      0.0 B</div>
        </li>

        <li>
          <p class="sfWebDebugDatabaseQuery"><span class="sfWebDebugLogInfo">SELECT</span> jobeet_job.ID, jobeet_job.CATEGORY_ID, jobeet_job.TYPE, jobeet_job.COMPANY, jobeet_job.LOGO, jobeet_job.URL, jobeet_job.POSITION, jobeet_job.LOCATION, jobeet_job.DESCRIPTION, jobeet_job.HOW_TO_APPLY, jobeet_job.TOKEN, jobeet_job.IS_PUBLIC, jobeet_job.IS_ACTIVATED, jobeet_job.EMAIL, jobeet_job.EXPIRES_AT, jobeet_job.CREATED_AT, jobeet_job.UPDATED_AT <span class="sfWebDebugLogInfo">FROM</span> `jobeet_job`</p>
          <div class="sfWebDebugDatabaseLogInfo">time:  0.001 sec, slow:  NO, mem:    5.8 MB, mempeak:    5.8 MB, memdelta:      0.0 B</div>
        </li></ol>
      </div>
    </div>
      </div>
    </body>
</html>


Thank you for your attention.
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Sat Dec 28, 2013 9:12 pm

For reference, this is the result that I have been ideally trying and achieve.

Image

In the same chapter, some methods are mentioned - that is index, show, new, create, edit, update, delete, I gather they are corresponding to related indexSuccess.php, showSuccess.php etc. files in frontend/modules/job folder - but one thing it is still not completely clear to me is how these modules are interrogated - I tried opening */jobeet/web/frontend_dev/job/showSuccess.php but the result was a 404 error - , but maybe I will understand as I move further through following chapters of the tutorial.
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Mon Dec 30, 2013 6:05 pm

I've just tried to use UniServer instead of Wamp, and when I tried to open */frontend_dev.php, that resulted in a 500 PropelException error message.
Down below I am attaching the detailed log, as I'm trying to find out what is wrong and do some research.

Code: Select all
500 | Internal Server Error | PropelException
Unable to open PDO connection [wrapped: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)]
stack trace

    at ()
    in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\propel\Propel.php line 619 ...
                        $con = new $classname($dsn, $user, $password, $driver_options);
                        $con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
                    } catch (PDOException $e) {
                        throw new PropelException("Unable to open PDO connection", $e);
                    }
                    // load any connection options from the config file
    at Propel::initConnection(array('dsn' => 'mysql:host=localhost;dbname=jobeet', 'user' => 'root', 'password' => null, 'classname' => 'DebugPDO', 'options' => array('ATTR_PERSISTENT' => 1), 'settings' => array('charset' => array('value' => 'utf8'), 'queries' => array())), 'propel')
    in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\propel\Propel.php line 532 ...
    at Propel::getConnection('propel', 'write')
    in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\propel\Propel.php line 547 ...
    at Propel::getConnection('propel', 'read')
    in C:\wamp\www\jobeet\lib\model\om\BaseJobeetJobPeer.php line 315 ...
    at BaseJobeetJobPeer::doSelectStmt(object('Criteria'), null)
    in C:\wamp\www\jobeet\lib\model\om\BaseJobeetJobPeer.php line 297 ...
    at BaseJobeetJobPeer::doSelect(object('Criteria'))
    in SF_ROOT_DIR\apps\frontend\modules\job\actions\actions.class.php line 14 ...
    at jobActions->executeIndex(object('sfWebRequest'))
    in SF_ROOT_DIR\lib\vendor\symfony\lib\action\sfActions.class.php line 60 ...
    at sfActions->execute(object('sfWebRequest'))
    in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfExecutionFilter.class.php line 92 ...
    at sfExecutionFilter->executeAction(object('jobActions'))
    in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfExecutionFilter.class.php line 78 ...
    at sfExecutionFilter->handleAction(object('sfFilterChain'), object('jobActions'))
    in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfExecutionFilter.class.php line 42 ...
    at sfExecutionFilter->execute(object('sfFilterChain'))
    in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfFilterChain.class.php line 53 ...
    at sfFilterChain->execute()
    in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfRenderingFilter.class.php line 33 ...
    at sfRenderingFilter->execute(object('sfFilterChain'))
    in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfFilterChain.class.php line 53 ...
    at sfFilterChain->execute()
    in SF_ROOT_DIR\lib\vendor\symfony\lib\controller\sfController.class.php line 238 ...
    at sfController->forward('job', 'index')
    in SF_ROOT_DIR\lib\vendor\symfony\lib\controller\sfFrontWebController.class.php line 48 ...
    at sfFrontWebController->dispatch()
    in SF_ROOT_DIR\lib\vendor\symfony\lib\util\sfContext.class.php line 170 ...
    at sfContext->dispatch()
    in SF_ROOT_DIR\web\frontend_dev.php line 13 ...

symfony settings ...
request ...
response ...
user ...
global vars ...


On the bright side, at the very least this time around Firefox is showing some error messages, unlike previous time, so hopefully this means we're making a little progress towards a solution somehow.
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by smugford » Sun Jan 05, 2014 9:01 am

Unable to open PDO connection [wrapped: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)]
stack trace

that is a mysql error

root does not have access to the database you are trying to use.

change the access permissions in your mysql database .
User avatar
smugford
Faithful Member
 
Posts: 245
Joined: Sun Nov 29, 2009 8:32 pm

Re: Problem with Jobeet day 3

by GianniErre » Mon Jan 06, 2014 12:43 pm

smugford wrote:Unable to open PDO connection [wrapped: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)]
stack trace

that is a mysql error

root does not have access to the database you are trying to use.

change the access permissions in your mysql database .


Thanks, I'll look into this, thanks for your tip.
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Mon Jan 06, 2014 2:25 pm

By the way, where do you think I should look into in order to fix this issue?

I have tried changing root password for mysql - mysqladmin -u root password 'newpassword' -, and changing accordingly root password inside apps/frontend/config/propel.ini - indeed there was no password set -, but nothing changes.

Besides, another thing that baffles me, when I used Wamp instead of UniServer apparently Symfony was able to access Jobett database, but the layout was wrong, this confuses me.
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Wed Jan 08, 2014 6:14 pm

I've been doing again the troubleshooting procedure from the start, and I have just to think there were indeed some messages I did not pay attention to, somethin along the lines of "PHP stict standards: declaration of Win32FileSystem:compare() should be compatible with filesystem", since they were not clearly marked as errors I did not bother too much but now I tend to think that's the problem.

Doing a quck search apparently it is due to Propel version that should be 1.6 and not 1.4, or otherwise I should enable sfPropelORMPlugin, I'll try to work out one way or the other.
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Thu Jan 09, 2014 5:24 am

OK, to be more specific when I try to launch

symfony propel:build --sql

the following message shows up

Code: Select all
>> propel    Running "sql" phing task
PHP Strict Standards:  Declaration of Win32FileSystem::compare() should be compatible with FileSystem::compare
($f1, $f2) in C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\phing\system\io\Win32FileSystem.php on line 475


In order to fix this I have installed Pear and updated Phing and then Propel to version 1.6 and that should include Propel-ormPlugin - at the very least I hope so, since I launched it via a Composer, but the same error message keeps displaying.
Maybe I should enable sfPropelORMPlugin instead of sfPropelPlugin somewhere in some configuration yml file, but right now it is quite late.

By the way, I am not sure whether PHP strict standards errors are such a big deal, in fact I dare say my biggest problem is probably somewhere else.
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Thu Jan 09, 2014 7:45 pm

Well, I decided eventually to start once again from day 1, and I've been following the procedure, not a single error message this time around I am attaching the log as well - , still I end up with the same table again, with no button, CSS or actions available.

Image



Here's the log of the commands I have launched.

Code: Select all
C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony configure:database "mysql:host=localhost;db
name=jobeet" root mYsEcret

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build --model
>> doctrine  generating model classes
>> file+     C:\Users\MariaMaddalena\AppData...\Temp/doctrine_schema_15386.yml
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...trine/JobeetAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da.../JobeetAffiliateTable.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ctrine/JobeetCategory.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...beetCategoryAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ategoryAffiliateTable.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/JobeetCategoryTable.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...el/doctrine/JobeetJob.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ctrine/JobeetJobTable.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/BaseJobeetAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...se/BaseJobeetCategory.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...beetCategoryAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/base/BaseJobeetJob.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build --sql
>> doctrine  generating model classes
>> file+     C:\Users\MariaMaddalena\AppData...\Temp/doctrine_schema_31027.yml
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/BaseJobeetAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...se/BaseJobeetCategory.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...beetCategoryAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/base/BaseJobeetJob.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> doctrine  generating sql for models
>> dir+      C:\EasyPHP-DevServer-13.1VC9\da...calweb\projects\jobeet\data/sql
>> doctrine  Generated SQL successfully for models

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:insert-sql
>> doctrine  creating tables
>> doctrine  created tables successfully

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build --model
>> doctrine  generating model classes
>> file+     C:\Users\MariaMaddalena\AppData...\Temp/doctrine_schema_61726.yml
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/BaseJobeetAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...se/BaseJobeetCategory.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...beetCategoryAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/base/BaseJobeetJob.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build


  You must include one or more of the following build options:
  --all, --all-classes, --model, --forms, --filters, --sql, --db

  See this task's help page for more information:

    php symfony help doctrine:build



C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build-schema
>> doctrine  generating yaml schema from database
>> doctrine  Generate YAML schema successfully from database

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build --all --no-confirmation
>> doctrine  Dropping "doctrine" database
>> doctrine  Creating "dev" environment "doctrine" database
>> doctrine  generating model classes
>> file+     C:\Users\MariaMaddalena\AppData...\Temp/doctrine_schema_89916.yml
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/BaseJobeetAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...se/BaseJobeetCategory.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...beetCategoryAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/base/BaseJobeetJob.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> doctrine  generating form classes
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...eet/lib/form/BaseForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...seJobeetAffiliateForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...CategoryAffiliateForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...aseJobeetCategoryForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ase/BaseJobeetJobForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...rine/BaseFormDoctrine.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/JobeetAffiliateForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...CategoryAffiliateForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/JobeetCategoryForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...octrine/JobeetJobForm.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> doctrine  generating filter form classes
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...etAffiliateFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ryAffiliateFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...eetCategoryFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...seJobeetJobFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...aseFormFilterDoctrine.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...etAffiliateFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ryAffiliateFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...eetCategoryFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/JobeetJobFormFilter.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> doctrine  generating sql for models
>> doctrine  Generated SQL successfully for models
>> doctrine  creating tables
>> doctrine  created tables successfully

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:data-load
>> doctrine  Loading data fixtures from "C:\...\projects\jobeet\data/fixtures"
>> doctrine  Data was successfully loaded

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build --model
>> doctrine  generating model classes
>> file+     C:\Users\MariaMaddalena\AppData...\Temp/doctrine_schema_52463.yml
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/BaseJobeetAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...se/BaseJobeetCategory.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...beetCategoryAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/base/BaseJobeetJob.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build --sql
>> doctrine  generating model classes
>> file+     C:\Users\MariaMaddalena\AppData...\Temp/doctrine_schema_65985.yml
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/BaseJobeetAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...se/BaseJobeetCategory.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...beetCategoryAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/base/BaseJobeetJob.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> doctrine  generating sql for models
>> doctrine  Generated SQL successfully for models

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:insert-sql
>> doctrine  creating tables
>> doctrine  created tables successfully

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony help doctrine:insert-sql
Usage:
 symfony doctrine:insert-sql [--application[="..."]] [--env="..."]

Options:
 --application  The application name (default: 1)
 --env          The environment (default: dev)

Description:
 The doctrine:insert-sql task creates database tables:

   ./symfony doctrine:insert-sql

 The task connects to the database and creates tables for all the
 lib/model/doctrine/*.class.php files.



C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build --model
>> doctrine  generating model classes
>> file+     C:\Users\MariaMaddalena\AppData...\Temp/doctrine_schema_23399.yml
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/BaseJobeetAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...se/BaseJobeetCategory.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...beetCategoryAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/base/BaseJobeetJob.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:data-load
>> doctrine  Loading data fixtures from "C:\...\projects\jobeet\data/fixtures"
>> doctrine  Data was successfully loaded

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:generate-module --with-show --non-
verbose-templates frontend job JobeetJob
>> dir+      C:\EasyPHP-DevServer-13.1VC9\da...ps\frontend\modules/job\actions
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...s/job\actions/actions.class.php
>> dir+      C:\EasyPHP-DevServer-13.1VC9\da...\frontend\modules/job\templates
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...s/job\templates/editSuccess.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da.../job\templates/indexSuccess.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...es/job\templates/newSuccess.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...s/job\templates/showSuccess.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...modules/job\templates/_form.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/actions/actions.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/templates/editSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da.../job/templates/indexSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...es/job/templates/newSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/templates/showSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...modules/job/templates/_form.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/actions/actions.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/templates/editSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da.../job/templates/indexSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...es/job/templates/newSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/templates/showSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...modules/job/templates/_form.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...nal\frontend\jobActionsTest.php
>> tokens    C:\EasyPHP-DevServer-13.1VC9\da...nal\frontend\jobActionsTest.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...5af/autoJob/templates/_form.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...toJob/templates/showSuccess.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...utoJob/templates/newSuccess.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...oJob/templates/indexSuccess.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...toJob/templates/editSuccess.php
>> dir-      C:/EasyPHP-DevServer-13.1VC9/da...eceb7ac6255af/autoJob/templates
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...toJob/actions/actions.class.php
>> dir-      C:/EasyPHP-DevServer-13.1VC9/da...97eceb7ac6255af/autoJob/actions
>> dir-      C:/EasyPHP-DevServer-13.1VC9/da...a3f9919d97eceb7ac6255af/autoJob

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:build --all --and-load

  This command will remove all data in the following "dev" connection(s):

   - doctrine

  Are you sure you want to proceed? (y/N)

y
>> doctrine  Dropping "doctrine" database
>> doctrine  Creating "dev" environment "doctrine" database
>> doctrine  generating model classes
>> file+     C:\Users\MariaMaddalena\AppData...\Temp/doctrine_schema_86485.yml
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/BaseJobeetAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...se/BaseJobeetCategory.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...beetCategoryAffiliate.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/base/BaseJobeetJob.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> doctrine  generating form classes
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...eet/lib/form/BaseForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...seJobeetAffiliateForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...CategoryAffiliateForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...aseJobeetCategoryForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ase/BaseJobeetJobForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...rine/BaseFormDoctrine.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/JobeetAffiliateForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...CategoryAffiliateForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ne/JobeetCategoryForm.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...octrine/JobeetJobForm.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> doctrine  generating filter form classes
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...etAffiliateFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ryAffiliateFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...eetCategoryFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...seJobeetJobFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...aseFormFilterDoctrine.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...etAffiliateFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...ryAffiliateFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...eetCategoryFormFilter.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...e/JobeetJobFormFilter.class.php
>> autoload  Resetting application autoloaders
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> doctrine  generating sql for models
>> doctrine  Generated SQL successfully for models
>> doctrine  creating tables
>> doctrine  created tables successfully
>> doctrine  Loading data fixtures from "C:\...\projects\jobeet\data/fixtures"
>> doctrine  Data was successfully loaded

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony cc
>> cache     Clearing cache type "all" for "frontend" app and "dev" env
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...obeet\data/frontend_dev-cli.lck
>> chmod 777 C:\EasyPHP-DevServer-13.1VC9\da...obeet\data/frontend_dev-cli.lck
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...modules_job_config_view.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...les_job_config_security.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...dules_job_config_module.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...ules_job_config_filters.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...les_default_config_view.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...default_config_security.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...s_default_config_module.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da..._default_config_filters.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_settings.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...v/config/config_routing.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...config/config_factories.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...config/config_databases.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config_config_handlers.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_autoload.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...d/dev/config/config_app.yml.php
>> file-     C:\EasyPHP-DevServer-13.1VC9\da...obeet\data/frontend_dev-cli.lck
>> cache     Clearing cache type "all" for "frontend" app and "prod" env
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...beet\data/frontend_prod-cli.lck
>> chmod 777 C:\EasyPHP-DevServer-13.1VC9\da...beet\data/frontend_prod-cli.lck
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...les_default_config_view.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...default_config_security.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...s_default_config_module.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da..._default_config_filters.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config/config_settings.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...d/config/config_routing.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...config/config_factories.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...config/config_databases.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...fig/config_core_compile.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../config_config_handlers.yml.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da.../prod/config/config_app.yml.php
>> file-     C:\EasyPHP-DevServer-13.1VC9\da...beet\data/frontend_prod-cli.lck

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>

C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony doctrine:generate-module frontend job JobeetJob
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...s/job\actions/actions.class.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...s/job\templates/editSuccess.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da.../job\templates/indexSuccess.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...es/job\templates/newSuccess.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...s/job\templates/showSuccess.php
>> file+     C:\EasyPHP-DevServer-13.1VC9\da...modules/job\templates/_form.php
>> file-     C:\EasyPHP-DevServer-13.1VC9\da...s/job/templates/showSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/actions/actions.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/templates/editSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da.../job/templates/indexSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...es/job/templates/newSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...modules/job/templates/_form.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/actions/actions.class.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...s/job/templates/editSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da.../job/templates/indexSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...es/job/templates/newSuccess.php
>> tokens    C:/EasyPHP-DevServer-13.1VC9/da...modules/job/templates/_form.php
>> tokens    C:\EasyPHP-DevServer-13.1VC9\da...nal\frontend\jobActionsTest.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...2af/autoJob/templates/_form.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...toJob/templates/showSuccess.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...utoJob/templates/newSuccess.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...oJob/templates/indexSuccess.php
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...toJob/templates/editSuccess.php
>> dir-      C:/EasyPHP-DevServer-13.1VC9/da...05d05d75562af/autoJob/templates
>> file-     C:/EasyPHP-DevServer-13.1VC9/da...toJob/actions/actions.class.php
>> dir-      C:/EasyPHP-DevServer-13.1VC9/da...fa05d05d75562af/autoJob/actions
>> dir-      C:/EasyPHP-DevServer-13.1VC9/da...24d4850cfa05d05d75562af/autoJob


For some reason, if I write down manually frontend_dev.php/job/new within the address bar I get the screenshot I'm attaching down below, whereas if I try doing the same thing with edit/create/update I get a 404 error message.

Image

I must have skipped some passage, maybe it is somehow related to the fact I had to manually create a web/uploads/jobs directory - the one where I was supposed to put extreme-sensio-gif and sensio-labs.gif - as I had none.
I've been reading all the passages more than once and apparently I had launched successfully all symfony command lines and the modules are there in apps/frontend/job/modules where they ought to.

Have you got any idea what should I do?
is there something I should check in my configuration files?
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Sat Jan 11, 2014 2:22 am

This evening I have tried to recap what I have done step by step in day 3, so that someone more savvy than me could check it and hopefully point out any misstep of mine.

1) Copy and paste config/schema.yml (it's not possible at this stage for Propel to generate a schema as the database has been not configurated yet still I prefer to keep the order given in the tutorial)

2) mysqladmin -uroot -p create jobeet
insert password mYsEcret

3) php symfony configure:database "mysql:host=localhost;dbname=jobeet" root mYsEcret

4) php symfony propel:build --sql

5) php symfony propel:insert-sql

6) php symfony propel:build --model

7) php symfony propel:build --all --no-confirmation

8) copy and paste some data in data/fixtures

9) php symfony data-load

10) php symfony propel:generate-module --with-show --non-verbose-templates --frontend job JobeetJob

Well while I was doing again the same passages - I had to start again from scratch - and writing them down, I have found something wrong with my procedure, that is I previously copied and pasted the fixtures data in fixtures.yml and not in 010_categories.yml and 020_jobs.yml.

Do you think that's it, that once I should fix this everything would work fine?

Anyway, upon this finding I have tried another time to start again from day 1 and I was hardly containing my enthusiasm and anticipation for a positive outcome, but in the meantime some error messages brang me again to earth.

I recall that just yesterday in order to fix some strict php syntax errors I had to install ORMPlugin and update Propel to version 1.6, and now that I have had to install symfony from scratch it was all gone and I can't recall what was the tricky procedure that I followed to do so - I recall that I had to use Composer and install Pear and Phing -, besides when i try to launch

Code: Select all
symfony propel:data-load


that is to load the data I pasted into aforementioned 010categories.yml and 020_jobs.yml, I get this error message

Code: Select all
C:\EasyPHP-DevServer-13.1VC9\data\localweb\projects\jobeet>symfony propel:data-load
>> propel    load data from "C:\EasyPHP-DevS...\projects\jobeet\data/fixtures"

  Unknown class "JobeetJobPeer".


Today I have worked long on this project, now it is late so I think it is better to sleep on it, but tomorrow I plan to restart again from day 1, making sure to configure Symfony with Propel 1.6 and to include sfpropelormplugin, I hope to be nearing the solution.
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Sat Jan 11, 2014 1:53 pm

This morning I have started three times jobeet from day 1, but when I try and create database I get this

Code: Select all
mysqladmin: CREATE DATABASE failed; error: 'Can't create database 'jobeet'; database exists'


Since I have to start from scratch and already created database might be fawlty , I tried deleting a the content of this folder inside my server binaries/mysql/data/mysql but now EasyPHP didn't boot anymore.

Now I have tried putting everything back in place and now I can't see anymore the localhost splash screen that has worked until 5 minutes ago, and I can't get it back...

Now I don't want to uninstall EasyPHP as I had configured it properly, with apc accelerator, Pear, Phing and all...

:mebangingmyheadagainstthewall:
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Sat Jan 11, 2014 4:45 pm

since my last message, I have done a ton of things - well basically redoing all the same stuff all over again but experiencing new error messages every time - but something puzzles me right now.

Eventually had to resort to install Wamp as I could not clear my EasyPHP database and creating a new project with a different name - namely jobeet2 - didn't work, so I installed PAC accelerator, installed Pear, changed environment variables etc but now, when I try to execute

Code: Select all
chmod 777 cache/ log


it says that it is not a Windows command.

What?!
I have already used this same command dozens of times this month, the cmd prompt just went to a new line without any message on screen so I have always assumed it worked...
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Sat Jan 11, 2014 6:00 pm

OK,a little update here.

I was able somehow to install properly Wamp and create a clean version of Jobeet, this time around pasting fixtures as detailed in the tutorial inside 010_categories.yml and 020_jobs.yml, but I still end up with the same screen with no actions, no stylesheets, no buttons.

I have checked the log of my command lines and there is not a single error as I had configured PropelORMPlugin, the only thing I am not too sure is the command symfony propel:create --schema , in the tutorial it doesn't explicitly say that I should launch the command, it only mentions it once saying that it doen't work until database is configured, but after that it is not mentioned again; all previous times I launched it, this time around I skipped it does not make a difference fom what I see.

I am starting to feel a little discouraged :(
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by smugford » Mon Jan 13, 2014 12:04 am

Learn Linux my friend. Symfony 2 is way better than Symfony 1 on windows but it is a very disheartening experience.

If you can't afford another box or don't want to get another one do a search for WUBI which will allow you to dual boot into windows and ubuntu.

if you are learning symfony 1 to then go on to symfony 2. DON'T they are completely different things.

Symfony 1.x was a glue of different projects that they put into a package called symfony 1.x

Symfony 2 is COMPLETELY different from Symfony 1. Symfony 2 is a complete rebuild from scratch base on what they learned developing symfony 1.

Do a search on Youtube for "Symfony 2" tutorials.

http://www.youtube.com/watch?v=BRaIcc_0mtU
is a excellent symfony 1.4 tutorial that I wish I watched first.

http://www.knpuniversity.com is an excellent resource for learning php and symfony 2

I've been through all the stuff on windows and it's just not worth bashing your head against the wall. There is a reason that you see a lot of macs at the symfony conferences. And if they are on laptops my guess is 99.9 % have linux on them.
User avatar
smugford
Faithful Member
 
Posts: 245
Joined: Sun Nov 29, 2009 8:32 pm

Re: Problem with Jobeet day 3

by GianniErre » Mon Jan 13, 2014 1:26 pm

smugford wrote:Learn Linux my friend. Symfony 2 is way better than Symfony 1 on windows but it is a very disheartening experience.


I know, mate, I am quite aware that Linux is by far the best choice for whoever feels like programming and incidentally I started practicing it back in the day, for a start you don't have to configure PHP as it is natively supported - along with other programming languages such as C++ as well - and Linux shell is powerful and flexible, but that being said, this is my mother's laptop I'm working on, and at the moment I don't plan on buying another PC/laptop * I am pretty much skint right now :D*

If you can't afford another box or don't want to get another one do a search for WUBI which will allow you to dual boot into windows and ubuntu.


Fact is on this laptop there is Windows 8 preinstalled - they didn't even provide a installation DVD, it is all "in the cloud" now - and apparently they made it quite difficult to do dual boots - I did this kind of stuff several times on my old PC and it was quite easy to create a partition with PartitionMagic - , besides it's my mother's laptop and not mine own, she only let me work on it, that's why I have never considered trying trying this out, although I have always been myself a Linux supporter and enthusiast.

Indeed when my mother and I went into the electronic shop to purchase a laptop, I asked the salesperson whether they had something with Linux on, response was no :(
This being said, to be fair I must own that Windows 8.1 is better than 8.0 that is quite a huge leap from Windows XP and surprisingly much better than how I was expecting.

if you are learning symfony 1 to then go on to symfony 2. DON'T they are completely different things.

Symfony 1.x was a glue of different projects that they put into a package called symfony 1.x

Symfony 2 is COMPLETELY different from Symfony 1. Symfony 2 is a complete rebuild from scratch base on what they learned developing symfony 1.

Do a search on Youtube for "Symfony 2" tutorials.


Yeah, since I've given up making this work with Symfony 1.4.20, I searched whether there was any Jobeet tutorial using Symfony 2.0, and I came across a copule of websites, one of those listing as a contributor Fabrice Potencier himself.

http://www.ens.ro/2012/03/21/jobeet-tutorial-with-symfony2/
https://connect.sensiolabs.com/profile/isidromerayo/project/symfony2-jobeet

Unfortunately they list commands only for Linux, no mention of alternative walkthrough for Windows users, still I will make do the best I can.


http://www.youtube.com/watch?v=BRaIcc_0mtU
is a excellent symfony 1.4 tutorial that I wish I watched first.


I somehow missed this, I'll check it out right now.

http://www.knpuniversity.com is an excellent resource for learning php and symfony 2


I'm going to bookmark this, thank you!
edit: their courses are quite expensive...

I've been through all the stuff on windows and it's just not worth bashing your head against the wall. There is a reason that you see a lot of macs at the symfony conferences. And if they are on laptops my guess is 99.9 % have linux on them.


Yeah, I know, you're preaching to the converted here though.
I have been convinced that there were just a few points where Windows was a better choice than Linux.

1) Office is more polished than OpenOffice - I use OpenOffice as it is free and open source and quite enough for my needs whenever I have to write a document or do a calc sheet, I see OpenOffice improving but I reckon Windows Office is in the lead overall.

2) Professional licensed programs such as Photoshop - I use Gimp but in my experience Photoshop is way better -, Illustrator, video editing and 3D graphics programs, they do not comply with open source philosophy and that has prevented them to land on Linux platforms, this is somehow changing now for all I know, maybe thanks to Ubuntu - I heard a version of Photoshop was on the works, it may be out already now.

3) Videogames: as a matter of fact Windows has been detaining the monopoly of PC videogame marketshare, and that is not something to overlook as there are many million people playing videogames on their PC and Linux has been just not a viable solution for them - not unless a dual-boot solution of course -, hopefully this is going to change soon with Steam/Valve heavily supporting Linux - they have their own OS now - SteamOS - based on Linux.
Le'ts wait and see how this will evolve.

4) User friendliness
Linux back in the day was not as much easy to approach when compared to Windows and users may have been put off having to deal with tricky shell command lines such as tar -xzvf just to unpack an archive - this has changed also thanks to RedHat, Mandrake and of recently the commercial success of Ubuntu.
Incidentally as I was struggling trying and configure Symfony through Git, Pear etc., I thought that old-school Linux users must have felt at home :D

So yes, I reckon Linux may foresee its popularity raise in the next few years and I hope so.

Thanks again for your tips, I really appreciate that and I'm going to try them out.
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by GianniErre » Mon Jan 13, 2014 5:18 pm

On the bright side I've been learning a lot of things the hard way, since my last reply a few hours ago I've been dealing with an infinite series of errors, I could not make work my jobeet none of my local servers anymore :facepalm: - I could not even see my localhost main page, and I tried Uniserver, EasyPHP and XAMPP - then I tried to clear symfony cache and it worked, but then again since I had changed my virtual server I have to redo again database generation - just copying and pasting jobeet folder around doe not work - , besides change environment variables, install pear and phing...

Sometimes doing this stuff may be a little frustrating, but those moments when something works fine after you've worked on it are quite rewarding :D~:-D~:grin:
User avatar
GianniErre
Junior Member
 
Posts: 26
Joined: Sun Nov 24, 2013 5:42 pm

Re: Problem with Jobeet day 3

by smugford » Tue Jan 14, 2014 11:19 am

Windows 8 will Run Java, Which will run Virtual Box i'm sure.

and it's not an either or thing with Window and Linux.

I use both Linux AND Windows. Don't get stuck in Windows is better for this or Linux is better for that. A computer is a tool and make your decision on what tool is best for the task at hand.

Linux is Free and there are dozens of distributions you can choose from. Fedora, CentOS, Ubuntu... Just search linux distributions in google. There reason they don't sell them at the store is because they are free. You need to download it and install it on any machine you like. I run linux on a 10 year old laptop that isn't good for anything anymore except being a server.

The GUI in linux has changed dramatically from what you are talking about but it is much closer too Windows and Mac now and since it's a free operating system you can play with it until you're blue in the face.
User avatar
smugford
Faithful Member
 
Posts: 245
Joined: Sun Nov 29, 2009 8:32 pm