Jump to content

nikoka

Members
  • Posts

    47
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

nikoka's Achievements

Jr. Member

Jr. Member (3/6)

5

Reputation

  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?
×
×
  • Create New...