Magistar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Unable to update coreUploading from ftp worked. Is there any way to prevent these issues?
Forum: Fixing WordPress
In reply to: edit_published_posts change to true?Hmm I would assume you can add a filter or something. But codex is really unclear on this topic :(.
Forum: Plugins
In reply to: [W3 Total Cache] Issue after migrating to new hostI managed to disable the plugin, uninstall it and then manually delete the advanced-something file and the wtc3-config folder. I also deleted the entire “cache” directory.
AFter that I installed W3 total cache again and now it seems operational.
Forum: Plugins
In reply to: [W3 Total Cache] Issue after migrating to new hostI did a search
Search results for “w7478506/” at least one of the words:
0 matches in wp_commentmeta
0 matches in wp_comments
0 matches in wp_ewwwio_images
0 matches in wp_links
0 matches in wp_options
0 matches in wp_postmeta
0 matches in wp_posts
0 matches in wp_term_relationships
0 matches in wp_term_taxonomy
0 matches in wp_terms
0 matches in wp_usermeta
0 matches in wp_users
0 matches in wp_wangguardcronjobs
0 matches in wp_wangguardquestions
0 matches in wp_wangguardreportqueue
0 matches in wp_wangguardsignupsstatus
0 matches in wp_wangguarduserstatus
0 matches in wp_wsluserscontacts
0 matches in wp_wslusersprofilesNo results. So no idea where totalcache gets this from!
Forum: Fixing WordPress
In reply to: Unable to install/remove plugins (failed to .. directory)I have been able to furhter isolate the issue:
New installatron wordpress installation>I can install
Upload my “wp-content” directory> Lose write acces regardless of 777.I fixed it with “reset ownership” in DirectAdmin.
Forum: Installing WordPress
In reply to: Moving wordpress hindered by fielpaths in SQL dumpOk I managed to “solve” this issue by editing the .sql file with Notepad++ and using find/replace on all instances to the new DirectAdmin username.
Forum: Plugins
In reply to: No savings?Debug Log SYSTEM WP version: 3.9.1 EWWW IO version: 192 ewww_image_optimizer_admin_init() ewww_image_optimizer_install_tools() Checking/Installing tools in C:\xampp\htdocs\gp1/wp-content/ewww/ wp-content/ewww permissions: 0777 ewww_image_optimizer_install_paths() generated paths: C:\xampp\htdocs\gp1\wp-content\plugins\ewww-image-optimizer/jpegtran.exe C:\xampp\htdocs\gp1\wp-content\plugins\ewww-image-optimizer/optipng.exe C:\xampp\htdocs\gp1\wp-content\plugins\ewww-image-optimizer/gifsicle.exe C:\xampp\htdocs\gp1\wp-content\plugins\ewww-image-optimizer/pngquant.exe C:\xampp\htdocs\gp1/wp-content/ewww/jpegtran.exe C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe C:\xampp\htdocs\gp1/wp-content/ewww/gifsicle.exe C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe ewww_image_optimizer_init() ewww_image_optimizer_savings_script() here is your hook: media_page_ewww-image-optimizer-bulk ewww_image_optimizer_notice_utils() ewww_image_optimizer_exec_check() disable_functions = suhosin_blacklist = ewww_image_optimizer_safemode_check() safe_mode = ewww_image_optimizer_path_check() found C:\xampp\htdocs\gp1/wp-content/ewww/jpegtran.exe, testing... ewww_image_optimizer_tool_found() testing case: j at "C:\xampp\htdocs\gp1/wp-content/ewww/jpegtran.exe" "C:\xampp\htdocs\gp1/wp-content/ewww/jpegtran.exe": Independent JPEG Group's JPEGTRAN, version 9 13-Jan-2013 ewww_image_optimizer_md5check() C:\xampp\htdocs\gp1/wp-content/ewww/jpegtran.exe: dabf8173725e15d866f192f77d9e3883 found C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe, testing... ewww_image_optimizer_tool_found() testing case: o at "C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe" "C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe": OptiPNG version 0.7.4 ewww_image_optimizer_md5check() C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe: 293e26924a274c6185a06226619d8e02 found C:\xampp\htdocs\gp1/wp-content/ewww/gifsicle.exe, testing... ewww_image_optimizer_tool_found() testing case: g at "C:\xampp\htdocs\gp1/wp-content/ewww/gifsicle.exe" "C:\xampp\htdocs\gp1/wp-content/ewww/gifsicle.exe": LCDF Gifsicle 1.78 (Windows) ewww_image_optimizer_md5check() C:\xampp\htdocs\gp1/wp-content/ewww/gifsicle.exe: fe94420e6c49c29861b95ad93a3a4805 found C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe, testing... ewww_image_optimizer_tool_found() testing case: q at "C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe" "C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe": 2.0.0 (March 2013) ewww_image_optimizer_md5check() C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe: 6eff276339f9ad818eecd347a5fa99e2 using: "C:\xampp\htdocs\gp1/wp-content/ewww/jpegtran.exe" using: "C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe" using: "C:\xampp\htdocs\gp1/wp-content/ewww/gifsicle.exe" using: "C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe" ewww_image_optimizer_bulk_preview() ewww_image_optimizer_count_optmized() scanning for media fetched 215 attachments starting at 0 counting images took 0.062400102615356 seconds found 215 fullsize (210 unoptimized), and 2607 resizes (2545 unoptimized) ewww_image_optimizer_aux_images()
Individual image
Optimized image: C:\\xampp\\htdocs\\gp1/wp-content/uploads/images\\android\\streaming\\android-mxplayer.png No savings Elapsed: 1.186 seconds SYSTEM WP version: 3.9.1 EWWW IO version: 192 ewww_image_optimizer_admin_init() ewww_image_optimizer_install_tools() Checking/Installing tools in C:\xampp\htdocs\gp1/wp-content/ewww/ wp-content/ewww permissions: 0777 ewww_image_optimizer_install_paths() generated paths: C:\xampp\htdocs\gp1\wp-content\plugins\ewww-image-optimizer/jpegtran.exe C:\xampp\htdocs\gp1\wp-content\plugins\ewww-image-optimizer/optipng.exe C:\xampp\htdocs\gp1\wp-content\plugins\ewww-image-optimizer/gifsicle.exe C:\xampp\htdocs\gp1\wp-content\plugins\ewww-image-optimizer/pngquant.exe C:\xampp\htdocs\gp1/wp-content/ewww/jpegtran.exe C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe C:\xampp\htdocs\gp1/wp-content/ewww/gifsicle.exe C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe ewww_image_optimizer_init() ewww_image_optimizer_aux_images_loop() ewww_image_optimizer() permissions: 0666, owner: unknown, group: unknown ewww_image_optimizer_mimetype() testing mimetype: C:\\xampp\\htdocs\\gp1/wp-content/uploads/images\\android\\streaming\\android-mxplayer.png getimagesize: image/png ewww_image_optimizer_tool_found() testing case: n at nice nice: nice wordt niet herkend als een interne ewww_image_optimizer_tool_found() testing case: n at /usr/bin/nice /usr/bin/nice: Het systeem kan het opgegeven pad niet vinden. ewww_image_optimizer_tool_found() testing case: n at /usr/local/bin/nice /usr/local/bin/nice: Het systeem kan het opgegeven pad niet vinden. ewww_image_optimizer_tool_found() testing case: n at /usr/gnu/bin/nice /usr/gnu/bin/nice: Het systeem kan het opgegeven pad niet vinden. ewww_image_optimizer_tool_found() testing case: n at /usr/syno/bin/nice /usr/syno/bin/nice: Het systeem kan het opgegeven pad niet vinden. original filesize: 99819 PNG to JPG conversion turned off ewww_image_optimizer_check_table() ewww_image_optimizer_path_check() found C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe, testing... ewww_image_optimizer_tool_found() testing case: o at "C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe" "C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe": OptiPNG version 0.7.4 ewww_image_optimizer_md5check() C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe: 293e26924a274c6185a06226619d8e02 found C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe, testing... ewww_image_optimizer_tool_found() testing case: q at "C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe" "C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe": 2.0.0 (March 2013) ewww_image_optimizer_md5check() C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe: 6eff276339f9ad818eecd347a5fa99e2 using: "C:\xampp\htdocs\gp1/wp-content/ewww/optipng.exe" using: "C:\xampp\htdocs\gp1/wp-content/ewww/pngquant.exe" ewww_image_optimizer_update_table() savings: 99819 (new) vs. 99819 (orig) original and new file are same size, no savings creating new record, path: C:\\xampp\\htdocs\\gp1/wp-content/uploads/images\\android\\streaming\\android-mxplayer.png, size: 99819
Forum: Fixing WordPress
In reply to: Pagebreak table of contents?Thanks for the effort but I really want to split my posts into pages.
If you checkout review sites in general you will notice there are usually 10 pages. Putting that on one large page with a Table of Content in the header is not the way to go.
Most of them use a dropdown box with page titles as selector.
Forum: Fixing WordPress
In reply to: Protecting admin without disturbing users?Yes. Last year my Joomla site got injected with a different admin password. The only reason nothing happened too my site was that the .htaccess protection on /administrator/ meant they still could not login.
On wordpress with limitloginattempts I am getting daily (!) warnings that someone has tried “admin” for 10 times and has been locked out for 24 hours.
So security concers me :P.
Update:
I was able to get the plugin to display in the footer. When I drag the exact same widget (shortcode, HTML Javascript Adder) to the side bar it does not show.I have no idea why this shortcode would not work on the sidebar. I tried [su_box] text [/su_box] from Shortcodes Ultimate and that did work!
Forum: Fixing WordPress
In reply to: Can I safely remove generated thumbs?Gallery wont help me here I am afraid. Root cause is the theme. My theme is telling WordPress to generate the following images:
$et_theme_image_sizes = array( '578x420' => 'et-featured-first', '578x208' => 'et-featured-second', '578x280' => 'et-featured-category', '287x208' => 'et-featured-third', '160x160' => 'et-recent-post-image', '319x160' => 'et-popular-post-image', '639x160' => 'et-popular-post-big-image', '240x240' => 'et-category-image', '321x214' => 'et-recent-first-image', '60x60' => 'et-tabs-image-small', ); $et_page_templates_image_sizes = array( '184x184' => 'et-blog-page-thumb', '207x136' => 'et-gallery-page-thumb', '260x170' => 'et-portfolio-medium-page-thumb', '260x315' => 'et-portfolio-medium-portrait-page-thumb', '140x94' => 'et-portfolio-small-page-thumb', '140x170' => 'et-portfolio-small-portrait-page-thumb', '430x283' => 'et-portfolio-large-page-thumb', '430x860' => 'et-portfolio-large-portrait-page-thumb', );
Basically images are called into the template by name, so the-picture-578×420.jpg would be called in a feature box.
The theme was loading full size images of 1680×1050 and displaying 20% through css. So I added one myself in functions.php:
add_image_size( 'featured-sdk', 1280, 400, array( 'center', 'top' ) ); // Hard crop center top
I guess this results in two questions
1) Can WP-Thumb deal with this?
The array seems to select the first image version that exists. Wont that be problematic?2) Can I go about this the other way?
Meaning I just completely disable the .php array for image generation. Then use script X to loadup the exact function for just the picture I need. Is it hard to call a function from the admin panel somewhere?ps I already completely removed the second array because I never use the additional page layouts such as Portofolio. I also went in WordPress and set the “medium” size to 0x0.
Forum: Plugins
In reply to: [Scripts To Footer] Do you recommend this plugin?Google’s pagerank showed some “warnings” about blocking css elements for the mobile page.
(Totalcache combine somehow produced 3 css files that had each had a 903ms wait).
So thanks for the warning regarding moving it manually! I thought it would be like javascript :).
I don’t think re-importing my pictures is an options. I am not using a gallery. I am writing guides that each use 5-6 illustrative images. New filed ID will probably mean I have to re-add them.
I did check phpmyadmin and noticed this:
a:6:{s:5:"width";i:800;s:6:"height";i:1280;s:4:"file";s:50:"2014/01/pocket-league-hire-players-negotiating.png";s:5:"sizes";a:14:{s:9:"thumbnail";a:5:{s:4:"file";s:49:"pocket-league-hire-players-negotiating-150x84.png";s:5:"width";i:150;s:6:"height";i:84;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:28:"Reduced by 6.6% (977?B)";}s:5:"large";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-531x850.png";s:5:"width";i:531;s:6:"height";i:850;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:30:"Reduced by 3.6% (15.7?KB)";}s:12:"featured-sdk";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-800x400.png";s:5:"width";i:800;s:6:"height";i:400;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:28:"Reduced by 26.0% (7?KB)";}s:17:"et-featured-first";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-578x420.png";s:5:"width";i:578;s:6:"height";i:420;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:31:"Reduced by 10.6% (23.8?KB)";}s:18:"et-featured-second";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-578x208.png";s:5:"width";i:578;s:6:"height";i:208;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:31:"Reduced by 27.9% (29.7?KB)";}s:20:"et-featured-category";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-578x280.png";s:5:"width";i:578;s:6:"height";i:280;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:31:"Reduced by 15.1% (22.1?KB)";}s:17:"et-featured-third";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-287x208.png";s:5:"width";i:287;s:6:"height";i:208;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:29:"Reduced by 8.8% (6.6?KB)";}s:20:"et-recent-post-image";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-160x160.png";s:5:"width";i:160;s:6:"height";i:160;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:29:"Reduced by 9.3% (2.8?KB)";}s:21:"et-popular-post-image";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-319x160.png";s:5:"width";i:319;s:6:"height";i:160;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:30:"Reduced by 12.7% (7.2?KB)";}s:25:"et-popular-post-big-image";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-639x160.png";s:5:"width";i:639;s:6:"height";i:160;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:31:"Reduced by 35.6% (24.3?KB)";}s:17:"et-category-image";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-240x240.png";s:5:"width";i:240;s:6:"height";i:240;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:30:"Reduced by 13.2% (8.3?KB)";}s:21:"et-recent-first-image";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-321x214.png";s:5:"width";i:321;s:6:"height";i:214;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:29:"Reduced by 9.9% (8.1?KB)";}s:19:"et-tabs-image-small";a:5:{s:4:"file";s:48:"pocket-league-hire-players-negotiating-60x60.png";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:27:"Reduced by 0.4% (31?B)";}s:18:"et_single_bg_image";a:5:{s:4:"file";s:50:"pocket-league-hire-players-negotiating-800x400.png";s:5:"width";i:800;s:6:"height";i:400;s:9:"mime-type";s:9:"image/png";s:10:"wp_smushit";s:10:"No savings";}}s:10:"image_meta";a:10:{s:8:"aperture";i:0;s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";i:0;s:9:"copyright";s:0:"";s:12:"focal_length";i:0;s:3:"iso";i:0;s:13:"shutter_speed";i:0;s:5:"title";s:0:"";}s:10:"wp_smushit";s:10:"No savings";}
I guess an SQL wizard could think up of a command to flush all this wp_smushit data? Unfortunately there are no unique identifiers:
a:6:{s:5:"width";i:1680;s:6:"height";i:1050;s:4:"file";s:58:"2013/12/rift-cleric-druid-solo-leveling-guide-featured.jpg";s:5:"sizes";a:13:{s:9:"thumbnail";a:5:{s:4:"file";s:57:"rift-cleric-druid-solo-leveling-guide-featured-150x84.jpg";s:5:"width";i:150;s:6:"height";i:84;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:28:"Reduced by 6.1% (350?B)";}s:5:"large";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-850x531.jpg";s:5:"width";i:850;s:6:"height";i:531;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 5.8% (7.4?KB)";}s:12:"featured-sdk";a:5:{s:4:"file";s:59:"rift-cleric-druid-solo-leveling-guide-featured-1280x400.jpg";s:5:"width";i:1280;s:6:"height";i:400;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 5.0% (5.9?KB)";}s:17:"et-featured-first";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-578x420.jpg";s:5:"width";i:578;s:6:"height";i:420;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 5.9% (4.3?KB)";}s:18:"et-featured-second";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-578x208.jpg";s:5:"width";i:578;s:6:"height";i:208;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:27:"Reduced by 5.8% (2?KB)";}s:20:"et-featured-category";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-578x280.jpg";s:5:"width";i:578;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 5.9% (2.8?KB)";}s:17:"et-featured-third";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-287x208.jpg";s:5:"width";i:287;s:6:"height";i:208;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 6.4% (1.3?KB)";}s:20:"et-recent-post-image";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-160x160.jpg";s:5:"width";i:160;s:6:"height";i:160;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:28:"Reduced by 6.6% (647?B)";}s:21:"et-popular-post-image";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-319x160.jpg";s:5:"width";i:319;s:6:"height";i:160;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 6.4% (1.1?KB)";}s:25:"et-popular-post-big-image";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-639x160.jpg";s:5:"width";i:639;s:6:"height";i:160;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 6.2% (1.8?KB)";}s:17:"et-category-image";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-240x240.jpg";s:5:"width";i:240;s:6:"height";i:240;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 6.5% (1.3?KB)";}s:21:"et-recent-first-image";a:5:{s:4:"file";s:58:"rift-cleric-druid-solo-leveling-guide-featured-321x214.jpg";s:5:"width";i:321;s:6:"height";i:214;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 6.7% (1.6?KB)";}s:19:"et-tabs-image-small";a:5:{s:4:"file";s:56:"rift-cleric-druid-solo-leveling-guide-featured-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:28:"Reduced by 5.4% (123?B)";}}s:10:"image_meta";a:10:{s:8:"aperture";i:0;s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";i:0;s:9:"copyright";s:0:"";s:12:"focal_length";i:0;s:3:"iso";i:0;s:13:"shutter_speed";i:0;s:5:"title";s:0:"";}s:10:"wp_smushit";s:30:"Reduced by 7.2% (50.6?KB)";}
First one used s10 and s27, second one used s10 and s30.
Unfortunately I am a total SQL noob and me trying this will end in a nuked database :P. Should I create a new topic for this?
Hi there. Thanks for caring :).
After 2 hours it did gave up and was 90% complete. I guess in future I can suspend the domain from directadmin. For now I have learned to never bulk smuhs from the bulk option.
I guess the plugin needs to be able to do batches. Like 10 per batch, x minute between batches.
For now I promoted myself to batch master by manually selecting a few images at the time in the media library and using the bulk function there :).
Forum: Installing WordPress
In reply to: Installing duplicate testsiteOk I have solved it by doing some steps.
step1: Another clean install of wordpress. This time INSTALL the theme.
step2: verify the new theme that you can upload and regenerate thumbnails
step3: search in phpmyadmin for “xampp”
step4: You found the path!In my case C:\xampp\htdocs\gp2/wp-content/uploads
Step5: Install a new wordpress, copy over your wp-content folder, drop sql and import your sql site.
step6: Go to media>settings and adjust the path to the one found at step 4.Phew…