Title: Happy Coder's Replies | WordPress.org

---

# Happy Coder

  [  ](https://wordpress.org/support/users/lovemesomecode/)

 *   [Profile](https://wordpress.org/support/users/lovemesomecode/)
 *   [Topics Started](https://wordpress.org/support/users/lovemesomecode/topics/)
 *   [Replies Created](https://wordpress.org/support/users/lovemesomecode/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/lovemesomecode/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/lovemesomecode/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/lovemesomecode/engagements/)
 *   [Favorites](https://wordpress.org/support/users/lovemesomecode/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/users/lovemesomecode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/lovemesomecode/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/lovemesomecode/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photoswipe Masonry Gallery] Performance issues](https://wordpress.org/support/topic/performance-issues-25/)
 *  [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/performance-issues-25/#post-9801557)
 * Thank you.
 * Will V2 still use jQuery?
 * As it stands V1 is quite solid except using jQuery, whereas the issues for V2
   are quite numerous looking at the repo.
 * Do you think or are of the impression that V2 is so much better than V1?
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photoswipe Masonry Gallery] Performance issues](https://wordpress.org/support/topic/performance-issues-25/)
 *  [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/performance-issues-25/#post-9774820)
 * Checked the repo and could not find jQuery except in these two files
 * [https://github.com/thriveweb/photoswipe-masonry-v2/blob/master/frontend/js/photoswipe-masonry.js](https://github.com/thriveweb/photoswipe-masonry-v2/blob/master/frontend/js/photoswipe-masonry.js)
 * [https://github.com/thriveweb/photoswipe-masonry-v2/blob/master/frontend/js/photoswipe-lazyload.js](https://github.com/thriveweb/photoswipe-masonry-v2/blob/master/frontend/js/photoswipe-lazyload.js)
 * Proposal, what would it cost to have your guys write that in vanilla JS?
 * Happy to pay for a vanilla JS version of this plugin. Photoswipe itself is vanilla
   JS, that being one of the reasons what makes it so fast.
 * Would get cracking at it myself however still learning. Seeing that the old version
   uses jQuery in \wp-content\plugins\photoswipe-masonry\photoswipe-masonry.js made
   me sad as this is a HUGE payload for the site. Generally I am trying to keep 
   away from an plugins that use jQuery. Writing it all in vanilla JS could speed
   this thing up plenty fold.
 * Managed to get 100% on the GPSI (Google PageSpeed Insights) score though by inlining
   the jQuery load and moving registered and enqueued stylesheets and script to 
   footer and partly loading them async. However all this can be avoided with some
   vanilla JS.
 * What do you think?
    Also is the repo you linked under active development? There
   are lots of issues/improvements happening, be sure I am watching this very closely.
   Thank you heaps for your effort. Let me know if I can be of any help, thank you.
   Perhaps you could get donations going to support your dev time? I am sure if 
   a couple of people support your work hours this could be done in no time.
    -  This reply was modified 8 years, 7 months ago by [Happy Coder](https://wordpress.org/support/users/lovemesomecode/).
      Reason: added more text
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Set wp-cli environment variable WP_CLI_PACKAGES_DIR on Windows?](https://wordpress.org/support/topic/set-wp-cli-environment-variable-wp_cli_packages_dir-on-windows/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/set-wp-cli-environment-variable-wp_cli_packages_dir-on-windows/#post-9213689)
 * Due to help from [@schlessera](https://wordpress.org/support/users/schlessera/)
   and [@danielhuesken](https://wordpress.org/support/users/danielhuesken/) on the#
   cli WordPress Slack channel I found out what I had to do.
 * Instead of setting a PATH value in the Windows environment variables I had to
   make a **new** variable called `WP_CLI_PACKAGES_DIR` and set the value of that
   variable to `C:\Users\YOUR_WINDOWS_YOURSERNAME_HERE\.wp-cli\packages`.
 * I also had to create the folder `packages` under `C:\Users\YOUR_WINDOWS_YOURSERNAME_HERE\.
   wp-cli\`. The folder was not created automatically.
 * After that though Composer was complaining that PHP does not have enough memory
   and so I permanently increased the memory from `128M` to `512M` in the php.ini
   file.
 * Now I could install the wp-cli package just fine, ran it and it also worked perfectly.
 * Reference links:
    [https://superuser.com/questions/949560/how-do-i-set-system-environment-variables-in-windows-10](https://superuser.com/questions/949560/how-do-i-set-system-environment-variables-in-windows-10)
 * [https://make.wordpress.org/cli/handbook/common-issues/#php-fatal-error-allowed-memory-size-of-999999-bytes-exhausted-tried-to-allocate-99-bytes](https://make.wordpress.org/cli/handbook/common-issues/#php-fatal-error-allowed-memory-size-of-999999-bytes-exhausted-tried-to-allocate-99-bytes)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] Site not online, just a blank wp-install](https://wordpress.org/support/topic/site-not-online-just-a-blank-wp-install/)
 *  [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years ago](https://wordpress.org/support/topic/site-not-online-just-a-blank-wp-install/#post-7552649)
 * Yes would be great to **inform users** about the upper- and lowercase differences
   on Windows and Mac systems regardless of the plugin’s capabilities.
 * Basically stick to lowercase table names.
 * Thank you Cory.
 * Hope this did the trick for theokoopman as well.
 * [@theokoopman](https://wordpress.org/support/users/theokoopman/) Would be interested
   to hear from you if this solved the issue for you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] Cannot restore – always promted to do fresh WP install](https://wordpress.org/support/topic/cannot-restore/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years ago](https://wordpress.org/support/topic/cannot-restore/#post-7555531)
 * Given [this post by plugin author](https://wordpress.org/support/topic/site-not-online-just-a-blank-wp-install?replies=4#post-8621025)
   I am resolving this issue.
 * **Yes** would be great to **inform users** about the upper- and lowercase differences
   on Windows and Mac systems regardless of the plugin’s capabilities.
 * Thank you Cory
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] Cannot restore – always promted to do fresh WP install](https://wordpress.org/support/topic/cannot-restore/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years ago](https://wordpress.org/support/topic/cannot-restore/#post-7555455)
 * > **To avoid problems caused by such differences, it is best to adopt a consistent
   > convention, such as always creating and referring to databases and tables using
   > lowercase names. This convention is recommended for maximum portability and
   > ease of use.**
 * [http://dev.mysql.com/doc/refman/5.7/en/identifier-case-sensitivity.html](http://dev.mysql.com/doc/refman/5.7/en/identifier-case-sensitivity.html)
 * Quite simple. User **lowercase** for your WP table prefix in wp-config.php and
   you are fine on any host and with Duplicator.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] Cannot restore – always promted to do fresh WP install](https://wordpress.org/support/topic/cannot-restore/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years ago](https://wordpress.org/support/topic/cannot-restore/#post-7555451)
 * Happy to post the fix.
 * [https://wordpress.org/support/topic/duplicator-creates-a-new-install-not-a-duplicate?replies=38#post-7752708](https://wordpress.org/support/topic/duplicator-creates-a-new-install-not-a-duplicate?replies=38#post-7752708)
 * and
 * [http://stackoverflow.com/questions/5659835/xampp-and-mysql-all-colimns-in-table-are-lower-case-in-php](http://stackoverflow.com/questions/5659835/xampp-and-mysql-all-colimns-in-table-are-lower-case-in-php),
 * particularly, this answer
 * [http://stackoverflow.com/a/8587744](http://stackoverflow.com/a/8587744)
 * was the solution for me.
 * If you are on Windows or Mac using XAMPP, WAMP, etc. and you **want** to use 
   case senSiTiVe characters for your table names, so to speak, if you set a case
   sensitive table prefix in your `wp-config.php` like so
 * `$table_prefix = 'hfjRhjgvnjmDzgnme_';`
 * then you must set
 * `lower_case_table_names = 0` in your `my.ini` file
 * in the `[mysqld]` section of that file.
    Find the `my.ini` file in the \mysql\
   bin\ folder of your XAMPP or WAMP installation.
 * And **then** you must deal with the warning that Duplicator correctly throws 
   you during scanning.
 * **Though your MySQL databse will be restored correctly with case senSiTiVe characters
   as table prefix to the host/server!**
 * Duplicator works **regardless of this MySQL configuration**! Attention there 
   Windows and Mac users!
 * Depending on where you restore the archive to the MySQL configuration might be
   different, it can happen that WP does not recognize the WP install because the
   table prefix is all lowercase and because of that WP throws the install screen
   as it wants to create a new set of a database.
 * > 3. For table name case sensitivity issues either rename the table with lower
   > case characters or be pre-paired to work with [the lower_case_table_names system variable setting](http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_lower_case_table_names).
 * [would be good to change `per-paired` to `prepared`]
 * So do we have to use lowercase table prefixes on Windows and Mac machines if 
   we want to work with various hosts?
 * **Are lowercase table names the (preferred) standard?**
 * I assume so since many hosting companies are based on Linux systems, no?
 * Duplicator does the job right, though the table names are **borked** if you are
   on Windows or Mac and use UPPERCASE characters in your table prefix.
 * So basically the chances are quite high of someone running into this error. Attention
   there users, this is not really Duplicator related.
 * How could Duplicator though kind of warn users on Windows or Mac systems about
   the use of UPPERCASE characters as table prefix?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] Site not online, just a blank wp-install](https://wordpress.org/support/topic/site-not-online-just-a-blank-wp-install/)
 *  [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years ago](https://wordpress.org/support/topic/site-not-online-just-a-blank-wp-install/#post-7552608)
 * Might have a fix for you.
 * Can you just quickly confirm, you are on Windows machine obviously (WAMP), and
   I guess you have CAPITAL letters in your `wp-config.php` file as `$table_prefix`
   values, right?
 * Something like: `$table_prefix = 'CapitaAl_';`
 * If you do, try using **only lowercase characters** as `$table_prefix` values 
   and see if that works. Curious to see if that helped you.
 * Kind Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] Cannot restore – always promted to do fresh WP install](https://wordpress.org/support/topic/cannot-restore/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years ago](https://wordpress.org/support/topic/cannot-restore/#post-7555396)
 * Jan, following forum etiquette since day one but thank you for letting me know.
 * More important, this situation is different because of these key points.
 * 1.
    [The other person that has this issue and keeps having this issue](https://wordpress.org/support/topic/site-not-online-just-a-blank-wp-install)
   has marked the thread as resolved but the solution is not given.
 * 2.
    The other point, that server versions differing might be the issue is also
   ruled out and confirmed in that other person’s thread.
 * 3.
    The other person’s issue is exactly the same issue I am having, so not distracting
   from other people’s problems but rather letting the devs know that there are 
   multiple people suffering from the same issue possibly directing more interest
   for this issue.
 * 4.
    When I come to the support forum to check for people with similar issues 
   I was at first happy to see a **resolved** thread with the issue I am having.
   Quickly did I have to see that in fact this is not resolved, neither for the 
   other person or for myself.
 * **These** are the points that led me to posting that I am having this issue too.
 * I am now going to post a last time in that other person’s thread, simply stating
   that I am also having exactly the same issue. Please do not delete this post 
   because of the above mentioned points.
 * Thank you for your understanding and help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] Cannot restore – always promted to do fresh WP install](https://wordpress.org/support/topic/cannot-restore/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years ago](https://wordpress.org/support/topic/cannot-restore/#post-7555381)
 * Also see here, server versions are the same.
    [https://lh3.googleusercontent.com/-XrufIXDPbYE/V3-SW7zVcwI/AAAAAAAACNs/YJHd9V2cd14kvXL3cNotLYLakL8T00T7QCCo/s0/Duplicator%2B003.png](https://lh3.googleusercontent.com/-XrufIXDPbYE/V3-SW7zVcwI/AAAAAAAACNs/YJHd9V2cd14kvXL3cNotLYLakL8T00T7QCCo/s0/Duplicator%2B003.png).
   This is already `installer.php` running on the host with db setup freshly and
   ready to deploy.
 * Did check out this thread [https://wordpress.org/support/topic/site-not-online-just-a-blank-wp-install?replies=4](https://wordpress.org/support/topic/site-not-online-just-a-blank-wp-install?replies=4)
   but the error cannot be due to server versions differing.
 * If you like I can set up a subdomain with user and pass and give you access to
   run the restore yourself. It is a basic approx. 8MB file to restore the default
   WP 4.5.3.
 * Whatever I do I get the WP fresh install screen showing up.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] The current check for large files is 3MB per file](https://wordpress.org/support/topic/the-current-check-for-large-files-is-3mb-per-file/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/the-current-check-for-large-files-is-3mb-per-file/#post-7295894)
 * Thank you for your reply.
 * You mean in Archive – Files – **IF** `Enable File Filters` **IS TICKED** only
   then the `Directories` and `File Extensions` that are given **WILL** be skipped,**
   BUT** if they are not selected as per default setting then all directories and
   files will be backed up. Do I understand this correctly?
 * Regards
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Best Import] Review adjusted](https://wordpress.org/support/topic/does-not-work-497/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/does-not-work-497/#post-7993577)
 * **SOLUTION**
 * > [WordPress Importer Redux](https://make.wordpress.org/core/2015/11/18/wordpress-importer-redux/)
 * [https://github.com/humanmade/WordPress-Importer](https://github.com/humanmade/WordPress-Importer)
 * SOLUTION
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WordPress Importer] SAVE YOUR TIME AND NERVES – KEEP CLEAR OF THIS RUBBISH](https://wordpress.org/support/topic/save-your-time-and-nerves-keep-clear-of-this-rubbish/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/save-your-time-and-nerves-keep-clear-of-this-rubbish/#post-7993576)
 * **SOLUTION**
 * > [WordPress Importer Redux](https://make.wordpress.org/core/2015/11/18/wordpress-importer-redux/)
 * [https://github.com/humanmade/WordPress-Importer](https://github.com/humanmade/WordPress-Importer)
 * SOLUTION
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] The current check for large files is 3MB per file](https://wordpress.org/support/topic/the-current-check-for-large-files-is-3mb-per-file/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/the-current-check-for-large-files-is-3mb-per-file/#post-7295885)
 * Have 2 hosting plans, a fast local one (meaning from a local business that is
   rated #1 in the country I am in) with 35GB space, unlimited domains, traffic 
   and mysql dbs. Fast support, nice people, good setup, SFTP, etc. all works.
 * The other one is “Happy Hosting” from DreamHost and I can only really recommend
   DreamHost. Never had a single hiccup with them so far. Just starting out but 
   already 50% of the cost of these two plans is being paid by clients that host
   their websites I developed with the plans. With a few more clients the hosting
   will pay for itself, then I might upgrade the plans and pass on the benefits 
   to my clients without charging them extra.
 * I thought the warning means that files over 3MB won’t be backed up.
 * Your last reply did make this crystal clear now. No use in changing the setting
   in that case, thought by changing the setting I can tell it to also backup files
   over 3MB file size.
 * I assume, since your plugin makes a very solid impression, **IF** at all there
   are files that have **not** been backed up it will either show in the log at 
   the end of creating the package or it will show up in some sort of red writing
   at the Step 3 summary, right?
 * You can be sure I am really really enjoying this plugin and as soon as I have
   got a few WP clients going and maintenance, uploading, downloading, deploying,
   etc. takes too much time your plugin will be the first one to be considered for
   going Pro.
 * Really amazing work! So easy and it just works and works and works! Thank you.
   🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More] The current check for large files is 3MB per file](https://wordpress.org/support/topic/the-current-check-for-large-files-is-3mb-per-file/)
 *  Thread Starter [Happy Coder](https://wordpress.org/support/users/lovemesomecode/)
 * (@lovemesomecode)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/the-current-check-for-large-files-is-3mb-per-file/#post-7295873)
 * Important addition.
 * I assume the file size limit is done in binary notation?
 * `define("DUPLICATOR_SCAN_WARNFILESIZE", 3145728); //3MB`
 * 3 MB = 3145728 Bytes (in binary)
 * Is the file size maximum limit set somewhere else in the plugin or could I technically
   set the file site limit also to
 * 50 MB = 52428800 Bytes (in binary)
 * ?
 * Thank you.
 * Kind Regards

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/users/lovemesomecode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/lovemesomecode/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/lovemesomecode/replies/page/2/?output_format=md)