Jump to content

flydev

Members
  • Posts

    1,366
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by flydev

  1. Thanks @szabesz! - About the links, Its actually updated in the next version - ProcessDuplicator will have a "clear logs" button and a "downloads logs" button as the logging mechanism has changed a bit in the new version @dragan there is nothing wrong, I just made a mistake. give me two minutes
  2. Hi, Just an idea, you could create a new role, e.g. "cron-role" and assign to this role the permission "page-view". Then you add a new user, e.g. "cron-user" and assign to this new user the new role "cron-role". Now you add the role "cron-role" to the template you want to access the email field via "Template > Access". And in your bootstrapped script, you could write something like: <?php namespace ProcessWire; include_once ('/path/to/pw/index.php'); $cronuser = wire('users')->get('cron-user'); // get the user "cron-user" if($cronuser instanceof User) wire('users')->setCurrentUser($cronuser); // if found, set the current user to "cron-user" else die('bad user'); // not sure about the die() call but whatever its an example if($cronuser->hasRole("cron-role")) { // check if the role is assigned echo wire('pages')->get('/mysekretpage/')->sekretemailfield; // get the sekret field } else { echo 'access denied'; }
  3. Good ! and for the GoDaddy host then, you have to upgrade PHP through CPanel to at least PHP 5.6 and "maybe" it will work I say maybe because as crappy shared host, you will may encounter timeout issue there. If you upgrade your host and test Duplicator on it, let me know if you managed to build a package successfully. Thanks!
  4. Thanks, yeah it can be the issue. I am googling just to be sure. Thanks again for your input on this. @jacmaes could you check which version of PHP is installed on the GoDaddy host ? Its almost sure that is a PHP config server error.
  5. What is the version of your ProcessWire installation ? I tested it on 2.8 and 3.x and everything is running fine.
  6. As the readme say, you have to only upload/merge the SDKs folder which reside inside the Duplicator-SDKs folder. After downloading and opening the Duplicator-SDKs ZIP archive, you have this tree :
  7. Thanks for the feedback @jacmaes! I just tested and uploaded the SDKs for Amazon and GoogleDrive. Its available for download at : https://github.com/flydev-fr/Duplicator-SDKs
  8. I will try to find the time this week @szabesz Also, if you got 5 minutes and you still have the 1&1 host account, could you test duplicator on it ? I just built a package successfully on 1&1
  9. Module updated to version 1.1.6, I fixed what we discussed here and included various small fix in ProcessDuplicator and GoogleDrive.
  10. I read you too fast! Ok yes I forgot to update this link! Will fix it in 1.1.6 - Thanks theo ! @msavard and did you tried the 1.1.5 if it solve your issue ? Also a small tip for you in case you're not aware. You can use this module - ProcessWireUpgrade - and update the module you want in one click.
  11. Could you check (inspect) with your browser the data attribute of the "Delete All" button please ? The result should be something like this :
  12. Answering from my mobile. Good catch ! I will update the module with your patch, we need now to alert the user that some files are not resdable and thus excluded from the zip. Thanks again @theo!
  13. Hi @theo If TracyDebugger is not installed, then install it and re-run Duplicator to see if the debugger catch an error or warning. Then check the PHP error log to if there is something wrong. And If you got a bit time, then you can try to debug the buildDatabaseBackup(), buildProcessWireBackup and buildPackage() functions with putting tracy's shortcut bd($your_var) everywhere Or just wait that I implement more logging in the module (I will try to find the time today). Edit: looking at the screenshot, it look like buildProcessWireBackup() run fine.
  14. I just installed a fresh XAMP on a Windows machine for a test and everything worked there. (XAMP and the bitnami PW module) Are you running the last version of Duplicator (1.1.5) ? When you say briefly, did you mean "instantly" ? if yes, it can be the problem that @theo encountered which is fixed in the 1.1.5. Please let me know, thanks you.
  15. The module is updated : - fixed ProcessDuplicator - packages listed in ProcessDuplicator are now blended and re-ordered correctly by timestamps @msavard Hi and welcome here! About your issue, it is hard say without furthermore information. It can be a memory issue or a timeout issue. Which version of ProcessWire / PHP are you trying to run Duplicator on ? Which hosting provider are you using ? Are you on vps, shared host ? Could you check the duplicator log (in /site/assets/logs/duplicator.log), the server and PHP error logs ?
  16. Thanks for the code snippet @adrian , I think that checking for mod_userdir is not needed anymore as the only issue occurring with this apache module was getting the backend url, which is fixed by using $config->urls->httpAdmin I will push the update in an hour or so. Thanks!
  17. It return an URL, not the path In this case, the URL of your admin page which is valid. @adrian I think I already tried but not in depth to blend them. I will look at it more closely, its definitely a good idea.
  18. I was going to post it as the result is weird normal..., but didn't knew about httpAdmin ! I am so tired...
  19. I will make Duplicator more verbose about the logs in the next version. Thanks again for your time. Stay tuned
  20. I just tested Duplicator on 2.7.2 fresh install, everything is fine. Testing with mod_userdir... I will edit this post. Edit: @theo yep it work on my side with mod_userdir, ProcessWire 2.7.2, Duplicator 1.1.4 Maybe removing the cache and/or a modules refresh could fix it.
  21. @theo : I just pushed a fix - now Duplicator work with Apache mod_userdir. If you can upgrade the module to the latest version from Github or the module directory (version 1.1.4) and report back, I will be happy edit: don't forget to change the const DUP_MIN_VERSION
  22. @jacmaes Could you test the last version (1.1.3) please ?
  23. Never saw this issue with a FTP server, maybe its a specific settings of the server ? Do you have good results uploading a conventional file, like a "foobar.txt", an image or even a zip file ? I think I found the issue, it has nothing to do with server, I am dumb. I will push a fix. If I have the time, i will upload the SDKs tonight - I have to update and test them before. --- I can confirm this issue as I could reproduce it right now, I will find a fix.
  24. Thanks to you for reporting it back. I will test it on a server with mod_userdir installed today.
  25. Thanks - ok, there is no file because Duplicator has not run at least one time. Maybe the PHP script is killed abruptly. Please check your PM. edit: I didn't saw the last error message, there is something broken with the path.
×
×
  • Create New...