Jump to content

flydev

Members
  • Posts

    1,355
  • Joined

  • Last visited

  • Days Won

    48

Everything posted by flydev

  1. @---Lukas--- You might need to adjust the condition here (read below) or add another check just after (checking if pages are hidden) if ($child->numChildren && count($child->parents) == 1) { or you can use count($child->children) as it should exclude all your hidden pages. `numChildren()` include hidden pages. if (count($child->children) && count($child->parents) == 1) { try it ?
  2. Hi @eydun I can definitely give an option to exclude the database dump (> in the todo list) . Anyway, can we know the details and type of the hosting server ? On my side, I can backup a ~4GB database, but it's a windows server that I configured myself (still on Apache). @huseyin any news ? could you achieve what you was looking for by choosing the database name in the installer ?
  3. Considered @Robin S I also have a bad connection (working with a 4G router) and it's definitely a good feature request. I will try to implement it asap, but I would like to release first the module with the native backup feature but I lack time. I will try to do my best. Thanks for the link @bernhard Thanks again guys, I hope you're all fine here ??
  4. Okay - then if you have some feedback from the sys admin, let us know if possible, thanks ?
  5. Hi @Sevarf2 Can you make a screenshot of the Step #1 et #2 please ? And FYI I also used the Duplicator installer on IIS without issue.
  6. @catslave if you want to get rid of the images and use only the background-image property, then you have to add this CSS code : https://github.com/flydev-fr/site-pwbs4/blob/master/assets/static/css/main.css#L38-L44 .carousel-item-fluid { width: 100%; height: 550px; background-position: center; background-size: cover; background-repeat: no-repeat; }
  7. @B3ta I don't have the same code on this line 32, look at the repo there : https://github.com/flydev-fr/Duplicator/blob/v1.3.14/Classes/DupLogs.php#L32 I tested Dropbox before posting and its working (even if it look like there is a small issue with the timestamp). FYI, the latest version is 1.3.14 and you should update your Duplicator I think, let me know ?
  8. Hi, the code on Github was updated recently to work with the latest Bootstrap 4 release, that might be the reason. If you see the carousel in rendered HTML code, then you should try to play with the developer console and the display, with, height css properties. Also, if you want to compare the generated markup, then here you go (in my example, there is 3 images on a images field : <div id="carousel-144" class="carousel slide shadow" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-144" data-slide-to="0" class="active"></li> <li data-target="#carousel-144" data-slide-to="1" class=""></li> <li data-target="#carousel-144" data-slide-to="2" class=""></li> </ol> <div class="carousel-inner rounded" role="listbox"> <div class="carousel-item carousel-item-fluid active" style="background-image: url(/site/assets/files/1/om-psg_cf_finale-2_1.1600x550.jpg);"> <!--<img src='/site/assets/files/1/om-psg_cf_finale-2_1.1600x550.jpg' alt='' width='1600' height ='550'>--> </div> <div class="carousel-item carousel-item-fluid" style="background-image: url(/site/assets/files/1/pressesports_2013828_foot_031-1920x768_1.1600x550.jpg);"> <!--<img src='/site/assets/files/1/pressesports_2013828_foot_031-1920x768_1.1600x550.jpg' alt='' width='1600' height ='550'>--> </div> <div class="carousel-item carousel-item-fluid" style="background-image: url(/site/assets/files/1/22254435-25040490_1.1600x550.jpg);"> <!--<img src='/site/assets/files/1/22254435-25040490_1.1600x550.jpg' alt='' width='1600' height ='550'>--> </div> </div> <a class="carousel-control-prev" href="#carousel-144" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carousel-144" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div>
  9. Hi @B3ta I had too much work this week so its planned for the next tuesday. Can you upload again the screenshot please ? I can't see it. Thanks you.
  10. HI @saschapi Thanks for reporting this issue, I also noticed it and fixed it in the dev version. The next stable version (which come with native backups) should be pushed next week. Just make a scheduled task which point to the CRON Duplicator's helper file. If you need further help, just ask it here ? Hello @shogun , I have the same requirement and I am using what @d'Hinnisdaël suggested. I use Migration with a self made GUI and Duplicator for daily backups.
  11. I remember this thread too : https://processwire.com/talk/topic/17862-share-your-ckeditor-settings/
  12. I think that your connection settings are wrong. You should triple check it. I don't know how the DigitalOcean cluster work, but I must assume that the host is different that localhost or 127.0.0.1. Also, are you sure you configured the right port number (if different in a cluster config) ? The error message must indicate that something is misconfigured. In the case it was your credentials that was wrong, you will must get a Connection Refused error not a timeout. (not sure how to formulate this last sentence ?)
  13. And simply using $this->pages->findOne() inside Events can't do the job ? As PagesType extends Wire, it should be available as $events->pages->findOne()
  14. For storing emoji, utf8mb4 is required as each emoji consist of four bytes in UTF-8 and you cannot store them using MySQL utf8 implementation as it can only symbols that consist of one to three bytes.
  15. You could check in first instance the mysql server settings and adjust them in the config file my.cnf : [client] default-character-set = utf8mb4 [mysql] default-character-set = utf8mb4 [mysqld] character-set-server = utf8mb4 collation-server = utf8mb4_unicode_ci character-set-client-handshake = FALSE Then restart the server and try to save a page with an emoji.
  16. No problem, as Andreas said, everything you requested is already implemented. If you have other features in mind, do not hesitate guys ? Also, with the next version, you will be able to backup the big site with Duplicator. I can make backup of a 1.6GO website without issue. It can be already tested - it's on the dev branch on Github.
  17. I cannot confirm this, no problem on my side with the "same" setup
  18. I fixed the issue (thanks for reporting it) so you could access the process module again, but I don't have idea at this moment where is or what's the error. Could you try to make others AWS backups with different website and post the result ? Meanwhile I will re-read the code to see if I can catch something.
  19. Hello, Just ideas, Have you tried to access the new deployed website in a incognito browser window, clearing cache and cookies ? If yes then did you compared the .htaccess on both host and the settings (webserver/php/cache settings) ?
  20. I just tested it and the process ended without error ??‍♂️ What's the version of your Duplicator ? Edit1: Ok got it. Will push a fix. Edit2: You can update the module to the version 1.3.15
  21. If I understand, this will help you : Check this function : https://processwire.com/api/ref/functions/wire-render-file/ A blog introduction: https://processwire.com/blog/posts/processwire-2.5.2/#new-wirerenderfile-and-wireincludefile-functions A example approach : https://marcus.io/blog/contextual-components-php Search Helper for forum posts: https://www.google.com/search?q=wirerenderfile+partial
  22. Yes I had in mind safe_mode_exec_dir but I forgot that it was removed.
  23. Just another thing, the next minor version will contain an encryption setting, trying to make Duplicator a bit GDPR compliant.
  24. Thanks you very much for this report @adrian Already on the todo list. I will check the PR after this message, but this can depend on the user end database schema used. We will have on the next version multitude options to customize the behavior of mysqldump. I was thinking too to give a textbox to enter some custom swicth for the command-line before proceeding. Thanks, I will make some checks available to the destination dir of the script. I am sure this is because you have safe_mode enabled, if you can confirm me that, it would be awesome. Yes it's for debugging purpose and to avoid the page reloading - just set the var $debug to false in ProcessDuplicator.js, Thanks again, going to check the PR.
×
×
  • Create New...