SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,745
    Mentioned
    45 Post(s)
    Tagged
    0 Thread(s)

    Installing Wordpress on Awardspace - TinyMCE GZ File

    Hello.

    I'm wondering if anyone here has any experience installing Wordpress onto Awardspace free hosting.

    I've been running into trouble (Javascript errors) with TinyMCE until I discovered that Awardspace's server has been blocking one of TinyMCE's files from upload because of its .gz file extension.


    website/wp-includes/js/tinymce/wp-tinymce.js.gz


    I know it's the extension because I tried renaming the file as "wp-tinymce.js.gz.html", after which it uploaded just fine.

    Unfortunately I've been blocked from renaming the file back to "wp-tinymce.js.gz" via FTP.


    Is there anyone out there who's successfully installed and gotten working Wordpress on Awardspace?

    If so, please point me in the right direction. How did you do it? If not, I think it's time for me to shop around for another free host.

    Many thanks!

    Trying to fill the unforgiving minute
    with sixty seconds' worth of distance run.

    Update on Sitepoint's Migration to Discourse

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2007
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Um, nope I haven't

    but I see that in two days they have an insane promo on and you can get the basic and a domain for a year for $10, and their Zacky thingamadoodle includes a WP install script.
    Patriotism is the virtue of the vicious.

  3. #3
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,745
    Mentioned
    45 Post(s)
    Tagged
    0 Thread(s)
    I saw it. Unfortunately it's an old version of Wordpress and also I have to upgrade to paid hosting to use their Zacky thingamadoodle.

    It's a freebie site for a charity so any kind of paid hosting is out for them. At least for now.

    Trying to fill the unforgiving minute
    with sixty seconds' worth of distance run.

    Update on Sitepoint's Migration to Discourse

  4. #4
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,745
    Mentioned
    45 Post(s)
    Tagged
    0 Thread(s)
    I'm wondering now if there's a way to rename that .gz file and point Wordpress to the new filename.

    The rest of Wordpress installed and is working fine. It's just that TinyMCE bug.

    Trying to fill the unforgiving minute
    with sixty seconds' worth of distance run.

    Update on Sitepoint's Migration to Discourse

  5. #5
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,745
    Mentioned
    45 Post(s)
    Tagged
    0 Thread(s)
    Yatta ne!


    I found it.

    Yes, there is a way to hack around the TinyMCE .gz file. I googled and came upon the solution here, which, oddly enough, seems to be someone with the same hosting problem I had.


    It means extracting the .gz file on my local computer, uploading it to the TinyMCE directory as;


    website/wp-includes/js/tinymce/wp-tinymce.js


    Then updating the last part of the PHP in the following file to the code quoted below;

    website/wp-includes/js/tinymce/wp-tinymce.php

    Code PHP:
    //if ( isset($_GET['c']) && 1 == $_GET['c'] && isset($_SERVER['HTTP_ACCEPT_ENCODING'])
    //	&& false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') && ( $file = get_file($basepath . '/wp-tinymce.js.gz') ) ) {
     
    if ( isset($_GET['c']) && 1 == $_GET['c'] && isset($_SERVER['HTTP_ACCEPT_ENCODING'])
    	&& ( $file = get_file($basepath . '/wp-tinymce.js') ) ) {
     
    	//header('Content-Encoding: gzip');
    	echo $file;
    } else {
    	echo get_file($basepath . '/tiny_mce.js');
    }
    exit;

    I had to clear my brower's cache before the change was recognised, but it worked advertised

    Trying to fill the unforgiving minute
    with sixty seconds' worth of distance run.

    Update on Sitepoint's Migration to Discourse


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
  •