1. #1
    morleymouse is an unknown quantity at this point Super Member
    Join Date
    Aug 2003
    Location
    Costa Del Sheffield
    Posts
    2,839
    Thanks
    5
    Thanked 18 Times in 14 Posts

    WP 2.5 errors

    Hi,

    Installed wordpress 2.5 the other day and been using it happily. Until today!

    Seem to have a few errors cropping up and wondered if anyone had see nthe same / had a fix:

    When writing a post the 'add an image' link at the top opens a screen that gives me "Fatal error: Call to undefined function: createaicode() in /.../public_html/wp-content/plugins/authimage/authimage.php on line 17"

    I have authimage installed but not sure why it would conflict with the basic wordpress scripts?

    Also in Manage > Media library i get this:

    Fatal error: Call to undefined function: wp_get_attachment_image() in /.../public_html/wp-includes/post-template.php on line 386

    any help much appreciated
    Dan Morley
    alpharooms.com
    daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
    My Blog | Cheap Holidays

  2. #2
    tbp
    tbp is offline
    tbp is an unknown quantity at this point Registered User
    Join Date
    Dec 2006
    Posts
    1,998
    Thanks
    0
    Thanked 19 Times in 19 Posts
    I`ve done a search for wp_get_attachment_link() and it's called in /wp-admin/edit-attachment-rows.php.

    I`ve done a search through the files, and it should be in /wp-includes/post-template.php.

    I`ve just test in my installation, and it does work fine. Make sure that the post-template.php file exists, and if it does that it has been upgraded. If you used an auto upgrade plugin, it's possible it slipped through the net.

    I think your best bet is to delete the wp-includes directory and then reupload it.

    I don't have the auth image plugin so can't help with that, apart from saying the missing function should be in the plugin code rather than wordpress. I wonder if your installation has gone wrong somehow, and you have missing files.

  3. #3
    morleymouse is an unknown quantity at this point Super Member
    Join Date
    Aug 2003
    Location
    Costa Del Sheffield
    Posts
    2,839
    Thanks
    5
    Thanked 18 Times in 14 Posts
    hm, okay i've done a complete wp 2.5 re install overwritting everything appart from the wp-content folder (theme plugins etc).

    Disabled all plugins.

    In the admin tried to upload an image to a post and it gives the browse box, looks fine, says "crunching..."

    then says...

    From Computer
    HTTP error.

    After a file has been uploaded, you can add titles and descriptions.

    Cancel

    filename.jpg
    Dismiss An error occurred in the upload. Please try again later.



    folders writable. im a bit stmped really as its a fresh install, no plugins, no changes
    Dan Morley
    alpharooms.com
    daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
    My Blog | Cheap Holidays

  4. #4
    tbp
    tbp is offline
    tbp is an unknown quantity at this point Registered User
    Join Date
    Dec 2006
    Posts
    1,998
    Thanks
    0
    Thanked 19 Times in 19 Posts
    Hmm, not sure then I`m afraid as I can't replicate the error and everything works fine. Haven't had 2.5 long enough to have a good poke around yet.

    If I see anything that I think is relevant, I`ll let you know.

  5. #5
    globoChris is an unknown quantity at this point Registered User
    Join Date
    May 2006
    Location
    Chester; or there abouts
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I upgraded to WP 2.5 and so far am not experiencing any of those errors. Sorry Dan!

  6. #6
    tbp
    tbp is offline
    tbp is an unknown quantity at this point Registered User
    Join Date
    Dec 2006
    Posts
    1,998
    Thanks
    0
    Thanked 19 Times in 19 Posts
    Are you sure the folders are writeable?

    Change them using chmod 777, to make them world writeable and then if that works you can lock them down a bit more after.

  7. #7
    morleymouse is an unknown quantity at this point Super Member
    Join Date
    Aug 2003
    Location
    Costa Del Sheffield
    Posts
    2,839
    Thanks
    5
    Thanked 18 Times in 14 Posts
    hm yeah anything that needs to be is

    it all works fine posting wise etc, just anything to do with adding new images

    also getting stupid amounts of spam now if you know any good anti spam plugins?
    Dan Morley
    alpharooms.com
    daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
    My Blog | Cheap Holidays

  8. #8
    tbp
    tbp is offline
    tbp is an unknown quantity at this point Registered User
    Join Date
    Dec 2006
    Posts
    1,998
    Thanks
    0
    Thanked 19 Times in 19 Posts
    Is Askimet no good? Has worked well for me so far.

  9. #9
    gadget Registered User
    Join Date
    Nov 2004
    Location
    Wirral, Merseyside
    Posts
    1,866
    Thanks
    48
    Thanked 92 Times in 68 Posts
    Quote Originally Posted by tbp View Post
    Is Askimet no good? Has worked well for me so far.
    Gets my vote too.

  10. #10
    Stellar is an unknown quantity at this point Registered User
    Join Date
    Apr 2006
    Posts
    736
    Thanks
    4
    Thanked 6 Times in 6 Posts
    also getting stupid amounts of spam now if you know any good anti spam plugins?
    Askimet is about as good as it gets at present. But keep an eye out for Mollom as it develops. It is a new start up from the founder of Drupal. It looks like it will be the next generataion in fighting spam and moderating content.

    In time, I am sure it will work on Wordpress and other platforms outside of Drupal. It is supposed to be platform independent.

    Home | Mollom

  11. #11
    monty is an unknown quantity at this point Registered User
    Join Date
    Dec 2005
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by morleymouse View Post
    hm, okay i've done a complete wp 2.5 re install overwritting everything appart from the wp-content folder (theme plugins etc).

    Disabled all plugins.

    In the admin tried to upload an image to a post and it gives the browse box, looks fine, says "crunching..."

    then says...

    From Computer
    HTTP error.

    After a file has been uploaded, you can add titles and descriptions.

    Cancel

    filename.jpg
    Dismiss An error occurred in the upload. Please try again later.



    folders writable. im a bit stmped really as its a fresh install, no plugins, no changes

    Just a guess, are you using firefox on the mac?

    Anyway there is a big issue with this - it appears to be connected with the flash plugin for the browser made by adobe not quite behaving itself according to published spec for how it should interact.
    This then bumps into security restrictions on some servers.

    There are various workarounds talked about, some involve lowering security in that area using a .htaccess file, others involve using the flash uploader for a previous version or the one used in a custom upload plugin.

    Personally I'm just uploading from IE on XP and it's working fine.

    [Haven't tried safari must do so.]

    Anyway, do a web search - there are big problems in this area.
    Methinks there might be a couple of different unrelated problems that sometimes coexist as different issues are reported. All seems to be the flash based uploader, not 2.5 itself.

    [This info may be out of date as I've not looked into it for over a week now.]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. MSN Bulk Upload Errors
    By Frostie in forum Microsoft Advertising & Yahoo! Search Marketing
    Replies: 2
    Last Post: 02-10-06, 09:43 AM
  2. Click Errors - Error generating url
    By andysears in forum TradeDoubler
    Replies: 1
    Last Post: 06-02-06, 06:51 PM
  3. How do I find out what causes my 404 Page Errors?
    By DanielCoe in forum Affiliate Marketing Lounge
    Replies: 4
    Last Post: 24-03-04, 04:30 PM
  4. Errors
    By SomeOther in forum TradeDoubler
    Replies: 1
    Last Post: 15-07-03, 07:17 PM
  5. Why so many Referrer Errors - Whats Wrong
    By davthp in forum TradeDoubler
    Replies: 8
    Last Post: 20-01-03, 04:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.0 RC2