▼

# Fatal Error

Call to undefined method VoteManager::createProduct()

## Source file ▼

File: /domains1/do1820800/public/www_root/liveclass/app/presenters/HomepagePresenter.php Line: 29

    Line 22:        }
    Line 23:
    Line 24:        public function renderVote() {
    Line 25:            $vote = new Vote();
    Line 26:            $vote->user = $this->getParam('uzivatel');
    Line 27:            $vote->vote = $this->getParam('hlas');
    Line 28:            $vote->message = $this->getParam('sprava');
    Line 29:            $this->model->createProduct($vote);
    Line 30:        }
    Line 31:
    Line 32:        public function getModel() {
    Line 33:            if (!isset($this->voteManager)) $this->voteManager = new VoteManager;
    Line 34:            return $this->voteManager;
    Line 35:        }
    Line 36:    }

## Call stack ▼

1. <PHP inner-code> Debug:: _shutdownHandler ()

## Nette Application ►

### Requests

    array(1) ▼ [
       0 => PresenterRequest(7) ► {
          "method" private => "GET" (3)
          "flags" private => array(1) ▼ {
             "secured" => FALSE
          }
          "name" private => "Homepage" (8)
          "params" private => array(4) ▼ {
             "uzivatel" => "uzivatel" (8)
             "hlas" => "0"
             "sprava" => "sprava" (6)
             "action" => "vote" (4)
          }
          "post" private => array(0)
          "files" private => array(0)
          "frozen" private => TRUE
       }
    ]

### Presenter

    HomepagePresenter(30) ► {
       "voteManager" private => VoteManager(0)
       "oldLayoutMode" => FALSE
       "onShutdown" => NULL
       "oldModuleMode" => TRUE
       "request" private => PresenterRequest(7) ► {
          "method" private => "GET" (3)
          "flags" private => array(1) ▼ {
             "secured" => FALSE
          }
          "name" private => "Homepage" (8)
          "params" private => array(4) ▼ {
             "uzivatel" => "uzivatel" (8)
             "hlas" => "0"
             "sprava" => "sprava" (6)
             "action" => "vote" (4)
          }
          "post" private => array(0)
          "files" private => array(0)
          "frozen" private => TRUE
       }
       "response" private => NULL
       "phase" private => 4
       "autoCanonicalize" => TRUE
       "absoluteUrls" => FALSE
       "globalParams" private => array(0)
       "globalState" private => NULL
       "globalStateSinces" private => array(0)
       "action" private => "vote" (4)
       "view" private => "vote" (4)
       "layout" private => NULL
       "payload" private => stdClass(0)
       "signalReceiver" private => ""
       "signal" private => NULL
       "ajaxMode" private => FALSE
       "startupCheck" private => TRUE
       "lastCreatedRequest" private => PresenterRequest(7) ► {
          "method" private => "FORWARD" (7)
          "flags" private => array(0)
          "name" private => "Homepage" (8)
          "params" private => array(4) ▼ {
             "uzivatel" => "uzivatel" (8)
             "hlas" => "0"
             "sprava" => "sprava" (6)
             "action" => "vote" (4)
          }
          "post" private => array(0)
          "files" private => array(0)
          "frozen" private => FALSE
       }
       "lastCreatedRequestFlag" private => array(1) ▼ {
          "current" => TRUE
       }
       "template" private => NULL
       "invalidSnippets" private => array(0)
       "params" protected => array(4) ▼ {
          "uzivatel" => "uzivatel" (8)
          "hlas" => "0"
          "sprava" => "sprava" (6)
          "action" => "vote" (4)
       }
       "components" private => array(0)
       "cloning" private => NULL
       "parent" private => NULL
       "name" private => "Homepage" (8)
       "monitors" private => array(1) ▼ {
          "Presenter" => array(4) ▼ [
             0 => NULL
             1 => NULL
             2 => NULL
             3 => TRUE
          ]
       }
    }

## Environment ►

### Constants ▼

WWW_DIR |
    "/domains1/do1820800/public/www_root/liveclass/web" (49)
APP_DIR |
    "/domains1/do1820800/public/www_root/liveclass/web/../app" (56)
LIBS_DIR |
    "/domains1/do1820800/public/www_root/liveclass/web/../libs" (57)
NETTE |
    TRUE
NETTE_DIR |
    "/domains1/do1820800/public/www_root/liveclass/libs/Nette" (56)
NETTE_VERSION_ID |
    907
NETTE_PACKAGE |
    "PHP 5.2" (7)
E_DEPRECATED |
    8192
E_USER_DEPRECATED |
    16384

### Included files ►(71)

