Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-27-2010, 01:57 AM   #1
NinjaSteve
Too lazy to set a custom title
 
Industry Role:
Join Date: Dec 2003
Posts: 11,089
Wordpress Fix: Sorry that file cannot be edited

I had a problem with a few blogs giving me this error when I try to edit themes from within the wordpress theme editor
"Sorry, that file cannot be edited"

Anyway, here's the fix I found.
http://wordpress.org/support/topic/344250#post-1507273
Quote:
edited "theme-editor.php" at line ~173 and ~191
this line part of generating theme files list and adding bad link to each. So i add string with part of url was missing.
Code:
<li><a href="theme-editor.php?file=<?php echo "/xxx/xxx/xxx/wp-content".$template_file; ?>&theme=<?php echo urlencode($theme) ?>&dir=theme"><?php echo $filedesc ?></a></li>
for finding what URL part you missing, just use "Update" button in editor, then look at adress bar and diff with theme file link in sidebar.
__________________
...
NinjaSteve is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 02:00 AM   #2
marzzo
Confirmed User
 
marzzo's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 2,134
Steeeeve - hi.

hit me up, got a Q for ya.
__________________
4 5 zero - 2 2 - nine nine nine
marzzo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 02:29 AM   #3
LoveSandra
So Fucking Banned
 
Join Date: Aug 2008
Location: Just Blow Me
Posts: 10,551
bump for wp
LoveSandra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 02:32 AM   #4
Naechy
Confirmed User
 
Industry Role:
Join Date: Sep 2007
Posts: 6,497
interesting problem
__________________
Adult SEO Labs * Buying Links * SEO
666-874
Naechy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 02:47 AM   #5
NinjaSteve
Too lazy to set a custom title
 
Industry Role:
Join Date: Dec 2003
Posts: 11,089
Quote:
Originally Posted by marzzo View Post
Steeeeve - hi.

hit me up, got a Q for ya.
I'm all over it like a ninja on hamburgers
__________________
...
NinjaSteve is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 05:17 AM   #6
fitzmulti
I Like Depth Of Field!
 
fitzmulti's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: Las Vegas, NV, USA: 36.12318 N, 115.090219 W
Posts: 14,861
Quote:
Originally Posted by NinjaSteve View Post
I'm all over it like a ninja on hamburgers

LOL!!! Good wordpress help from you, man!
Thanks!
__________________


www.SexyGirlsCash.com


CONTACT // FITZMULTI AT GMAIL.COM //
{Please include a message so I know you are from GFY! I get too many spam "add requests"!}
fitzmulti is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 06:13 AM   #7
ruff
I have a plan B
 
ruff's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
When I get that error it is usually a permissions problem (chmod).
__________________
CryptoFeeds
ruff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 07:05 AM   #8
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
never had this error myself, but then again i never use the built in editor that often
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 10:10 PM   #9
blonda80
FOR HIRE: AFF Manager
 
blonda80's Avatar
 
Industry Role:
Join Date: May 2006
Location: EU
Posts: 10,959
i had this error. thanks
__________________
Weekly Paying Affiliate Program with Dating Cam Offers!
TrafficGoldmine.com is the official home of HookUP.com
They offer payments by PayPal, Paxum, BTC, Bkash, Webmoney & more!
blonda80 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.