500 | Internal Server Error | InvalidArgumentException
The "/:name_url.html" route has some missing mandatory parameters (:name_url).
stack trace
- at ()
in SF_ROOT_DIR/lib/vendor/symfony/lib/routing/sfRoute.class.php line 224 ...
- // all params must be given
- if ($diff = array_diff_key($this->variables, $tparams))
- {
- throw new InvalidArgumentException(sprintf('The "%s" route has some missing mandatory parameters (%s).', $this->pattern, implode(', ', $diff)));
- }
- if ($this->options['generate_shortest_url'] || $this->customToken)
- at sfRoute->generate()
in SF_ROOT_DIR/lib/vendor/symfony/lib/routing/sfPatternRouting.class.php line 327 ...
- }
- }
- $url = $route->generate($params, $this->options['context'], $absolute);
- // store in cache
- if (null !== $this->cache)
- at sfPatternRouting->generate()
in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfWebController.class.php line 74 ...
- }
- // routing to generate path
- $url = $this->context->getRouting()->generate($route, $parameters, $absolute);
- if ($fragment)
- {
- at sfWebController->genUrl()
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/UrlHelper.php line 100 ...
- */
- function url_for1($internal_uri, $absolute = false)
- {
- return sfContext::getInstance()->getController()->genUrl($internal_uri, $absolute);
- }
- /**
- at url_for1()
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/UrlHelper.php line 127 ...
- $arguments = func_get_args();
- if (is_array($arguments[0]) || '@' == substr($arguments[0], 0, 1) || false !== strpos($arguments[0], '/'))
- {
- return call_user_func_array('url_for1', $arguments);
- }
- else
- {
- at url_for()
in SF_ROOT_DIR/apps/page/modules/plugin/templates/_cms.php line 2 ...
-
<?php foreach ($cmss as $cms): ?>
- <li><a href="<?php echo url_for($cms['href']) ?>" class="<?php echo $cms['class'] ?>"><?php echo $cms['name'] ?></a></li>
- <?php endforeach; ?>
-
- at require('/var/www/vhosts/poloonlineshop.com/httpdocs/apps/page/modules/plugin/templates/_cms.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 75 ...
- try
- {
- require($_sfFile);
- }
- catch (Exception $e)
- {
- at sfPHPView->renderFile()
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPartialView.class.php line 124 ...
- $this->getAttributeHolder()->set('sf_type', 'partial');
- // render template
- $retval = $this->renderFile($this->getDirectory().'/'.$this->getTemplate());
- }
- catch (Exception $e)
- {
- at sfPartialView->render()
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/PartialHelper.php line 157 ...
- // render
- $view->getAttributeHolder()->add($allVars);
- return $view->render();
- }
- }
- at get_component()
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/PartialHelper.php line 115 ...
- */
- function include_component($moduleName, $componentName, $vars = array())
- {
- echo get_component($moduleName, $componentName, $vars);
- }
- /**
- at include_component()
in SF_ROOT_DIR/web/themes/poloonlineshop2017/template/navbarmenu.php line 8 ...
- <!--<a href="--><?php //echo url_for('/sale/products-list.html') ?><!--"><img src="/images/3127603.jpg" style="width: 100%;margin: 0 auto;display: block;margin-bottom: 25px;"></a>-->
- <ul>
- <?php include_component('plugin', 'cms') ?>
- </ul>
- <a href="http://www.freepik.com" style="color: #ffffff;">Designed by Freepik</a>
- at require_once('/var/www/vhosts/poloonlineshop.com/httpdocs/web/themes/poloonlineshop2017/template/navbarmenu.php')
in SF_ROOT_DIR/apps/page/modules/plugin/templates/_navbarmenu.php line 1 ...
-
<?php require_once sfConfig::get('sf_web_dir').'/themes/'.sfConfig::get('bpshop_themes_name').'/template/navbarmenu.php' ?>
- at require('/var/www/vhosts/poloonlineshop.com/httpdocs/apps/page/modules/plugin/templates/_navbarmenu.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 75 ...
- try
- {
- require($_sfFile);
- }
- catch (Exception $e)
- {
- at sfPHPView->renderFile()
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPartialView.class.php line 124 ...
- $this->getAttributeHolder()->set('sf_type', 'partial');
- // render template
- $retval = $this->renderFile($this->getDirectory().'/'.$this->getTemplate());
- }
- catch (Exception $e)
- {
- at sfPartialView->render()
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/PartialHelper.php line 157 ...
- // render
- $view->getAttributeHolder()->add($allVars);
- return $view->render();
- }
- }
- at get_component()
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/PartialHelper.php line 115 ...
- */
- function include_component($moduleName, $componentName, $vars = array())
- {
- echo get_component($moduleName, $componentName, $vars);
- }
- /**
- at include_component()
in SF_ROOT_DIR/web/themes/poloonlineshop2017/template/layout.php line 54 ...
- </form>
- </div>
- <div class="page-menu">
- <?php include_component('plugin', 'navbarmenu') ?>
- </div>
- <div class="social"></div>
- </div>
- at require_once('/var/www/vhosts/poloonlineshop.com/httpdocs/web/themes/poloonlineshop2017/template/layout.php')
in SF_ROOT_DIR/apps/page/modules/home/templates/_layout.php line 1 ...
-
<?php require_once sfConfig::get('sf_web_dir').'/themes/'.sfConfig::get('bpshop_themes_name').'/template/layout.php' ?>
- at require('/var/www/vhosts/poloonlineshop.com/httpdocs/apps/page/modules/home/templates/_layout.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 75 ...
- try
- {
- require($_sfFile);
- }
- catch (Exception $e)
- {
- at sfPHPView->renderFile()
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPartialView.class.php line 124 ...
- $this->getAttributeHolder()->set('sf_type', 'partial');
- // render template
- $retval = $this->renderFile($this->getDirectory().'/'.$this->getTemplate());
- }
- catch (Exception $e)
- {
- at sfPartialView->render()
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/PartialHelper.php line 157 ...
- // render
- $view->getAttributeHolder()->add($allVars);
- return $view->render();
- }
- }
- at get_component()
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/PartialHelper.php line 115 ...
- */
- function include_component($moduleName, $componentName, $vars = array())
- {
- echo get_component($moduleName, $componentName, $vars);
- }
- /**
- at include_component()
in SF_ROOT_DIR/apps/page/templates/layout.php line 1 ...
-
<?php include_component('home', 'layout', array('sf_content' => $sf_content)) ?>
- at require('/var/www/vhosts/poloonlineshop.com/httpdocs/apps/page/templates/layout.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 75 ...
- try
- {
- require($_sfFile);
- }
- catch (Exception $e)
- {
- at sfPHPView->renderFile()
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 146 ...
- }
- // render the decorator template and return the result
- $ret = $this->renderFile($this->getDecoratorDirectory().'/'.$this->getDecoratorTemplate());
- $this->attributeHolder = $attributeHolder;
- at sfPHPView->decorate()
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 196 ...
- // now render decorator template, if one exists
- if ($this->isDecorator())
- {
- $content = $this->decorate($content);
- }
- return $content;
- at sfPHPView->render()
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 155 ...
- break;
- case sfView::RENDER_CLIENT:
- $viewData = $view->render();
- $this->context->getResponse()->setContent($viewData);
- break;
- at sfExecutionFilter->executeView()
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 116 ...
- return;
- }
- $this->executeView($actionInstance->getModuleName(), $actionInstance->getActionName(), $viewName, $actionInstance->getVarHolder()->getAll());
- }
- /**
- at sfExecutionFilter->handleView()
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 54 ...
- else
- {
- $viewName = $this->handleAction($filterChain, $actionInstance);
- $this->handleView($filterChain, $actionInstance, $viewName);
- }
- }
- at sfExecutionFilter->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfRenderingFilter.class.php line 33 ...
- public function execute($filterChain)
- {
- // execute next filter
- $filterChain->execute();
- // get response object
- $response = $this->context->getResponse();
- at sfRenderingFilter->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfController.class.php line 238 ...
- }
- // process the filter chain
- $filterChain->execute();
- }
- else
- {
- at sfController->forward()
in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfFrontWebController.class.php line 48 ...
- }
- // make the first request
- $this->forward($moduleName, $actionName);
- }
- catch (sfException $e)
- {
- at sfFrontWebController->dispatch()
in SF_ROOT_DIR/lib/vendor/symfony/lib/util/sfContext.class.php line 170 ...
- */
- public function dispatch()
- {
- $this->getController()->dispatch();
- }
- /**
- at sfContext->dispatch()
in SF_ROOT_DIR/web/index.php line 35 ...
- define('LANG_'.strtoupper($bpcms_lang_text->getTextName()), $bpcms_lang_text->getLangTextValue());
- }
- $context->dispatch();
-
symfony settings ...
bpshop_custom_script_body_bottom: "<script>\r\n (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\r\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\r\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\r\n })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');\r\n\r\n ga('create', 'UA-74367598-1', 'auto');\r\n ga('send', 'pageview');\r\n\r\n</script>\r\n\r\n<!-- Load Facebook SDK for JavaScript -->\r\n <div id=\"fb-root\"></div>\r\n <script>\r\n window.fbAsyncInit = function() {\r\n FB.init({\r\n xfbml : true,\r\n version : 'v7.0'\r\n });\r\n };\r\n\r\n (function(d, s, id) {\r\n var js, fjs = d.getElementsByTagName(s)[0];\r\n if (d.getElementById(id)) return;\r\n js = d.createElement(s); js.id = id;\r\n js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';\r\n fjs.parentNode.insertBefore(js, fjs);\r\n }(document, 'script', 'facebook-jssdk'));</script>\r\n\r\n <!-- Your Chat Plugin code -->\r\n <div class=\"fb-customerchat\"\r\n attribution=setup_tool\r\n page_id=\"993659070705480\">\r\n </div>"
bpshop_custom_script_body_head: "<!-- Smartsupp Live Chat script -->\r\n<script type=\"text/javascript\">\r\nvar _smartsupp = _smartsupp || {};\r\n_smartsupp.key = '4de32337013e7990da0f8fca62256d1fee25beaf';\r\nwindow.smartsupp||(function(d) {\r\n var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];\r\n s=d.getElementsByTagName('script')[0];c=d.createElement('script');\r\n c.type='text/javascript';c.charset='utf-8';c.async=true;\r\n c.src='https://www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s);\r\n})(document);\r\n</script>"
bpshop_customers_link_reg: null
bpshop_fb_app_id: ''
bpshop_fb_app_passwd: ''
bpshop_fb_app_url_name: poloonlineshop.com
bpshop_firm_account_bank_name: ''
bpshop_firm_account_number: ''
bpshop_firm_address: ''
bpshop_firm_name: 'Restauracja Dworek M.T. Setkiewicz s.c ul.Wygon 3 47-411 Szonowice Nip : 639-16-46-197'
bpshop_firm_zip_city: ''
bpshop_lang_default_currency: EUR
bpshop_lang_default_page: Angielski
bpshop_lang_default_page_currency: €
bpshop_lang_default_page_signature: en
bpshop_mail_send_from_address: biuro@silesiapolo.com
bpshop_mail_send_from_label: 'sklep poloonlineshop.com'
bpshop_meta_author: 'eddi @ blackpage.pl'
bpshop_meta_description: 'polo equipment,polo mallet, polo gear, polo saddle, polo, polo bridle, polo blankets , polo spurs, polo martingale, polo reins, polo helmet, polo sport'
bpshop_meta_keywords: 'polo equipment,polo mallet, polo gear, polo saddle, polo, polo bridle, polo blankets , polo spurs, polo martingale, polo reins, polo helmet, polo sport'
bpshop_meta_page_title: 'polo equipment,polo mallet, polo gear, polo saddle, polo, polo bridle - poloonlineshop.com'
bpshop_post_list_description: 'Latest informations about polo equipment that we offer . World polo news and many others curiosities . '
bpshop_post_list_h1: 'Polo Blog '
bpshop_social_link_fb: 'https://www.facebook.com/poloonlineshop/'
bpshop_social_link_googleplus: '#'
bpshop_social_link_silesia_polo: 'https://www.youtube.com/channel/UCY5EvqrMbHoUy-ig6K2zfSg'
bpshop_social_link_twitter: 'https://twitter.com/PoloOnlineShop'
bpshop_social_link_youtube: 'https://www.youtube.com/channel/UCY5EvqrMbHoUy-ig6K2zfSg'
bpshop_system_domain: poloonlineshop.com
bpshop_system_gadu_gadu: ''
bpshop_system_mail: office@poloonlineshop.com
bpshop_system_phone_normal: '+48 501 175 396'
bpshop_themes_name: poloonlineshop2017
mod_basket_enabled: true
mod_basket_view_class: sfPHP
mod_home_enabled: true
mod_home_view_class: sfPHP
mod_plugin_enabled: true
mod_plugin_view_class: sfPHP
sf_admin_module_web_dir: /sfDoctrinePlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: page
sf_app_base_cache_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/cache/page
sf_app_cache_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/cache/page/prod
sf_app_config_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/apps/page/config
sf_app_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/apps/page
sf_app_i18n_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/apps/page/i18n
sf_app_lib_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/apps/page/lib
sf_app_module_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/apps/page/modules
sf_app_template_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/apps/page/templates
sf_apps_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/apps
sf_cache: false
sf_cache_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/cache
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/cache/page/prod/config
sf_config_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/config
sf_csrf_secret: b5c12aa94fc79a6d12a0ae852f2d6a3ff1920bd6
sf_data_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/data
sf_debug: true
sf_default_culture: en
sf_enabled_modules:
- default
sf_environment: prod
sf_error_404_action: 404
sf_error_404_module: default
sf_error_reporting: 341
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: false
sf_etag: true
sf_file_link_format: null
sf_i18n: false
sf_i18n_cache_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/cache/page/prod/i18n
sf_lib_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/lib
sf_log_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/log
sf_logging_enabled: false
sf_login_action: login
sf_login_module: bpshopCustomers
sf_module_cache_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/cache/page/prod/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: true
sf_orm: doctrine
sf_plugins_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/plugins
sf_root_dir: /var/www/vhosts/poloonlineshop.com/httpdocs
sf_secure_action: login
sf_secure_module: bpshopCustomers
sf_standard_helpers:
- Partial
- Cache
sf_symfony_lib_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/lib/vendor/symfony/lib
sf_template_cache_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/cache/page/prod/template
sf_test_cache_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/cache/page/prod/test
sf_test_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/test
sf_upload_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/web/uploads
sf_use_database: true
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: /var/www/vhosts/poloonlineshop.com/httpdocs/web
request ...
options:
path_info_key: PATH_INFO
path_info_array: SERVER
http_port: null
https_port: null
default_format: null
logging: ''
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: true
parameterHolder:
action: index
culture: blog
module: home
attributeHolder:
sf_route: 'sfRoute Object()'
response ...
status:
code: 500
text: 'Internal Server Error'
options:
http_protocol: HTTP/1.0
logging: ''
charset: utf-8
send_http_headers: true
content_type: 'text/html; charset=utf-8'
cookies: { }
httpHeaders:
Content-Type: 'text/html; charset=utf-8'
javascripts: { }
stylesheets:
main.css: { }
likebox.css: { }
metas:
keywords: 'elektrotechnika, kable, przewody, oswietlenie, aparatura elektryczna, hurtownia elektryczna, automatyka, lampy, el-Bis. Hurtownia elektryczna, Racibórz, Elektryczne artykuły, urządzenia - produkcja, hurt'
language: en
robots: 'index, follow'
title: 'Artykuły elektryczne - kable i przewody - osprzęt elektroinstalacyjny - racibórz - el-bis.pl'
description: 'symfony project'
httpMetas:
Content-Type: 'text/html; charset=utf-8'
options:
auto_shutdown: false
culture: null
default_culture: en
use_flash: true
logging: ''
timeout: 1800
attributeHolder: { }
culture: en
authenticated: false
credentials: { }
lastRequest: 1711647437
global vars ...
cookie: { }
env: { }
files: { }
get: { }
post: { }
server:
CONTEXT_DOCUMENT_ROOT: /var/www/vhosts/poloonlineshop.com/httpdocs/web
CONTEXT_PREFIX: ''
DOCUMENT_ROOT: /var/www/vhosts/poloonlineshop.com/httpdocs/web
FCGI_ROLE: RESPONDER
GATEWAY_INTERFACE: CGI/1.1
HOME: /var/www/vhosts/poloonlineshop.com
HTTPS: on
HTTP_ACCEPT: '*/*'
HTTP_CONNECTION: close
HTTP_HOST: poloonlineshop.com
HTTP_REFERER: 'http://www.poloonlineshop.com/blog'
HTTP_USER_AGENT: claudebot
HTTP_X_ACCEL_INTERNAL: /internal-nginx-static-location
HTTP_X_REAL_IP: 3.84.7.255
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY: '0'
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY: '0'
PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin'
PERL5LIB: '/usr/share/awstats/lib:/usr/share/awstats/plugins'
PHP_SELF: /index.php
QUERY_STRING: ''
REDIRECT_HTTPS: on
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY: '0'
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY: '0'
REDIRECT_PERL5LIB: '/usr/share/awstats/lib:/usr/share/awstats/plugins'
REDIRECT_SCRIPT_URI: 'https://poloonlineshop.com/blog'
REDIRECT_SCRIPT_URL: /blog
REDIRECT_STATUS: '200'
REDIRECT_UNIQUE_ID: ZgWqzW8QO9lFlsPcglS0OgAAANE
REDIRECT_URL: /blog
REMOTE_ADDR: 3.84.7.255
REMOTE_PORT: '33508'
REQUEST_METHOD: GET
REQUEST_SCHEME: https
REQUEST_TIME: 1711647437
REQUEST_TIME_FLOAT: 1711647437.4408
REQUEST_URI: /blog
SCRIPT_FILENAME: /var/www/vhosts/poloonlineshop.com/httpdocs/web/index.php
SCRIPT_NAME: /index.php
SCRIPT_URI: 'https://poloonlineshop.com/blog'
SCRIPT_URL: /blog
SERVER_ADDR: 167.235.100.84
SERVER_ADMIN: root@localhost
SERVER_NAME: poloonlineshop.com
SERVER_PORT: '443'
SERVER_PROTOCOL: HTTP/1.0
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: Apache
UNIQUE_ID: ZgWqzW8QO9lFlsPcglS0OgAAANE
USER: silesiapolo
proxy-nokeepalive: '1'
session:
basket: { orders: { idusers: 1, idcustomers: register_new_account } }