Roberts R

  • Content count

  • Joined

  • Last visited

Community Reputation

3 Neutral

About Roberts R

  • Rank
    Jr. Member
  1. Thanks @adrian for solving this atm. Issue related to : Installing "SessionHandlerDB" module solves it.
  2. I use "Array of items" other settings are default (0 for limit). Changed limit to 10 - same result. Tryed with 4,5,6,7 result is same : 2 images left. EDIT: sometimes more images are left.
  3. I changed filenames but I get same result. Idk if it helps but I tryed to upload to WP and it worked just fine.
  4. @draganI found nothing in logs as well. Before saving : After: I leaves 1st and last picture EDIT : Issue is present for "Files" field as well.
  5. I changed it to php7 . . . still same issue.
  6. @dragan Nothing in console. No internal errors. Nothing.
  7. Just installed PW 3.0.62 ( Newest ) . Same issue. I can upload one by one but not more. More info related to issue? php version : 5.6.98 gd GD Support enabled GD Version bundled (2.1.0 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.4.2 GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 6b PNG Support enabled libPNG Version 1.2.49 WBMP Support enabled XBM Support enabled JIS-mapped Japanese Font Support enabled
  8. Solution : Issue : Fresh install ProcessWire 3.0.39 + multilangual support In video it shows how it goes. And I can't figure it out. It happens for few of my sites. td;tl : Upload 5 image in images field -> Save -> 2 left. EDIT : Files are in "/assets/files/id" processwire-bug.mp4
  9. Im not sure what I did wrong, but when i do changes on website (template/fields/links) as Im logged as admin I do see changes. But when I log out I don't. Even when I open website in PC that I have never opened website on I don't see updates. Its been like this for 2 days now. Cleared browsers cache and all. Any ideas? [ EDIT ] Solution : Since I put SSL for my website I had to add following in .htaccess SetEnvIf SSL on HTTPS=on
  10. I don't own the system. And server admins most likely will not setup things for me. So will have to run a script to do : $pages->emptyTrash(); Thanks for your support.
  11. Last night I run into issue. I was trying to empty my trash that have 140 000+ pages init. All pages have repeater fields. When I pressed "Empty" on trash menu I wasn't able to use back-end for 2h+ (I kept refreshing page when It time-outed). After PW process was done 30k pages were deleted. I'm still left with 110k pages to remove. Is there a way to safely remove all pages but with increased speed? Thanks
  12. I did run deletePages and AddPages on same run. It was reason for my reapeater not saving for some reason. deletePageChildren($pages->get('/parts/')); addAPEPArts(); I can't figure why pages didn't get deleted from datebase. But I guess that is story for another day.
  13. After working with PW for quite so time i came to my first issue: After testing around I added pages "part" with few fields and repeater. $p = new Page(); $p->template = 'part'; $p->parent = '/parts/'; $p->name = $pageName; $p->save(); $p->of(false); .... // adding repeater $store = $p->pStores->getNew(); $store->sCount = $sCount; $store->sPartNr = $sName; $store->sPrice = $sPrice; $store->sStore = $pages->get(24464)->id; $store->save(); $p->pStores->add($store); $p->save(); added about 1600 items. Later on I deleted them Using foreach ($pages->get('/parts/')->children as $p){ wire('pages')->delete($p); } Now i can't add any repeater items to new pages I create using code above. It gives me error Can't save page 0: /1473421482-73-1/: It has no parent assigned Now I try to delete repeater field and recreate it. But it says that Can't delete template 'repeater_pStores' because it is used by 1685 pages. But there are no pages. I looked in DB. and found that repeater fields still hold values for pages that does not exists. [EDIT]: found that pages still exist in db. So i deleted them manually. Recreated field but same problem stands. Im not sure in witch step I fcked up, but can someone point fingers at me and tell what i did wrong or why its not working?
  14. @BitPoet Thanks for solution. It fits my needs quite well
  15. I keep falling for same thing from time to time. ->of(false); ->save() Is something to remember when we talk about changing values in code.