Forums

Broken Gally and Media in WP 2.7 Beta 2-3 (20 posts)

  1. mikeboy3
    Member
    Posted 1 year ago #

    Greetings,
    I just noticed that my gallery is broken, I mean that any page that uses the [gallery] does not load and is completely white, it does not load anything, no source code either.
    Example: http://caracasballet.com/elenco

    When I try to edit the page, and manage the gallery, I get prompted to download the .php file instead of loading the gallery tab on Firefox, and on IE, I just get a "Page not found" error.

    Image uploading in posts and pages is also broken. The "Edit" section in the media tab, also prompts me for download.

    I noticed this problem this morning, and then updated to the latest nightly build in hopes of fixing it to no avail.

    So, to summarize it all up:

    • I cannot upload images, stuck at "Crunching..."
    • I cannot edit Media files, prompts for .php file download
    • Media management in post/page edit is broken
    • Simgle images work, but when a gallery is displayed, page is loaded blank (see example above)

    Thanks in advance for your help

  2. mikeboy3
    Member
    Posted 1 year ago #

    Update: I deactivated the WP-Tuner plugin, and now the headers of the "Edit Media" and pages that have a gallery are displayed, but no content.

    Update 2: When I deactivate all plugins, the problem reverts to the original situation I posted above... I'm trying to isolate the problem testing plugin by plugin... but I don't think it's a plugin issue since when they are all deactivated it still does not work

  3. Familiar
    Member
    Posted 1 year ago #

    I noticed that the unordered lists you have in your navigation bar are incorrectly formed. Not sure if it's related, but you might want to fix that regardless.

    Your navigation list look somethings like this (I am simplifying):


    <div>
        <ul>
          <li></li>
          <li></li>
          <li></li>
          <li>
            <ul></ul>
          </li>
          <li></li>

    There is no closing </ul>, and there is no closing '</div>`. So something is dying before it even finishes rendering your menu.

  4. mikeboy3
    Member
    Posted 1 year ago #

    actually, that only happens on that particular page, if you see the homepage for example (http://caracasballet.com) You'll notice that it is complete. Something is stopping these media-related pages from loading

  5. johnjamesjacoby
    Member
    Posted 1 year ago #

    I've been using every updated version of 2.7 and have no experienced these issues... Maybe check your .htaccess file? Or maybe something is corrupt in your uploaded files which would require replacing all the files with the newest build and trying again?

  6. Familiar
    Member
    Posted 1 year ago #

    @Mikeboy3: Yes, the fact that your site is broken at that point on all gallery pages indicates that there may be a conflict there. It could be related to the code you are using to display the menu, or it could be something else. But the PHP code executes sequentially, and fails as soon it hits a problem. Unless you get an internal server error and the PHP code fails to load entirely, start looking for an issue at the point where it breaks.

    Just to be sure that's not the problem, remove all the menu code, and try loading the page. It will have to break at a different spot if it's not the issue, which might give you a better idea as to where the bug really is.

  7. mikeboy3
    Member
    Posted 1 year ago #

    I just figured out what caused the problem. I changed the WP installation from http://test.caracasballet.com to http://caracasballet.com, and in the subdomain, everything works like a charm!

    Ill try re-installing it in the new domain

  8. mikeboy3
    Member
    Posted 1 year ago #

    well, I did it again, re-installed WP just like http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site says, and I have the same problem...

    this is my menu code:

    <div id="menu">
    	<ul id="nav">
    		<li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a>">Home</a>
    		<?php wp_list_pages('title_li=&depth=2&sort_column=menu_order'); ?>
    	<div class="clear"></div>
    </div>

    any mistakes there?
    Please I'm getting desperate, I need help
    Thank you

    EDIT: It cannot be something in the theme that is conflicting, since the problem extends to all media upload sections

    EDIT 2: I'm going to upload the core files from a fresh download and keep the wp-contents/uploads and wp-config.php from the original install and try again

  9. Familiar
    Member
    Posted 1 year ago #

    Yes, there is a problem with the menu code, but it would cause unrelated issues it sounds like.

    Here, this will fix the menu issue at least:

    <div id="menu">
    	<ul id="nav">
    		<li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a>">Home</a></li>
    		<?php wp_list_pages('title_li=&depth=2&sort_column=menu_order'); ?>
    	</ul>
    	<div class="clear"></div>
    </div>

    Edit: Your upload problem and the broken theme might be unrelated.

  10. Familiar
    Member
    Posted 1 year ago #

    OK I just looked and it seems you've updated the menu and it's displaying your galleries correctly.

    Now, your media directory -- is it chmod -777?

  11. mikeboy3
    Member
    Posted 1 year ago #

    Ok, I just erased everything, and created a fresh new install of WP, and then imported the posts and uploads from the original site. I created a new DB and that fixed the issues.

    Thank you for all your help, I really appreciate it

    There is a different problem, when I upload an image, I get the login screen instead of the file information: <img src="http://img525.imageshack.us/img525/3682/21434639vd0.jpg" border="0" alt="Image Hosted by ImageShack.us"/>
    <img src="http://img525.imageshack.us/img525/21434639vd0.jpg/1/w1078.png" border="0">

  12. Familiar
    Member
    Posted 1 year ago #

    Good! Just watch all your tags when you edit your code.

    Make sure every <ul> or <li> or <div> has a corresponding </li> </ul> </div>, etc. It's one of the first things to look for because it's easy to do by mistake (and easy to fix) :)

  13. mikeboy3
    Member
    Posted 1 year ago #

    I edited the post above, I just found another related problem... :(

    edit: The browser uploader works fine, it's the flash uploader.
    Also, I notice that the images in the galleries that where created before the move do not link to the file information as they should.

    http://caracasballet.com/elenco/ Click on any image and it will be "Not found!"

  14. Familiar
    Member
    Posted 1 year ago #

    Right. And this is what you want to see:
    http://www.wearefamiliar.com/imageshare/b1d3b305456e3dd59ff32e67c8127f6a.png

    Hmmm. Does this happen with all your plug-ins turned off?

  15. mikeboy3
    Member
    Posted 1 year ago #

    yes, it does, I turned them all off and I get the same error.

  16. Familiar
    Member
    Posted 1 year ago #

    Yeah, just don't use the Flash uploader. I never use it myself.

    Anyway, it can't find those posts because the posts simply don't exist. Neither do any of your older images. This - I am guessing - is because you deleted all of them when you did the clean install. Because your new images (the ones of the broken Flash uploader) do exist and link correctly...

    OR

    There is an issue with your permalinks.

  17. mikeboy3
    Member
    Posted 1 year ago #

    arrrrgh, well, I was trying to avoid having to re-write all that information, but I see I have no choice, thank you very much for all your help Familiar.

  18. Familiar
    Member
    Posted 1 year ago #

    You're welcome. Before you go doing anything you don't need to, check your wp-content/uploads directory and see if the older images are still in there.

    Without going through your database, it's pretty much impossible for me to tell exactly what's wrong, so these are just guesses! I'm off for the night. Good luck.

  19. mikeboy3
    Member
    Posted 1 year ago #

    Well, the problem persists, I created a new gallery, added the information again on a new page, and I still get the "Not Found" error. :S

    http://caracasballet.com/elenco-2/

  20. mikeboy3
    Member
    Posted 1 year ago #

    The flash uploader issue was resolved here: http://wordpress.org/support/topic/219473

    However, the gallery information is not being found. I tried again and again, to no avail.

    http://caracasballet.com/elenco/
    http://caracasballet.com/elenco-2/
    http://caracasballet.com/gallery-test-page/
    (Click on an image in the gallery to see the problem)

    I don't know if I should make a new thread or stay here.

Topic Closed

This topic has been closed to new replies.

About this Topic