• Be gentle with me, this is my first post here:-)

    I’ve just moved my blog from wp.com to my own domain, and are fiddling with the template to get it the way I want it to be. I just ran into a little problem here.

    The Theme Editor won’t work, and this is the error message:

    You don’t have permission to access /wp-admin/theme-editor.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Now, I’ve tried changing the permissions so I don’t think that’s the problem?

    At this point somebody is getting ready to tell me that I can use Notepad and FTP to do the job. Yes, I know that, and that’s the way I do it. The only problem is that when uploading through ftp the norwegian charachters ?-?-? gets changed to questionmarks. Damn annoying!

    So the question is: What do I do to get the Theme Editor working, OR can somebody tell me how I get them stupid norwegian charachters to stick?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Are you 100% sure that the permissions are set correctly?
    If not, try to chmod everything to 777 (more precisely 0777).

    For the character problem WITHIN a HTML-File I strongly recommend you to use HTML-Entities instead of plain text.

    So for example ? = æ
    and so on…

    Here’s a full Entity listing

    Dusty ??

    Thread Starter hjorthen

    (@hjorthen)

    Thank you for the Entity tips, I didn’t know about that:-)

    Yes, I’m sure that the permissions are set correctly, and to make the confusion complete:

    I just discovered that I can use the Theme Editor to edit several of the theme-files. I haven’t tried all of them, but it seems like it’s only the sidebar.php bit that won’t work in the editor. And the permissions ARE 777. I don’t understand this at all, thank god for computers or else I wouldn’t know what to do with my time!

    Oh well…stop thinking about it and use an editor+ftp ??
    I know….lame joke…:p

    Anyways…I think you safe yourself a lot of grief.
    To avoid the questionmark problem, use entities.
    That should solve most of your problems. ??

    Dusty ??

    Thread Starter hjorthen

    (@hjorthen)

    Yeah, I guess I will, but you now how it is when you first have started to itch…it’s hard to keep from scratching.

    Thanks anyway:-)

    I can use Notepad and FTP to do the job. Yes, I know that, and that’s the way I do it. The only problem is that when uploading through ftp the norwegian charachters ?-?-? gets changed to questionmarks.

    Actually that happens NOT because of FTP but because either your Notepad doesn’t have utf-8 support (older editions) or you just don’t use it! When saving the file at the bottom of the dialog window you have the option to chose the encoding…

    Thread Starter hjorthen

    (@hjorthen)

    Yeah, when I switched to textpad instead of notepad it worked like a dream. Hey,I’m learning something new everyday with my new wordpressinstall:-)

    Thread Starter hjorthen

    (@hjorthen)

    And by the way, if anybody is interested I discovered that it must have been something in the code in the sidebar.php file that stopped me from using the theme editor. When I removed the code below I suddenly was allowed to use the editor.

    <h2>Ord for dagen</h2>
    <ul class=”files”>
    <script language=”JavaScript”>

    // ==============================================
    // Copyright 2004 by CodeLifter.com
    // Free for all; but please leave in this header.
    // ==============================================

    var Quotation=new Array(1) // do not change this!

    // Set up the quotations to be shown, below.
    // To add more quotations, continue with the
    // pattern, adding to the array. Remember
    // to increment the Quotation[x] index!

    Quotation[0] = “I knew him when he was nothing and he hasn’t changed a bit (Tom Waits).”;
    Quotation[1] = “I’m so goddamn horny the crack of dawn better watch itself around me (Tom Waits).”;
    Quotation[2] = “It was a hubba, hubba, ding dang, baby you are just everythang. A week later it’s a hubba, hubba, ding dong, baby sure didn’t last too long (Tom Waits).”;
    Quotation[3] = “If I exorcise my devils, well my angels may leave too (Tom Waits).”;

    …and a whole lot of quotes before the code ends with this bit:

    // ======================================
    // Do not change anything below this line
    // ======================================
    var Q = Quotation.length;
    var whichQuotation=Math.round(Math.random()*(Q-1));
    function showQuotation(){document.write(Quotation[whichQuotation]);}
    showQuotation();
    </script>

    Something to do with the javascript maybe?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Theme Editor won’t work’ is closed to new replies.