MaryMatlow

Members
  • Content count

    67
  • Joined

  • Last visited

Community Reputation

15 Good

About MaryMatlow

  • Rank
    Full Member
  1. Thanks @flydev. Let me look into this. It's a client's site, on a shared server I think.
  2. I'm having a strange problem. Only the homepage is giving server error: Server Error We're sorry! The server encountered an internal error and was unable to complete your request. Please try again later. error 500 But the rest of the site works fine. I've turned on the debug mode but the errors don't show up. In the logs I get these errors: Error: Call to a member function get() on null (line 29 of /home/wespenqf/public_html/site/templates/_functions.inc) Error: Exception: SQLSTATE[42000] [1203] User wespenqf_speak already has more than 'max_user_connections' active connections (in /home/wespenqf/public_html/wire/core/ProcessWire.php line 377) #0 /home/wespenqf/public_html/wire/core/ProcessWire.php(209): ProcessWire\ProcessWire->load(Object(ProcessWire\Config)) #1 /home/wespenqf/public_html/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #2 {main} Does anyone have any idea what's going on? Thanks for your help!! Running ProcessWire 3.0.64
  3. PHP was 5.6.21 but changed it to version 7 and now it works fine. Thank you @Macrura
  4. Hello, When I install this module I get this error: Parse error: syntax error, unexpected '[' in ....../html/site/assets/cache/FileCompiler/site/modules/FieldtypeAssistedURL/FieldtypeAssistedURL.module on line 26 What could be the reason for this. Please help!
  5. Yup, of course, the pagination was not turned on!! Thank you @Peter Knight
  6. Hello, Anyone out there who can help me out!!! Thanks.
  7. Hi @kongondo, I'm having a problem with pagination for the blog. The pagination links appear alright, but when I click on page 2 it brings me back to the top of the first page? What could be wrong? Appreciate your help. Thanks. I'm using ProcessWire 3.0.61 and ProcessBlog 2.4.0
  8. Thanks a ton @Robin S. It worked. Although I had to add some code to create a heading for each category. Thanks once again. Cheers!!
  9. I want to revive this thread as I could not find the solution I'm looking for. I've a function using the "repeater" field. I'm using it to display portfolio items (images and text). What I want to achieve is render the items according to category, such as, Web, Print, In Progress etc. I've created a field within "repeater" to specify the category. I've no idea how to make it work. This is the function I'm using: function bsRenderPortfolio($portfolio) { $out = "<div class='row portfolio'>"; foreach ($portfolio as $item) { $imgname=""; foreach($item->images as $img){ $imgname="<img class='portfolio-image img-responsive' src='".$img->url."' />"; } $out .= "<div class='portfolio-item'> <div class='col-xs-12 col-sm-6'> <figure class='wow fadeInLeft animated' data-wow-duration='500ms' data-wow-delay='300ms'> <div class='img-wrapper'> {$imgname} <div class='overlay'> <div class='summary'> <p>{$item->summary}</p> </div> <div class='buttons'> <p><a class='btn btn-lg' href='{$item->button_link}' role='button' data-toggle='tooltip' data-placement='right' title='{$item->button_tooltip}'> {$item->button_title}</a></p> </div> </div> <figcaption> <h3> $item->title} </h3> <h5> {$item->subheading} </h5> </figcaption> </div> </figure> </div> </div>"; } $out .= "</div>"; return $out; } And this is how it is being rendered: if($page->portfolio) $content .= bsRenderPortfolio($page->portfolio); Any help would be greatly appreciated. Thanks.
  10. Okay, this is sorted out. It was the "access" issue with the "blog-post" template. I removed "view and edit" access restriction and it works. Thanks for your help @christophe
  11. I've set the permissions to give access to blog to users and guest. Post show up on front-end only when I'm logged in as Admin.
  12. I'm facing another problem. Posts don't show up on the front-end, but when I login to the admin, I can see them on the fornt-end. Any idea what could be causing this behaviour?
  13. I'm using ProcessWire 3.0.58 and Blog 2.4.0 I see the "view" tab for regular pages but not for the posts.
  14. Is there a way to preview posts before publishing them? Couldn't find the option.
  15. Done. Thank you.