-
Posts
328 -
Joined
-
Last visited
-
Days Won
10
Autofahrn last won the day on May 14 2019
Autofahrn had the most liked content!
Contact Methods
-
Website URL
http://www.team-tofahrn.de/en/
Profile Information
-
Gender
Male
-
Location
Germany
Recent Profile Visitors
Autofahrn's Achievements
Sr. Member (5/6)
417
Reputation
-
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
Sounds like the session variables do not survive, maybe cookies disabled? -
Just in case I am not the only one trying to use this great (thanks @owzim!) module inside a repeater with dynamic (AJAX) load of items, it indeed works using the "current" (Oct 2017) dev version along with a tiny fix in ace-extended.js: The issue is, that acefy is invoked multiple times for the same inputfield, which finally seems to trash the JS engine. Just add two lines of code right before $textarea.each (in acefy): : //Fix: Avoid duplicate and recursive invocation of acefy if($textarea.hasClass(ACE_INITIALIZED_CLASS)) return; $textarea.addClass(ACE_INITIALIZED_CLASS); // Mark wrapper as initialized //FixEnd $textarea.each(function() { : and add an appropriate initialization for ACE_INITIALIZED_CLASS at the head of the module: ACE_INITIALIZED_CLASS = 'AceInitialized'
-
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
@Marcel_MIf you PM me that (zipped) logfile I may have a look. Cause should be found there. -
Multi Language site with one domain per language
Autofahrn replied to gebeer's topic in Multi-Language Support
At least in my setups I prefer to see the same content, regardless if I come from the international domain (i.e. www.domain.com/pagename) or use the language sub-path (www.domain.de/en/pagename). Sure you could, with this setup its just not necessary. -
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
Since get_magic_quotes_gpc returns FALSE from PHP 5.4, the installer line $value = get_magic_quotes_gpc() ? stripslashes($_POST[$field]) : $_POST[$field]; safely could be replaced with $value = $_POST[$field]; (assuming you are not installing on a legacy platform) -
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
@GhostRider, what's wrong with the 'Custom excluded files and paths' box? To exclude a path simply enter it without a file pattern like: /site/assets/pwpw/ /vendorOrAnyCustomDirectoryAtThisLevel/ To exclude the ProCache stuff using a regular expression should do: %/ProCache-[^/]+$% # Ignore ProCache directory To exclude image variants you may try this: %\.\d+x\d+\.[^/]+$% # Ignore variants created by PW -
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
That's a quite short time, timeout should be 120 resp. 600 seconds from what I see in the code. The backup is effectively performed using a regular WireDatabaseBackup. Could this be a security issue with cron running from a different user? Sorry, no real idea. -
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
strange, the link should lead you to the last post on page 14, which contains the update. Not sure why it points to the first page. Tricked myself, the up arrow links to the correct post. Duplicator-ATO1.3.13.zip -
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
@adrian, if you use the duplicator.module 1.3.13 from this post, it should remove those issues: No idea regarding the mysql issues, I don't have that large databases. -
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
FTP (and any cron related stuff) failed due to the false error seen in the log (introduced with the new package format). -
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
Sorry, I somehow missed the FTP part since already the package build seems to fail. And there should be the name of the zipfile in the "package build failed, <ZipNameExpectedHere> doesn't exist" message. Seems to be a Windows system, guess there could be an issue with the backslash path separator. Edit: The attached version 1.3.13 fixes the (false) package build error, supports custom package name and allows prefixing local path with ~/ to refer to webroot. Duplicator-ATO1.3.13.zip -
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
~ syntax is not implemented yet. What absolute path did you use? Should equal whatever is stored in $config->paths->root to be located inside your webroot. -
☁️ Duplicator: Backup and move sites
Autofahrn replied to flydev's topic in Module/Plugin Development
@dragan: are you working on a shared server or do you indeed have a /public_html directory right at filesystem's root? "absolute path" relates to filesystem not webroot, so you are free to locate the backup destination somewhere else. It probably would be a good idea to support the regular home prefix, so path may be entered relative to webroot (something like "~/backup-folder"), at the moment you have to prefix the path with the location of your webroot. -
Autofahrn started following Interest in admin read-only permission?
-
Not sure if you refer to my experimental tweak to get a read-only demo view for the RepeaterFlex in admin: https://pwflex.team-tofahrn.de/?preview=PG132107923 There only was a miniature "discussion" in closed RepeaterMatrix section:
-
A more complex approach would be a new fieldtype which allow to browse and select through the SmugMug API. Edit: just found this, which may help to go that way: http://phpsmug.com/