ZeroGravity
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Headers already sent warningI was having this problem recently and solved it by saving the file as ANSI instead of UTF-8. Mine was one of the template files but you could try it with wp-config.php and see if it helps.
Not sure if you’re on a PC or Mac but for a PC.
- Open wp-config.php in notepad
- Select File->Save As…
- Make sure “Encoding” at the bottom right corner of the saved box is set to “ANSI”
- Click Save
- Upload to your site
For me the error then passed onto another file. I did the same thing for that file and the error went away.
Hope it helps. This problem can be so frustrating.
Apparently imagecreatefrompng doesn’t work with a PNG image that has transparency. The following functions need to be added to preserve the transparency.
imageAlphaBlending($src, true); imageSaveAlpha($src, true);I haven’t tested it yet but this is what the Google searches reveal.
Forum: Plugins
In reply to: [Ultimate Coming Soon Page] Paragraphs removedThanks John. I looked through some other posts and was surprised at how quickly you respond. I wish everyone responded as quickly!! Very impressed with your level of support!
Forum: Plugins
In reply to: [Easy Project] Site User not savingThanks! I just updated to v 1.2.10.4 and the site user is saving.
Forum: Plugins
In reply to: [VideoGall] [Plugin: VideoGall] Shortcode for single videoI think you misunderstood me. I would like to display a single video in a post, not a complete category. Creating a category for each video would mean I couldn’t display a group of videos that would be formatted nicely.
The error has gone and I have no idea why?!?! Last night I deleted everything and uploaded all the files using filezilla instead of uploading the BackWPup zip file and extracting the files via cPanel File Manager. The error was still happening so I went to bed in frustration.
This morning the errors are gone! Maybe the server needed to sleep on it as well. I wish I had more information to help if anyone else has this problem. Seems like the best thing to do is go to bed and let the server work it out on its own.
Forum: Networking WordPress
In reply to: Enabled Multisite now Custom Post Type returns 404I found the solution. I added
flush_rewrite_rules( false );to the end of the function where I register the custom post type. No more 404s. 🙂 Giving credit where credit is due, thanks to Michelle http://wpquestions.com/question/show/id/802.Thanks for looking into things for me @ipstenu.
Forum: Networking WordPress
In reply to: Enabled Multisite now Custom Post Type returns 404Thanks for your help! I removed everything before “# BEGIN WordPress” and I still get 404s.
Forum: Networking WordPress
In reply to: Enabled Multisite now Custom Post Type returns 404Ere Tis
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # redirect non www to www - http RewriteCond %{HTTP_HOST} ^mymissiontrip\.com [NC] RewriteRule ^(.*)$ http://www.mymissiontrip.com/$1 [R=301,L] ## # Redirect addon domains ## RewriteCond %{HTTP_HOST} ^mymissionstrip\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.mymissionstrip\.com$ RewriteRule ^(.*)$ "http\:\/\/www\.mymissiontrip\.com/$1" [R=301,L] RewriteCond %{HTTP_HOST} ^mymissionstrip\.net$ [OR] RewriteCond %{HTTP_HOST} ^www\.mymissionstrip\.net$ RewriteRule ^(.*)$ "http\:\/\/www\.mymissiontrip\.com/$1" [R=301,L] RewriteCond %{HTTP_HOST} ^mymissionstrip\.org$ [OR] RewriteCond %{HTTP_HOST} ^www\.mymissionstrip\.org$ RewriteRule ^(.*)$ "http\:\/\/www\.mymissiontrip\.com/$1" [R=301,L] RewriteCond %{HTTP_HOST} ^mymissiontrip\.net$ [OR] RewriteCond %{HTTP_HOST} ^www\.mymissiontrip\.net$ RewriteRule ^(.*)$ "http\:\/\/www\.mymissiontrip\.com/$1" [R=301,L] </IfModule> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] </IfModule> # END WordPressI disabled all the plugins except BackWPup and the “Run Now” button didn’t work. Casper, can you give me some ideas of other tests I can run to see if we can nail down where the problem may be.
Thanks!
Hi Casper. Sorry for not getting back you before now.
The “Run Now” button is working on another site I manage but not the one I am talking about. I looked at the “Logs” and “Backups” pages under the BackWPup menu ever time I ran a test. I can post some screenshots for proof if you like. 😉
There must be a conflict with another plugin. I haven’t tested deactivating them all as the site is about to go live and I am nervous about losing settings. I will look at taking a backup via phpmyadmin then test deactivating them shortly. Below is a list of the active plugins in case anyone else who is having the same problem sees a common thread.
Black Studio TinyMCE Widget, Genesis Featured Widget Amplified, Genesis Simple Sidebars, Gravity Forms, Image Widget, ShareThis, SlideDeck 2 Lite, Spam Free WordPress, WP Remote.
I just upgraded to version 3.0.6. Scheduled jobs work but nothing seems to happen when you click “Run Now.” Still the same behaviour as described above.
The problem with GMT and scheduling appears to be gone though.
Forum: Fixing WordPress
In reply to: Remove Category from Converted Custom Post TypeThanks. I will do that since I know how many there are. If I have issues or if there is a next time where there are more posts than I would like to count I just stumbled across the wp_update_term_count function.
Thanks Again!
Forum: Fixing WordPress
In reply to: Remove Category from Converted Custom Post TypeThanks Rajesh. I added a check for the category I wanted to delete (and keep the assigned custom taxonomies) and it worked.
DELETE r FROM wp_term_relationships r INNER JOIN wp_posts p ON p.ID = r.object_id WHERE post_type = "custom_post_type" AND r.term_taxonomy_id = 4Even though the records were deleted the count was still the same. I noticed there is a count column in wp_term_taxonomy. Does WordPress update this or will I need to update it manually?
Forum: Fixing WordPress
In reply to: Merge two WordPress Installs that are on the same domainThanks flashrebel. As you recommended I think I will leave it until we redevelop the whole site into a single WordPress install. More cost and time effective that way.