Affiliate Marketing
Forum Search

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 01-04-08
morleymouse's Avatar
Super Member
 
Join Date: Aug 2003
Location: Costa Del Sheffield
Posts: 2,749
Thanks: 3
Thanked 10 Times in 6 Posts
morleymouse is an unknown quantity at this point
  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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-04-08
tbp tbp is offline
Registered User
 
Join Date: Dec 2006
Posts: 1,999
Thanks: 0
Thanked 18 Times in 18 Posts
tbp is an unknown quantity at this point
  Re: WP 2.5 errors

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-08
morleymouse's Avatar
Super Member
 
Join Date: Aug 2003
Location: Costa Del Sheffield
Posts: 2,749
Thanks: 3
Thanked 10 Times in 6 Posts
morleymouse is an unknown quantity at this point
  Re: WP 2.5 errors

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-04-08
tbp tbp is offline
Registered User
 
Join Date: Dec 2006
Posts: 1,999
Thanks: 0
Thanked 18 Times in 18 Posts
tbp is an unknown quantity at this point
  Re: WP 2.5 errors

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #5 (permalink)  
Old 02-04-08
globoChris's Avatar
Registered User
 
Join Date: May 2006
Location: Chester; or there abouts
Posts: 153
Thanks: 0
Thanked 0 Times in 0 Posts
globoChris is an unknown quantity at this point
  Re: WP 2.5 errors

I upgraded to WP 2.5 and so far am not experiencing any of those errors. Sorry Dan!
__________________
Chris
Domaining Plugin for Firefox
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-04-08
tbp tbp is offline
Registered User
 
Join Date: Dec 2006
Posts: 1,999
Thanks: 0
Thanked 18 Times in 18 Posts
tbp is an unknown quantity at this point
  Re: WP 2.5 errors

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-04-08
morleymouse's Avatar
Super Member
 
Join Date: Aug 2003
Location: Costa Del Sheffield
Posts: 2,749
Thanks: 3
Thanked 10 Times in 6 Posts
morleymouse is an unknown quantity at this point
  Re: WP 2.5 errors

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #8 (permalink)  
Old 02-04-08
tbp tbp is offline
Registered User
 
Join Date: Dec 2006
Posts: 1,999
Thanks: 0
Thanked 18 Times in 18 Posts
tbp is an unknown quantity at this point
  Re: WP 2.5 errors

Is Askimet no good? Has worked well for me so far.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-04-08
Registered User
 
Join Date: Nov 2004
Location: Wirral, Merseyside
Posts: 1,151
Thanks: 14
Thanked 12 Times in 10 Posts
gadget is an unknown quantity at this point
  Re: WP 2.5 errors

Quote:
Originally Posted by tbp View Post
Is Askimet no good? Has worked well for me so far.
Gets my vote too.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-04-08
Stellar's Avatar
Registered User
 
Join Date: Apr 2006
Posts: 714
Thanks: 1
Thanked 5 Times in 5 Posts
Stellar is an unknown quantity at this point
  Re: WP 2.5 errors

Quote:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #11 (permalink)  
Old 13-04-08
Registered User
 
Join Date: Dec 2005
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
monty is an unknown quantity at this point
  Re: WP 2.5 errors

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.]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks
  • Submit Thread to Digg