/domains1/do1820800/public/www_root/liveclass/web/index.php
/domains1/do1820800/public/www_root/liveclass/app/bootstrap.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/loader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/shortcuts.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/exceptions.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Framework.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Object.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/ObjectMixin.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Callback.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Loaders/LimitedScope.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Loaders/AutoLoader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Loaders/NetteLoader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Debug/Debug.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Environment/Environment.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Environment/Configurator.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Config/Config.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/Hashtable.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/Collection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/ICollection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/IMap.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Config/ConfigAdapterIni.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Config/IConfigAdapter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Tools.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/ArrayTools.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Environment/ServiceLocator.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Environment/IServiceLocator.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Loaders/RobotLoader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Caching/Cache.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Caching/FileStorage.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Caching/ICacheStorage.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Application.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Routers/MultiRouter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/ArrayList.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/IList.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IRouter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Routers/Route.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/HttpRequest.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/IHttpRequest.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/HttpResponse.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/IHttpResponse.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/UriScript.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/Uri.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/FreezableObject.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/String.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/Session.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Reflection/ClassReflection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Reflection/PropertyReflection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/PresenterRequest.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/PresenterLoader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IPresenterLoader.php
/domains1/do1820800/public/www_root/liveclass/app/presenters/HomepagePresenter.php
/domains1/do1820800/public/www_root/liveclass/app/presenters/BasePresenter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Presenter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Control.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/PresenterComponent.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/ComponentModel/ComponentContainer.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/ComponentModel/Component.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/ComponentModel/IComponent.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/ComponentModel/IComponentContainer.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/ISignalReceiver.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IStatePersistent.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IRenderable.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IPresenter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/PresenterComponentReflection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Reflection/AnnotationsParser.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Iterators/InstanceFilterIterator.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Reflection/MethodReflection.php
/domains1/do1820800/public/www_root/liveclass/app/models/Vote.php
/domains1/do1820800/public/www_root/liveclass/libs/dibi/dibi.min.php
/domains1/do1820800/public/www_root/liveclass/app/models/VoteManager.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Debug/templates/bluescreen.phtml

### $_SERVER

REDIRECT_SCRIPT_URL |
    "/liveclass/web/vote/uzivatel/0/sprava" (37)
REDIRECT_SCRIPT_URI |
    "http://nissantn.sk/liveclass/web/vote/uzivatel/0/sprava" (55)
REDIRECT_STATUS |
    "200" (3)
SCRIPT_URL |
    "/liveclass/web/vote/uzivatel/0/sprava" (37)
SCRIPT_URI |
    "http://nissantn.sk/liveclass/web/vote/uzivatel/0/sprava" (55)
HTTP_HOST |
    "nissantn.sk" (11)
HTTP_CONNECTION |
    "keep-alive" (10)
HTTP_ACCEPT |
    "application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" (90)
HTTP_USER_AGENT |
    "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12" (117)
HTTP_ACCEPT_ENCODING |
    "gzip,deflate,sdch" (17)
HTTP_ACCEPT_LANGUAGE |
    "en-US,en;q=0.8" (14)
HTTP_ACCEPT_CHARSET |
    "UTF-8,*;q=0.5" (13)
HTTP_COOKIE |
    "__utmz=123634452.1288865594.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=123634452.511271069.1288865594.1289686388.1289815751.8; __utmc=1 ... " (158)
PATH |
    "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin" (90)
SERVER_SIGNATURE |
    ""
SERVER_SOFTWARE |
    "Apache" (6)
SERVER_NAME |
    "nissantn.sk" (11)
SERVER_ADDR |
    "82.208.46.226" (13)
SERVER_PORT |
    "80" (2)
REMOTE_ADDR |
    "193.84.36.129" (13)
DOCUMENT_ROOT |
    "/domains/nissantn.sk/public/www_root" (36)
SERVER_ADMIN |
    "webmaster@nissantn.sk" (21)
SCRIPT_FILENAME |
    "/domains/nissantn.sk/public/www_root/liveclass/web/index.php" (60)
REMOTE_PORT |
    "11370" (5)
REDIRECT_URL |
    "/liveclass/web/vote/uzivatel/0/sprava" (37)
GATEWAY_INTERFACE |
    "CGI/1.1" (7)
SERVER_PROTOCOL |
    "HTTP/1.1" (8)
REQUEST_METHOD |
    "GET" (3)
QUERY_STRING |
    ""
REQUEST_URI |
    "/liveclass/web/vote/uzivatel/0/sprava" (37)
SCRIPT_NAME |
    "/liveclass/web/index.php" (24)
PHP_SELF |
    "/liveclass/web/index.php" (24)
REQUEST_TIME |
    1289819760

## HTTP request ►

### Headers

Host | nissantn.sk
Connection | keep-alive
Accept | application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12
Accept-Encoding | gzip,deflate,sdch
Accept-Language | en-US,en;q=0.8
Accept-Charset | UTF-8,*;q=0.5
Cookie | __utmz=123634452.1288865594.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=123634452.511271069.1288865594.1289686388.1289815751.8; __utmc=123634452

### $_GET

empty

### $_POST

empty

### $_COOKIE

__utmz |
    "123634452.1288865594.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)" (70)
__utma |
    "123634452.511271069.1288865594.1289686388.1289815751.8" (54)
__utmc |
    "123634452" (9)

## HTTP response ►

### Headers

    X-Powered-By: Nette Framework

- Report generated at 2010/11/15 12:16:00
- http://nissantn.sk/liveclass/web/vote/uzivatel/0/sprava
- PHP 5.2.11
- Apache
- Nette Framework 0.9.7 (revision efc28d2 released on 2010-11-11)