Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

41 Excellent

About KarlvonKarton

  • Rank
    Sr. Member

Contact Methods

  • Website URL

Profile Information

  • Location
  • Interests
    Surf - Windsurf - Belgian - Music Producer - Ginger - Creative - Code

Recent Profile Visitors

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

  1. I did not report my own post, but the one of someone with the same issue from 2016. My only goal is to get this resolved, but I don't use Github. All issues got resolved via the forum until now. I don't know why this issue is not.
  2. And what is this forum for then?
  3. Why is this issue not getting resolved?
  4. I even tried to delete 1 page (which has a repeater) with the API and add a new page (which has a repeater) in 1 run... It doesn't work...
  5. What is the use of an API if you can not delete and then add in one run? That is what I ask myself...
  6. I have the same issue. When I delete all pages (that have a repeater) from a parent and then add new pages (with repeater) to the same parent, then only one page is added and I get the same error: "Can't save page 0: /xxxxxxxx-xx-x/: It has no parent assigned" In the repeater_field in the DB there is no data, count=0 and a parent_id=0... Is there any chance this gets resolved anytime soon? (I guess not since this a thread of 2016 ? ) PS: If I delete the pages in a seperate call and add new pages in a second call, then the issue doesn't happen...
  7. I did the same mistake as someone here above... I did not echo the render() nor the getScript() ... (my form is in plain HTML and not in a var called $out, therefrom...) It's working now. ;-)
  8. I use the module regularly on sites (with Pw form API), but for the first time I needed to implement the module in a plain HTML form, but without any luck. render() will not render anything and the getScript() does not add the script at the bottom of my form. Does plain HTML still work?
  9. I see the E_WARNING because of the PHP set_error_handler I use. Which I log in a mysql table. All the pictures are JPG, but maybe the "problem" is triggered by different camera models, I don't know. I've asked the provider of the API, but they can not figure it out (yet). I'm still waiting for their answer. PS: I wouldn't mind so much if it were only an E_NOTICE...
  10. Never mind... In the ready.php of course... Sorry for being too quick and not testing first ;-)
  11. I have been testing a bit more and I narrowed down the problem to just the size(600,0) part. So when I take an image and make a thumbnail of it with size() , then I get an E_WARNING. (I don't even have to save the thumbnail to another field) But I still have no clue why this happens.
  12. Hello, I'm filling an image field from an 3th party API with the Processwire API. All goes well: 1. images are correctly uploaded in images field 2. the first image is correctly converted to a thumbnail and added to another field (thumbnails) 3. the script does not break But: i get a warning like (example) on almost every picture (twice, what is more strange): exif_read_data(17-1.600x0.jpg): File not supported What am I doing wrong? My code: $picture = $this->getImageAPI($pic['mediumUrl']['href'],$pic['rentalUnit']['objectID'].'-'.$pic['order']); if($picture != ''){ $pictel++; $p->oe_images->add('./'.$picture); $lastPic = $p->oe_images->last(); unlink('./'.$picture); $p->save(); } if($pictel == 1){ $thumbnail = $lastPic->size(600,0); $p->oe_thumbnails->add($thumbnail); $p->save(); }
  13. Is this a bug? The digit (number of rooms) is visible in the default language (dutch), but not in the secondary language (french). The texts are translated. sprintf(_n('%d slaapkamer', '%d slaapkamers', $page->ska_NumberOfBedrooms), $page->ska_NumberOfBedrooms); example text dutch: 3 slaapkamers french: chambres à coucher
  • Create New...