Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Forum: Installing WordPress
    In reply to: Upload error

    After a bit of troubleshooting, adding this to the .htaccess file in my WP root worked:


    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    Turns mod_sec off on the async-upload.php file.

    Forum: Alpha/Beta/RC
    In reply to: 2.5 image upload

    After a bit of troubleshooting, adding this to the .htaccess file in my WP root worked:


    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    Turns mod_sec off on the async-upload.php file.

    Forum: Alpha/Beta/RC
    In reply to: 2.5 image upload

    Running 2.5 as of todays release (3/29). mod_security is on and the image uploader is not working for me.

    Image upload box opens fine. Clicking browse opens my PCs dialogue box to choose an image. When uploading the image (..”crunching”..) I get a pop up error box that says:

    Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.

    Then WP gives me the message “An error occurred in the upload. Please try again later”.

    From the server error log I see this:

    ==cb6c7746==============================
    Request: XXX.com 11.222.33.444 – – [29/Mar/2008:13:08:34 -0500] “POST /wp-admin/async-upload.php HTTP/1.1” 406 363 “-” “Shockwave Flash” – “-“
    Handler: application/x-httpd-php
    —————————————-
    POST /wp-admin/async-upload.php HTTP/1.1
    Accept: text/*
    Cache-Control: no-cache
    Connection: Keep-Alive
    Content-Length: 29393
    Content-Type: multipart/form-data; boundary=———-GI3Ef1ei4KM7ae0Ef1gL6Ij5ei4gL6
    Host: xxx.com
    User-Agent: Shockwave Flash
    mod_security-message: Access denied with code 406. Error processing request body: Multipart: final boundary missing [severity “EMERGENCY”]
    mod_security-action: 406

    (domain name and IP edited out)

    Running on a nix system; apache 1.x, php 4.x

    mod_security seems the culprit.

    Changing the .htaccess to turn off mod_security yielded no success either. Hosts that run mod_security will have no gallery upload love?

    Forum: Installing WordPress
    In reply to: Upload error

    Running 2.5 as of todays release (3/29). mod_security is on and the image uploader is not working for me.

    Image upload box opens fine. Clicking browse opens my PCs dialogue box to choose an image. When uploading the image (..”crunching”..) I get a pop up error box that says:

    Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.

    Then WP gives me the message “An error occurred in the upload. Please try again later”.

    From the server error log I see this:

    ==cb6c7746==============================
    Request: XXX.com 11.222.33.444 – – [29/Mar/2008:13:08:34 -0500] “POST /wp-admin/async-upload.php HTTP/1.1” 406 363 “-” “Shockwave Flash” – “-“
    Handler: application/x-httpd-php
    —————————————-
    POST /wp-admin/async-upload.php HTTP/1.1
    Accept: text/*
    Cache-Control: no-cache
    Connection: Keep-Alive
    Content-Length: 29393
    Content-Type: multipart/form-data; boundary=———-GI3Ef1ei4KM7ae0Ef1gL6Ij5ei4gL6
    Host: xxx.com
    User-Agent: Shockwave Flash
    mod_security-message: Access denied with code 406. Error processing request body: Multipart: final boundary missing [severity “EMERGENCY”]
    mod_security-action: 406

    (domain name and IP edited out)

    Running on a nix system; apache 1.x, php 4.x

    mod_security is the culprit.

    Changing the .htaccess to turn off mod_security yielded no success either. Hosts that run mod_security will have no gallery love?

    bug?

    I’ve used the Nifty Corners method of doing easy rounded corners in themes. You can read about it, and find out how to use it here: https://www.html.it/articoli/nifty/index.html

    cheers!

    While you cannot activate more than one theme at a time – It is possible to have a different look for every static page of your site – you accomplish this by creating page templates for your static pages – then style that particular template using CSS/graphics, etc. (making sure you assign the template to it’s page in the WP admin panel – find that option to configure this in the Page Template drop down under Manage / Pages – then click ‘edit’ for the page you want to assign the template too – – you’ll find the “Page Template” dropdown menu there.)

    You can set completely different looks/layouts on each page if you wanted to.. all within the same theme, using the same stylesheet, etc.

    I believe the book explains the use of static page templates in Chapter 16 ??

    Yes, there’s a reason that the update procedures always say to disable plugins first. Really. ??

    Just wanted to clarify – – the plugins I mentioned above : Fire Stats, Short Stats and Feed Stats.. WERE deactivated during my first upgrade attempt. It wasn’t until after I dumped their tables in the DB that the upgrade actually took for me. ??

    Just an update to my entry above.. as mentioned, I had downgraded back to 2.0.5 after the initial upgrade failed.

    Today, I went through my plugins and made sure all were deactivated. I also had plugins in there that I haven’t been using at all… those plugins also still had tables in my database that weren’t being used.. so I deleted those plugins and the associated db tables. The plugins specifically were:

    Short Stats
    Fire Stats
    Feed Stats

    After I did all that, I backed up, ran the upgrade and didn’t experience any of the problems I noted above. It all went just as it should, with zero issues.

    I don’t know if those plugins (and assoc. tables) were an issue in the first instance… or if I just chose a bad time to run the upgrade (i.e. 2-3 am is right when our servers perform server-wide backups)… no clue. It’s still a mystery, however I have upgraded 4 other sites since then and this issue has not been duplicated.

    I experienced the very same issue upgrading 2.0.5 to 2.1-Ella last night. I’ve since reverted back to the 2.0.5 version, however after running the upgrade – the necessary database updates were not made.

    The server is running the necessary PHP (4.4.1) and MYSQL (4.0.27-standard) versions.

    I deleted the necessary files first:
    /wp-admin
    /wp-includes
    wp-*.php files;
    EXCEPT wp-config.php

    I then uploaded the new 2.1 files

    I executed the upgrade by going to /wp-admin/upgrade.php which ran for less than a second. then went to my Admin panel and the errors started.

    Going to the WRITE tab – the box on the right displaying the categories showed:

    [Unknown column 'link_count' in 'where clause']
    SELECT cat_ID FROM wp_categories WHERE category_parent = 0 AND ( link_count = 0 OR category_count != 0 OR ( link_count = 0 AND category_count = 0 ) ) ORDER BY category_count DESC

    Going to the LINKS tab – the links displayed fine, however none of the links were assigned to a category. Additionally, when going into edit a link – the category box displayed the above error, and when trying to edit the link – same thing.

    On the blog itself, the links list does not display, instead, I saw this error:

    WordPress database error: [Table 'mydb_wp.wp_link2cat' doesn't exist]
    SELECT category_id FROM wp_link2cat WHERE link_id = 109 ORDER BY category_id
    WordPress database error: [Table 'mydb_wp.wp_link2cat' doesn't exist]
    SELECT category_id FROM wp_link2cat WHERE link_id = 109 ORDER BY category_id

    I had performed a brand new installation on a subdomain, in order to compare the two databases. The brand new install has no issues and the db tables were built perfectly. When I compared the two databases, however, it was clear that the database updates were not made during the upgrade process.

    Backups are a good thing! ??

    Planning on trying this again on another site I have (one that gets little to no traffic) and see if I experience the same issue.

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