Jump to content

flydev

Members
  • Posts

    1,360
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by flydev

  1. Originally requested by a client, I just wanted to share this fork of this module which now support Facebook video : https://github.com/flydev-fr/TextformatterVideoEmbed
  2. Thanks for testing it @adrian! and I get what you mean. Yes, LazyCron generally will slowdown, we can even say it will break completely the navigation on the website! and should be used with caution. Duplicator support LazyCron as "last" cron solution. About PwCron, I don't see objection for removing it from Duplicator or maybe it could stay as is for people who want to use it. I added support for running cron jobs without external modules. Its already on Github (I will update the README). You have to call it this way (/site/modules/Duplicator/cron.php) : 0 0 * * * php /www/mysite/wwwroot/site/modules/Duplicator/cron.php >/dev/null 2>&1
  3. The thing weird is that you even get a Permission Denied opening the log file... Which web hosting company is ? I don't think so, it's a matter of seconds: set to true - refresh - set to false.
  4. Can you set in your config.php - $config->debug = true; - and post the resulting errors here ? The 500 error came suddenly ? please give us more infos For sure, the Apache or PHP error log contain something. Try to find them.
  5. Its a good question, this night I tested the three different providers (Dropbox, Google and Amazon) and I read about Dropbox they dropped support for the v1 since September 2017. I was aware of that but I didn't knew the exact timeline. So I removed Dropbox from the module in the version 1.0.2 but I found a small wrapper for the v2 coded by a guy on Github - already forked - I will test it if it can help to get back the Dropbox support on Duplicator. I also checked the migration guide, it should not be difficult to port the code to the v2. I just lack a bit time. There is two things I wanted to implement asap (thanks @horst!), now there is three things A small note: GoogleDrive and Amazon still work like a charm. Also I could tested yesterday a deployment on a Google Cloud VM instance (its a pain to setup, as always with Google) with the minimum resources, success!
  6. Nice one! I have a small issue with the navbar on my MacBook Pro 13" :
  7. I pushed a small update this night : Fixed changed all _() call to __() for translation string the installer parse correctly the config.php file on windows machine small typo in ProcessDuplicator Added check if ProcessDuplicator module is installed, if yes, then display the link in the local folder overview to the manager I tested Duplicator on a Windows machine with PHP-5.6 and PHP-7.0, I could build a package and cloned the site without issue too.
  8. Hey @bernhard thanks for testing it ! I changed all the __() to _() before releasing the module, I don't know why, so I have no answer here lol I think it was a bit late for my brain. I will fix it in the next version. Yes I can, I was thinking in the first time to check if the ProcessModule is installed and if yes, it show the link to the manager, if not then no link appear. Why ? because the ProcessModule is optional, you can configure Duplicator, the cron job and everything will run without using the manager. But its just an idea. I will test it under Windows, look like something weird is happening while adding the information to the config.php. Thanks again for reporting theses issues !
  9. Also, you could ask why, but oh why they still have this MySQL version full of security vulnerabilities installed on the server ?! Just sayin, this version is eleven years old!
  10. So I must say, 1) upgrade your server, 2) if you can't, ask the support to do it, 3) if they can't do that, get out of this hosting provider..
  11. Maybe your problem is that your server don't met the ProcessWire requirements, it ask for a 5.0.15 or greater version of MySQL. https://processwire.com/about/requirements/ You might want give a try at installing a fresh ProcessWire 3 installation on this server to see what happen. Which hosting type are you using ?
  12. Hi and welcome, The version of the MySQL server could help here. Post also the ProcessWire version (the old and the new) please.
  13. There you can download the module : https://github.com/flydev-fr/Duplicator The documentation is incomplete, you have for now to explore the settings on your own. The install instructions are written but the SDKs are not uploaded yet, which mean that AmazonS3, Dropbox and GoogleDrive are only available by installing them through composer. I will upload them tomorrow but they are not recently tested. Anyway, there is no requirements to run Duplicator as is. Just install Duplicator and Duplicator - Packages Manager then go to Setup > Duplicator and build your package by clicking the button. If everything run smooth, you will see the package listed and you will be able to download it directly and also the installer. To restore a website, just upload the package and the installer then go to yourwebsite.com/installer.php then follow the instructions. PLEASE, do not forget - after the end of the process - to delete the installer.php file and your package (this will be fixed in the v0.0.45). It should work with default theme and the UIkit theme. A dedicated thread will be created in the modules forum soon. Do not hesitate to share here your results by providing your hosting type / provider / config, etc.
  14. Toolbar : Extra plugins : PS: A small suggestion @benbyf, you could include in the first post a) a small "howto customize" the ckeditor and/or b) a list of forum links where people can find useful information on "howto customize" the ckeditor (I remember that sometime I need to look at the javascript source-code of the plugin to find the right button-code to include in the ckeditor settings).
  15. @bernhard : by chance, maybe you used this module in the CRM you've made. Do you know if its possible to generate PDF document containing image charts (from the open-source chartJS lib) ?
  16. Hi and welcome to the forum @vanvt92, I think I am correct saying that there is no limit. You can create as much languages as you need. (but I am curious to see how a big language list is managed in the backend: fields's language tab).
  17. Nice tool @bernhard! I can upload Duplicator - as is - to Github at the end of the day if you would like to compare (maybe @bernhard grabbed a copy). I use the module every day so it should work for everyone at least with decents servers. stay tuned.
  18. Hi and welcome to the forum @paulb. To me, it look like you forgot to add the field to your template (I don't see this step in the tutorial). In the admin, go to Setup > Templates > your_template, add the field comments to it then save.
  19. Inside a hook in admin.php, you have to use $this or wire() to return an object. So $this->fields->get("sport_categorie"); will return your field. About the option field, look at the following code : $this->addHookAfter('Pages::saved', function($event) { $page = $event->arguments[0]; //set the page if($page->template == 'sport-verenigingen-overzicht') { //get the subcategories from the parent textarea, split on newline $subcats = preg_split('/[\n\r]+/', $page->subcats); //(also tried without imploding and adding the array, also doesnt work) //$subcats = implode("|",$subcats); $subcats = implode("\n",$subcats); //get the children $children = $page->children(); foreach ($children as $child) { //set the options(sport_categorie is the options field) //$child->sport_categorie = $subcats; //$child->save('sport_categorie'); $field = $this->fields->sport_categorie; $this->modules->get('FieldtypeOptions')->manager->setOptionsString($field, $subcats, true); $child->save($child->sport_categorie); } //if i use a normal textfield instead of an optionsfield, //all the children have the correct data e.g: test1|test2|test3 //how to get the values into the options field?? } });
  20. Check this thread and theses answers : If you still can't figure how it work, just post here, we will give you a working chunk code. Oh and welcome to the forum
  21. Hi, I don't have a direct answer to your question, but there is some discussions about that in the forum : and this module could help you, read carefully the module's description: https://modules.processwire.com/modules/amazon-s3-cloudfront/
  22. Open the configuration.php file in the Joomla root directory. Do you have access to PHPMyAdmin ? if not, use the extension @dragan suggested. Look like there is another plugin for that, its name : Backup Database And LOL
  23. PulsewayPush Send "push" from ProcessWire to Pulseway. Description PulsewayPush simply send a push to a Pulseway instance. If you are using this module, you probably installed Pulseway on your mobile device: you will receive notification on your mobile. To get more information about Pulseway, please visit their website. Note They have a free plan which include 10 notifications (push) each day. Usage Install the PulsewayPush module. Then call the module where you like in your module/template code : <?php $modules->get("PulsewayPush")->push("The title", "The notification message.", "elevated"); ?> Hookable function ___push() ___notify() (the two function do the same thing) Download Github: https://github.com/flydev-fr/PulsewayPush Modules Directory: https://modules.processwire.com/modules/pulseway-push/ Examples of use case I needed for our work a system which send notification to mobile device in case of a client request immediate support. Pulseway was choosen because it is already used to monitor our infrastructure. An idea, you could use the free plan to monitor your blog or website regarding the number of failed logins attempts (hooking Login/Register?), the automated tool then block the attacker's IP with firewall rules and send you a notification. - - - 2017-11-22: added the module to the modules directory
  24. Checking right now. Thanks you. Edit: ModuleSettingsImportExport , version 0.2.7 installed, look like its the latest version (checked Github). I am going to re-install everything at the end of the afternoon if I can't solve this issue ---------- @adrian I upgraded TracyDebugger from 4.6.18 to 4.7.13. I can't say if this is related to Tracy or not, but everything is fine now! wouhou!
×
×
  • Create New...