Jump to content

TomasDev

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by TomasDev

  1. Hello, I fixed my problem. The solution was easier than its research Just needed to truncate cache table in MySQL.
  2. Hello guys, I'm building now my second web-page with ProcessWire and at this moment I get stuck with one error which appears in the homepage. This is fatal error and the content of my page is inaccessible. The error started appear when I transfer my page from local (Ubuntu) server to the web-hosting. Error Fatal error: Uncaught Error: Call to a member function execute() on null in /home/my_domain/domains/sub.my_domain.com/public_html/index.php:55 Stack trace: #0 {main} thrown in /home/my_domain/domains/sub.my_domain.com/public_html/index.php on line 55 I looked at the index.php file It seems that it cannot get ProcessPageView module. How could I fix that? Thank you in advance!
  3. Hello guys, Although I have already built a web-site with ProcessWire, I'm still feeling new at ProcessWire developing. So, I have one question regarding this topic. I want to shorten my urls. I did what WillyC told in the first post. And I get my link shortened successfully. However, the page content does not display, shows only header content. What I'm doing wrong? Should I do something additionally? My code in the top of _head.php file: <?php $pages->addHookAfter('Page::path', null, 'hookPagePath'); function hookPagePath(HookEvent $e) { $page = $e->object; if ($page->template == 'services') $e->return = "/$page->name/"; } ?> Thanks!
×
×
  • Create New...