Jump to content

nikoka

Members
  • Posts

    47
  • Joined

  • Last visited

Everything posted by nikoka

  1. Hi all, Getting this same error on a site. Site is completely down, haven't been able to figure out what's causing this all of a sudden. Does anyone have a solution for this? All help much appreciated.
  2. This comes up time and again, usually harmless, but what's now happened three times (on two different sites) is that at the same time this error pops up, something happens to the cache. The sites HTML and CSS is wiped and all you can see is the sites text content. Once the cache is wiped clean all is back to normal. Don't know if these problems are related, but the timing is peculiar. Both sites are running ProCache 3.18. and PW 3.0.98.
  3. nikoka

    Hanna Code

    That's a great idea, thank you so much @kongondo! This seems to work and I can also see which page is embedded in which wrapper page: $return = $attr["url"]; $id = (int) $return; $embeddedPage = $pages->get($id); echo $embeddedPage->body; $wrapperPage = $page->id; $session->set($wrapperPage, $embeddedPage); Then I grab the value like this: $sourceID = $session->get($page->id); echo date('Y-m-d', $pages->get($sourceID)->modified);
  4. nikoka

    Hanna Code

    Thanks for sticking with me @kongondo Number 1 is what I want to do. I need to use the modified/created dates of Page B to compare to the modified/created dates of Page A and insert some badges on Page A according to which of these pages have been updated more recently.
  5. nikoka

    Hanna Code

    The tag I use for adding embedded page content is: [[single-source url=""]] For the url I add the page ID and the content is then shown. There's a bunch of other things happening, but the essence of the hanna code for getting the embedded page content goes like this: $return = $attr["url"]; $id = (int) $return; $embeddedPage = $pages->get($id); echo $embeddedPage->body;
  6. Thanks @flydev, credentials were alright, but turned out it was the host that was the problem, site is running on A2. So it's the same problem @Peter Knight ran into.
  7. nikoka

    Hanna Code

    Thanks @kongondo, I was a bit unclear, I have a page (let's call it page A) with and embedded page (let's call it page B). I need to show the modified/created dates of page B on page A. But how do I get this information from the embedded page B to the "wrapper" page A?
  8. nikoka

    Hanna Code

    I'm using Hanna code to embed content from different pages on a site. What I would need is a way to get the created and modified date of the page that has been embedded. I need to use/show these dates in the front-end of the page that has the embedded content. Is there some elegant way I could get this information?
  9. Thanks @flydev, Tried with those, in addition with the SMTP server: smtp.office365.com, but no luck there.
  10. Hi there! Struggling to get this to work with Office365 and TLS, has anyone succeeded with this? I've tried different combinations, but all I get is "ERROR: SMTP settings did not work." and "could not start TLS connection encryption protocol". Anything I could try? Thanks!
  11. Ouch, yeah I was afraid the chmod issue would be a problem. I'm amazed of all the restrictions this provider (Elisa) has set up, but they insist WordPress, Drupal and Joomla users have no problem with this.
  12. After moving my clients site the image and file uploads stopped working. When trying to upload an image I get this error in the console: ?id=1:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at Function.parseJSON (JqueryCore.js?v=1510128475:2) at XMLHttpRequest.<anonymous> (InputfieldImage.js?v=119-1512211887:1433) A neverending upload process starts and when I reload the page I get this error: Warning: flock() has been disabled for security reasons in /www/w/8/4/0/3/w8403104/html/wire/core/FileLog.php on line 89 If the image field is inside a repeater the image is uploaded, but nothing is visible inside PW. The image gets uploaded to the server but permissions are always set to 600, if I change the permissions manually to 640 the image is visible. I've tried with different permissions in config.php, but the problem persists. The site is on a shared webspace at a bigger provider with quite a lot of restrictions (chmod not allowed). I've been going back and forth with the hostmaster about these issues, but that hasn't been fruitful. Is there anything else I could try? Any chance of getting PW to work on this server?
  13. Aaand here is the fix courtesy of @valan :
  14. I just ran into the same problem, the address box is gone and underneath it says "N/A". Anyone know what could cause this?
  15. Hi @inspeCTor, I'm afraid I didn't, remains a mystery, I haven't had this problem before or after. Spent some time figuring out what could be different with this one installation, but there shouldn't be anything special there. Please do report if you find some clues, thanks!
  16. Hi there, This has always worked without a hitch, but I'm a bit stumped now. I'm using this for the body field, I have a youtube URL in a paragraph, but I can't get the player to show, just the URL text as is. I then tried with a Vimeo video, no luck there either, but in that case it creates the TextformatterVideoEmbed div (<div class="TextformatterVideoEmbed"></div>), but the div has no content. I'm running PW 2.6.1 and the latest version of TextformatterVideoEmbed. Any idea what's going on here?
  17. Ran into the same message trying to reach the uploaded document by clicking the link in the entry, any idea of what could be going on? The site is running ProcessWire 2.4.0 and Form Builder 0.2.2. The URL looks like this: domain.com/form-builder/?view_file=71,17133,37943.png,1c94a26a226b90fce23f6687fb786f95ec3f26f5
  18. Hi guys, hadn't tried this before, seems to be working great, just a couple of questions: My query works as it should, but there's bunch of fields that include letters like Å, Ä and Ö and these letters are encoded, a title like "Riihimäki" is encoded to "Riihim\u00c5boki", how can I avoid this and just have the values as is? Further on, the path value (a relative path) is added by default, any chance of overriding or adding to it, so I could get the absolute/full path for each page?
  19. Glad I stumbled upon this topic, I'm in!
  20. This is a great module, thanks Ryan! I find myself in the peculiar situation where I need to limit access to the title field of a specific template, you mention on the module page that this is doable, would you mind giving some pointers on how this could be done with the help of this module? Thanks!
  21. That's right, no problem whatsoever with ProcessWire, just a server outage. I suspect the database had gone first (hence the "Unable to complete this request due to an error") and soon after the rest. Now everything's running smoothly.
  22. Phew, it's all working now. The server died before I had a chance to get the log file, but after a few hours of waiting everything is now working great. Apparently the server had been overloaded. This is what I found in the log file (actually around a hundred of these): 2011-06-22 22:59:40: Unknown User:/?/:ProcessWire Error:Exception: (in /home/vhome/tms/www/wire/core/Database.php line 72) Thanks again Ryan!
  23. Hi all, My client has happily been updating their site (using ProcessWire) for a couple of months, all of a sudden the site now says: "Unable to complete this request due to an error". What could cause this so suddenly? No one has touched the files, so could this be some sort of server issue or what? All help very much appreciated, thanks!
  24. Don't know how I missed the docs for pagination, this along with your other link got me on the right track. Thank you!
×
×
  • Create New...