Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter toritaiyo

    (@toritaiyo)

    Thanks!!
    I found the problem in the end… my faulty memory 🙂

    In the end I reached out to my hosting provider and found out that I needed to setup A records for the subdomains instead of trying to use wild card.
    (I am on shared hosting without dedicated IP. And I also don’t plan on opening multisite up to new user/site registration so manually creating A records for couple of subdomains I personally create is not an inconvenience).

    That is what I had done in the past too, I just forgot.
    So, anyway, problem solved now.

    similar problem here.
    I am trying to use this with wordpress 3.0.1 in multisite setup.

    I could see that the plugin had not received an update in awhile but hoped just maybe it would work.

    No luck.

    Same thing happening to one of my sites.

    I went to my website to find it was down with a 500 server error.
    Checking the error logs I found the following:

    [Fri Oct 9 08:33:53 2009] [alert] [client ] /MYSITE/.htaccess: Invalid command ‘ss’, perhaps mis-spelled or defined by a module not included in the server configuration

    So I realised that, like TheJester12, I also got letters added to the end of my .htaccess file. In this case “ss.”

    I edited out the “ss” and all seems well. But of course we paranoid web-types know that you can’t just hope everything is well so I googled and found this forum thread.

    I wonder what all has been compromised and if there will be more trouble.
    I my case my file permissions were set to 644 so I don’t see how it could be a problem with the file settings of my .htaccess file.
    Weird.

    Nevermind….

    I win the idiot-of-the-day award…

    I was looking in the wrong database… 🙁

    I figured this out when I could not find any of those posts I wanted to backup.

    I had made a copy of the website when I was first building it so that I could test out changes etc. And it was the databse for this site that I went into and could not find the offending widget_text data.

    Of course I couldn’t find it, it was in the other database!! stupid.

    Anyway. all better now.

    Hi,

    I am having a similar problem with a website and I thought I might post about it here in case anyone might have the same problem at some point.

    I had by accident put some text/code that I did not mean to into one of my text widgets. The next thing I know the website gives me the following error…

    Warning: array_keys() [function.array-keys]: The first argument should be an array in MYWEBSITEURL/wp-includes/widgets.php on line 676

    Warning: Invalid argument supplied for foreach() in MYWEBSITEURL/wp-includes/widgets.php on line 676

    Warning: Cannot modify header information – headers already sent by (output started at MYWEBSITEURL/wp-includes/widgets.php:676) in MYWEBSITEURL/wp-includes/pluggable.php on line 694

    And the error is the only thing that was showing on my MYSITE/wp-admin admin login page, thus locking me out of the admin panel.

    Now in the case of a broken plugin the solution could have been simple. delete the plugin’s folder from plugins in my wordpress installation’s files. done.
    But what do you do when a widget breaks your site?

    This problem seems to be rather rare. I could not find other mentions of it.

    I found this thread when googling for “removing widget data from database wordpress”

    I had already figured out the answer MichaelH gave but was having trouble figuring out what widget data wordpress stores/doesn’t store in the database because I did not find the data I thought was breaking our website in the table&column wp_options / widget_text

    I even tried emptying and restoring (from a backup copy) the entire wp_options table from the database hoping that that would solve the problem. But it didn’t 🙁

    Right now I am at a lost. Any ideas?

    I will be making backups of the entire current site (core files and database).
    I might do a complete restore from an old backup. I need to make sure I don’t lose any post/page data.
    *frustration*
    but I still love you wordpress!

    kate-chan,
    Since this was 7 months ago maybe you figured it out or lost interest, but…

    I think you are having this problem because the page/post you are working on is still a draft. I had the same problem where it was stripping my html for the <a name ="">
    But once I published the page it all worked out fine. What I mean is I published the page and THEN I created the <a name> anchors.

    @dynamic1,
    It sounds like what you want is an excerpt with “read more” link.
    http://www.tech-evangelist.com/2009/03/08/wordpress-more-quicktag/

    Forum: Plugins
    In reply to: Flash in header

    Hi Martin,

    That looks like you are editing your CSS file. That’s not where you want to edit.

    Like blepoxp mentioned above you need to edit your header.php file. (wp-content/YOUR-THEME/header.php)

    Find the code for your blog’s title. most likely it looks like this:
    <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>

    remove that and replace it with the html to embed your flash file (that code should look like the code in AMEEKER’s first post above).

    hope that helps.

    Hi poizster,

    I think what you are looking for is the wp adhesive plugin. I couldn’t find the original version but here is the new one:
    http://ww.wp.xz.cn/extend/plugins/wp-sticky/

    From what I understand, this will make your homepage show a static page at the top and posts underneath (I haven’t tried it yet though).

    Hope that helps.

    Thanks Mercime! That worked great!

    Forum: Fixing WordPress
    In reply to: Importing Blogger

    you might have already figured it out or moved on… BUT for anyone just visiting:
    I had the same problem and followed this advice to solve it.

    #1 if you have an FTP blogger blog switch it to blogspot (do this inside of blogger –>”publishing” tab)

    2)go to wordpress.com and create a wordpress.com hosted blog.

    3) import your blogger.com blog to wordpress.com

    4)Once this is done, export the wordpress.com blog (in dashboard –>”manage” –export)

    5) Finally, in your self-hosted wordpress site import the wordpress.com blog.

    NOTE: if it gives you an error about you wp-content/uploads folder, you may get around it by changing the permissions on that folder to 777.

    Hope this helps

    you might have already figured it out or moved on… BUT for anyone just visiting:
    I had the same problem and followed this advice to solve it.

    #1 if you have an FTP blogger blog switch it to blogspot (do this inside of blogger –>”publishing” tab)

    2)go to wordpress.com and create a wordpress.com hosted blog.

    3) import your blogger.com blog to wordpress.com

    4)Once this is done, export the wordpress.com blog (in dashboard –>”manage” –export)

    5) Finally, in your self-hosted wordpress site import the wordpress.com blog.

    NOTE: if it gives you an error about you wp-content/uploads folder, you may get around it by changing the permissions on that folder to 777.

    Hope this helps

    @gr33nman,

    THANKS!
    This is a lifesaver.

    toritaiyo

    (@toritaiyo)

    I found this thread whilst searching for a way to completely remove widgets for certain pages.

    I ended up creating a workaround on my own. It’s probably not a very good one, but it worked for what I wanted to do (remove all of the widgets for two special pages on the website)

    I don’t claim to know what I am doing when it comes to PHP so take my workaround with a grain of salt.

    I deleted most of the sidebar.php file and placed this:

    <div id="l_sidebar">
    	<ul class="sidebar_list">
    		<?php if (is_page(array('drapes','upholstery')))echo "<div style='height: 1800px; background-color:#69ABE4;'>&nbsp</div>";
    elseif  (!function_exists('dynamic_sidebar') || !dynamic_sidebar(1)) ; ?>
    
    	</ul>
    </div>

    so,

    <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar(1)) : ?>

    becomes:

    <?php if (is_page(array('drapes','upholstery')))echo "<div style='height: 1800px; background-color:#69ABE4;'>&nbsp</div>";
    elseif  (!function_exists('dynamic_sidebar') || !dynamic_sidebar(1)) ; ?>

    This,
    (is_page(array('drapes','upholstery') , is a conditional tag

    and the pages (drapes, and upholstery) are the ones that I don’t want widgets on.

    toritaiyo

    (@toritaiyo)

    @inetd

    Was just about to say the same basically.
    The best suggestion on that page
    (http://ww.wp.xz.cn/support/topic/164999?replies=1)
    mentioned above is at the end:

    Finally, if you simply want to give up entirely on the flash uploader for now, use this plugin to disable it: No-Flash-Uploader

    Did this and now it is working fine!!
    Thank goodness!
    why do it with Flash anyway? I don’t get it…

    The .htaccess thing CircleReader mentioned worked too, but looks really unsafe so I deleted it and just went with the disable.

    Long story short,
    If you are having this problem with the Flash uploader, just DISABLE IT!

    and save yourself from :frusty:

    I think this article might explain what you are looking for:

    http://wordpress.com/blog/2006/08/04/private-blogs/

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