dyadica.net

Fun and Games in the Dyadic Sea

Posts Tagged ‘errors’

permalink image comments image
Monday, 21 July '08: URL NOT VALID when trying to manage (anything) posts

Since the upgrade to wordpress 2.6 I have had an issue with the wordpress back end, with a little google play it seems that I am not alone.

http://wordpress.org/support/topic/169789

Essentially all of the back end edit next…n page functions are reporting a http:/// url and thus your browser gives a URL NOT VALID report. As a short term fix I tracked down the url write to $url = ‘http://’ . $url located in the clean_url function within formatting.php.

I fixed the issue by commenting out the line as shown in italics:

if ( strpos($url, ‘:’) === false && substr( $url, 0, 1 ) != ‘/’ && !preg_match(‘/^[a-z0-9-]+?\.php/i’, $url) )

// $url = ‘http://’ . $url; // KOTD – Removed ‘http://’ to make back end work

This may cause additional issues and only time will tell however all is running fine for me so far. I have documented this fix at the following:

http://wordpress.org/support/topic/172749

I hope this is of some help to folks. If you do use it please report back any issues you have caused by the fix.

Tags: , , , ,

poll tags

css | xhtml | dyadica.net © admin 2010 | powered: wordpress | fuel: ps-wii-elite | top | sign-up