Forum Replies Created

Viewing 15 replies - 16 through 30 (of 40 total)
  • Okie Dokie.

    The above suggestion worked. I commented out do_action('admin_footer', ''); in wp-admin/admin-footer and it fixed the problem.

    thank you very much.

    I am not sure but this seems like a “bug” to me, since I have to alter the “core”. I don’t really know how to report to the WordPress devs. If anyone know please tell me. Thanks.

    And I wanted to say, “Thank You Very Much” again, since this was a difficult problem to solve.

    Ever since upgrading to WordPress 3.2, the Visual Editor does not work for Pages and Posts on one of my sites. Also the Admin Bar does not appear on the Post/Page Edit pages. To try to fix the problem I have done everything mentioned on this thread:
    http://wordpress.org/support/topic/upgraded-to-32-visual-editor-buttons-missing

    The site with the trouble is using mySql 5.0.90 and PHP Version 5.2.12. However everything works fine on my local dev site with exactly the same plugins and theme where I am using MySql 5.5.11 and PHP Version 5.2.9

    I have deactivated all plugins.

    I have un-installed some mu-plugins.

    I have reinstalled 3.2 automatically and manually.

    I have checked all permissions for files in the root folder, wp-admin and wp-include folders and they are all correct.

    I have changed the theme to TwentyTen and TwentyEleven.

    I have emptied my cache each time after making a modification.

    And I have tried numerous other solutions suggested.
    —-
    There are some screenshots here, so you can see exactly what I mean.
    —-
    I would really like to solve this. I am very conscientious about upgrading wordpress and upgrade all my sites at every version. This is the first time I have had a major problem.

    DosDoodles,
    If you can modify the CSS file try this.

    Find .SCS img {}

    If you want every image to float left write:

    .SCS img {
    float: left;
    }

    If you want to use the align left button in the image uploader try:

    .SCS img.alignleft {
    float: left;
    }

    or

    .SCS a img.alignleft {
    float: left;
    }

    It may take a little trial and error to get it right.

    I recommend writing comments as you do this so you remember what you have done and so you can get back to the original if you create problems.

    In theory when you use a theme you should not have to do stuff like this.

    Mike, You’re welcome, glad I could help. You might tell the developer of Dirty Blue so that he/she can fix it.

    I have looked at the html and css again and my theory is that your theme has not written css for images with captions to “align left” e.g. wrap text with the image on the left. (I could be wrong…)

    I would do 2 things to test this.

    1) make a new post and add an image WITHOUT adding a caption. Make sure that you add the image at the beginning of the text.

    2) Change your theme to the default theme, which should be TwentyTen and see if the text is wrapping properly

    —–

    Then I would contact the theme developer and describe the problem.

    By the way, in most instances the “left align” button in the image uploader works well.

    Hello.
    I looked at the html source for your Posts and the class for your images says “alignnone”. This suggests to me that you are not clicking the left align button in the image uploader. I have posted an image with instructions just to make sure that you are doing this correctly.

    Also at the bottom of this page there is a short helpful video from youtube which shows in a brief efficient way how to create posts.

    The other thing I noticed is that there is a lot of extraneous code in your Posts. This happens when you are making lots of formatting changes in the WordPress Visual Editor. To test left-aligning an image I suggest creating a new post, paste some text into it and then add an image.

    Yes. You should change the database name in the wp-config file and see if it works.

    But, as I said, keep a copy of your present wp-config file so you have a backup.

    You may not want to do this on a live site but you could set your permalink structure back to the default and see if the site goes faster. Then you would narrow it down to the permalink structure.

    I am going to bow out now (though follow the thread). Hopefully you will find someone with more experience with larger sites to find an answer for you.

    There may be someone who can answer this better than me with more experience with big sites but I would start troubleshooting by going through the templates and analyzing which functions are querying the database and see you can optimize them.

    Are you on a shared server? Can you increase the memory of your mySql server?

    I just went to http://handsonhealthnc.com/wp-admin/ and got the following message:

    We were able to connect to the database server (which means your username and password is okay) but not able to select the handsonhealthnc-1 database.

    Are you sure it exists?
    Does the user ********* have permission to use the ********-1 database?
    On some systems the name of your database is prefixed with your username, so it would be like username_******-1. Could that be the problem?

    So the problem is with your database name. Go to the url above to see your actual username database name in the message. I did not want to print them for public view.

    I would try changing the database name in your wp-config file to the new database name. BUT FIRST save a duplicate of the wp-config file or copy and paste the present wp-config file into another document and save it, just in case you want to change it back. If that does not work I would send the WP warning message above to your host and see if they can’t explain/fix the problem.

    And. It is strange that the frontend works but not the backend. Are you using a caching plugin?

    Hope this helps.

    If you are using pretty permalinks, e.g. /%postname%/ or /%category%/%postname%/ and have a lot of posts on your site this can cause too many queries.

    Read this. It is a good explanation.
    http://digwp.com/2011/06/dont-use-postname/

    One solution is to add some text before /%category%/%postname%/ like /!/%category%/%postname%/ or any other text.

    I also use the Debug Bar plugin to analyze the number of queries. You need to change your wp-config file to read:

    define('WP_DEBUG', true);
    	define('SAVEQUERIES', true);

    for the Debug Bar to work. (change it back after debugging).

    Have you checked your wp-config file? Make sure that the username, password, hostname, database name are all correct.

    Are you editing files or are you using the wordpress UI. I assume you are editing files, given the code you are quoting above.

    I don’t know the theme you are using but I suspect that the file you are editing for the menu is header.php.

    So I am guessing because I am not totally sure of how your theme is set up. But here goes. This is what you should write:

    <li id="nav-06"><a href="<?bloginfo('url')?>/photo-gallery">Photo Gallery</a></li>
    <ul><? wp_list_pages('title_li=&child_of=[page_id_for_photo_gallery]&depth=-1')?></ul>

    You can find the Page ID for the Photo Gallery by clicking on Page in the WordPress Admin. And then place your cursor over the Photo Gallery in the list of Pages and you will see in your browser status bar something like:
    http://www.domainname.com/wp-admin/post.php?post=2&action=edit
    In the example the above the Page Id is “2”.

    I hope this makes sense.

    —————-
    A couple of notes though.

    1) You could easily fine the Page ID programatically but since you are hard coding the page id’s I did not go in that direction.

    2) I have a feeling that the theme you are using is old because since WP 3.0 you can make custom menus, which are much easier to implement for developers are programmers alike, than what you are doing. You might look into upgrading your theme so that you can use custom menus in the future. There are many tutorials online on how to implement them.

    hope this helps,
    Daniel

    In the “wp_list_pages” function for Photo Gallery did you add the number of the Photo Gallery page?

    For the Photo Gallery you have:
    <? wp_list_pages('title_li=&child_of=28&depth=-1')?>

    You will need an equivalent number to list the child pages of the Photo Gallery.

    And another bit of info. The Admin Bar does not appear on the edit.php pages either. It appears on all other pages in the WordPress Dashboard.

Viewing 15 replies - 16 through 30 (of 40 total)