WordPress.org

Ready to get started?Download WordPress

Forums

Godaddy free hosting - Dashboard / Admin broken (102 posts)

  1. mmenigma
    Member
    Posted 4 years ago #

    Hi Stefano,

    Yes they are now removed but the godady ads still show up on the front end. The ads are not there in the admin.

    The test site is http://www.goofyburg.com

  2. thorsso
    Member
    Posted 4 years ago #

    Hi mmenigma,
    the solution not hide the ads banner but fix the problem in the Dashboard Administration page.
    If you want to hide the ads you must add:

    #conash3D0 { display:none; }

    at the end style sheet of your theme, usually style.css located in /wp-content/themes/default/ or /wp-content/themes/classic/ or /wp-content/themes/<your personal theme>.

    That's all.
    :-)

  3. mmenigma
    Member
    Posted 4 years ago #

    Wow thanks, It worked.

    I'll leave it out for now. It's the least i can do for free server space.

  4. mmenigma
    Member
    Posted 4 years ago #

    I am having another problem that I may be related to this code.

    When I click on the RSS links for posts or comments, all I get is the code and not my browser reader.

    It looks like this:
    http://www.goofyburg.com A town for Goofy people Fri, 15 Jan 2010 19:27:04 +0000 http://wordpress.org/?v=2.9.1 en hourly 1 http://www.goofyburg.com/?p=8 http://www.goofyburg.com/?p=8#comments Fri, 15 Jan 2010 19:21:09 +0000 admin http://www.goofyburg.com/?p=8 http://www.goofyburg.com/?feed=rss2&p=8 0 http://www.goofyburg.com/?p=1 http://www.goofyburg.com/?p=1#comments Fri, 15 Jan 2010 00:02:05 +0000 admin http://www.goofyburg.com/?p=1 http://www.goofyburg.com/?feed=rss2&p=1 1

    It also loads the page with the godaddy ad so I wonder if there's a conflict.

  5. thorsso
    Member
    Posted 4 years ago #

    Hello @mmenigma,
    this is an hard problem.

    For the moment i have not a solution, if i found i post it.
    Sorry :-(

  6. mmenigma
    Member
    Posted 4 years ago #

    OK, Thanks anyway.

  7. pauljefferson
    Member
    Posted 4 years ago #

    Hi all,

    Thank you all very much for the solutions you have provided so far; they have been an immense help.

    I'm in exactly the same situation as many of you and have used all the fixes described here. I'm having one problem, however. Within the post editor page, whenever I try to insert any type of media using the buttons above the formatting palette, the progress bar for the media uploader iframe pops up and just hangs. The media uploader itself never appears.

    Can any of you help?

    Again, many thanks.

  8. jghoward
    Member
    Posted 4 years ago #

    Hi @stefano.torricelli and anyone who might be able to help...

    I was excited to see the modifications to post.php and script-loader.php but I'm wondering if there are any updates for wp 2.9.1

    I looked for them at Stefano's Website, but it looks like a new install of wp there.

    Could someone post these mods again?
    Thanks,
    John

    Hello @minadin, @all,
    wordpress 2.9.1 work fine with the same changed applied to wordpress 2.9.0, read post up.
    But if you wont the script post.php and script-loader.php give me an email account or download its from http://stefano.torricelli.name/.

    Good work.

  9. thorsso
    Member
    Posted 4 years ago #

    Hello @all,
    recently i changed the mantainer of stefano.torricelli.name and i was stupid, i had no backup of my wordpress.
    The stefano.torricelli.name naw is a fresh install of wordpress release 2.9.2.
    When i fix my wordpress blog i re-post the faq, i think ... asap.
    For now sorry.

  10. jlnovak
    Member
    Posted 4 years ago #

    I was having the same problems with the post editor not working. I installed the FCKEditor for WordPress and that fixed things.

    Basically, the FCKEditor replaces the default WordPress editor.

    You can find it here.

  11. jlnovak
    Member
    Posted 4 years ago #

    OK, I spoke too soon. The editor works, but a bunch of other stuff is broken, like add media, add tags and custom fields. Booooo.

  12. thorsso
    Member
    Posted 4 years ago #

    Hi @all,
    this faq solve several problem of wordpress 2.9.2.

    wordpress fix for godaddy

    0) home page without godaddy ads -->
    open the file /wp-content/themes/<your theme>/style.css and add at the end: #conash3D0{display:none;}

    1) admin login page without godady ads -->
    open the file /wp-admin/css/login.css and add at the end: #conash3D0{display:none;}

    2) dashboard without godaddy ads and widget work fine -->
    open the file /wp-includes/script-loader.php and apply the changes:

    substitute line 699:

    echo "<link rel='stylesheet' href='" . esc_attr($href) . "' type='text/css' media='all'>\n";

    with the current code:

    // ***************************************************************
    		// godaddy ads fix
    		$st_data = file_get_contents( $href );
          		$st_data = substr( $st_data, 0, strpos( $st_data, '</iframe></noscript>' ) );
    		echo "<style type='text/css' media='all'>\n";
    		echo $st_data . "\n";
    		echo "#conash3D0 { display:none; }\n";
    		echo "</style><!-- /wp-includes/script-load.php -->\n";
    		// ***************************************************************

    substitute line 632:

    echo "<script type='text/javascript' src='" . esc_attr($src) . "'></script>\n";

    with the current code:

    // ***************************************************************
    		// godaddy ads fix
    		$st_data = file_get_contents( $src );
          		$st_data = substr( $st_data, 0, strpos( $st_data, '</iframe></noscript>' ) );
           		echo "<script type='text/javascript'>\n";
           		echo $st_data;
          		echo "</script><!-- /wp-includes/script-load.php -->\n";
    		// ***************************************************************

    3) post without godaddy ads and work fine -->
    open the file /wp-admin/includes/post.php and apply the changes:

    substitute the lines form 1492 to 1502:

    <?php
    			if ( $concatenate_scripts )
    				echo "<script type='text/javascript' src='$baseurl/wp-tinymce.php?c=$zip&$version'></script>\n";
    			else
    				echo "<script type='text/javascript' src='$baseurl/tiny_mce.js?$version'></script>\n";
    
    			if ( 'en' != $language && isset($lang) )
    				echo "<script type='text/javascript'>\n$lang\n</script>\n";
    			else
    				echo "<script type='text/javascript' src='$baseurl/langs/wp-langs-en.js?$version'></script>\n";
    		?>

    with the current code:

    <?php
    			// ***************************************************************
    			// godaddy ads fix
    			if ( $concatenate_scripts ) {
    				$st_data = file_get_contents( "$baseurl/wp-tinymce.php?c=$zip&$version" );
    				$st_data = substr( $st_data, 0, strpos( $st_data, '</iframe></noscript>' ) );
    				echo "<script type='text/javascript'>\n";
    				echo $st_data;
    				echo "</script><!-- /wp-admin/includes/post.php -->\n";
    			}
    			else {
    				$st_data = file_get_contents( "$baseurl/tiny_mce.js?$version" );
    				$st_data = substr( $st_data, 0, strpos( $st_data, '</iframe></noscript>' ) );
    				echo "<script type='text/javascript'>\n";
    				echo $st_data;
    				echo "</script><!-- /wp-admin/includes/post.php -->\n";
    			}
    
    			if ( 'en' != $language && isset($lang) ) {
    				echo "<script type='text/javascript'>\n$lang\n</script>\n";
    			}
    			else {
    				$st_data = file_get_contents( "$baseurl/langs/wp-langs-en.js?$version" );
    		                	$st_data = substr( $st_data, 0, strpos( $st_data, '</iframe></noscript>' ) );
    		                	echo "<script type='text/javascript'>\n";
    		                	echo $st_data;
    		                	echo "</script><!-- /wp-admin/includes/post.php -->\n";
    	       		}
    			// ***************************************************************
    		?>

    4) rss feed (now not work fine) i study it.

    Give me a feed back for others problem.
    Thanks.

  13. jlnovak
    Member
    Posted 4 years ago #

    Stefano, you're a freaking genius! All of those worked great. Thanks so much for your help!

  14. jlnovak
    Member
    Posted 4 years ago #

    Stefano, your solutions work great although I'm still having trouble with custom fields.

    Specifically, I have a custom field (photo) that when added appears in a flash gallery on my front page (www.keystothebus.com)

    When I try to add the photo through the custom fields menu, it gives me a big old red box:

    screen cap here.

    If you hit the "Update" button the red box goes away and from the admin screen's point of view, it looks as if all is fine. If you look on the site where the custom field is supposed to appear, however, it isn't there.

    FWIW, it wasn't working before I implemented the fixes you listed above, so I don't think those broke anything.

    thanks!

  15. VincentPh
    Member
    Posted 4 years ago #

    @stefano.torricelli

    Thank you very much! You are my hero... :)

    I follow step #2 and it solved my Dashboard Editor Error problem using WP 2.9.2.

    I skip the rest coz I didnt needed.

    Thank you genious... :p

  16. thorsso
    Member
    Posted 4 years ago #

    Hi @jlnovak,
    i suppose you have installed a plugin that manage photo.
    Give me the plugin name that i install and test it, if no plugin was installed please send me the step to reproduce the error.
    I am newbie wordpress user.

  17. jlnovak
    Member
    Posted 4 years ago #

    I'm actually not using any plug-ins to manage photos, just the native WordPress media management tools.

    I think I found a workaround for it, so I should be good for now.

  18. unclefarkus
    Member
    Posted 4 years ago #

    I am having a problem too but I don't use godaddy free hosting, I pay for it, so I don't know if that matters. It just happened 2 days ago out of nowhere. I haven't changed anything except theme colors but I even tried a different theme and the dashboard is still broken. I have tried multiple browsers (Chrome and Safari; Mac user here)- all the same. My other WordPress site which uses the same hosting and is under the same godaddy account works and looks fine.

    I have no idea what happened but as far as I can tell, I had nothing to do with it. Here is what my dashboard looks like:

    http://s7.photobucket.com/albums/y263/Darthfarkus/?action=view&current=Picture1-10.png

    I haven't tried the above methods given by stefano because 1.) my hosting isn't free and 2.) i'm not really sure what to do ... but at least my site is still looking correct.

    any ideas what to do?

  19. thorsso
    Member
    Posted 4 years ago #

    Hi @unclefarkus,
    the problem may be your css.
    Try with Internet Explorer.
    To catch the problem i use firefox with firebug enabled and in the abose section appears the problems.

  20. akshayaurora
    Member
    Posted 4 years ago #

    @stefano.torricelli

    We are doing core editing and incase of an upgrade these hacks might be overwritten.
    So instead of core editing, we should develop a plugin.I've just added the display none css to all wp header functions.The script-loader and the post editor hacks are yet to be added hopefully they can too be done within the plugin.

    <?php
    /*
    Plugin Name: GoDaddy Hack
    Plugin URI: http://softloads.in
    Description: GoDaddy Free Hosting Fix
    Author: Akshay Aurora
    Version: 1.0
    */
    
    // We need some CSS to position the paragraph
    function godaddy_css() {
    	echo "
    	<style type='text/css'>
    	#conash3D0 {display:none !important;}
    	</style>
    	";
    }
    
    add_action('admin_head', 'godaddy_css');
    add_action('wp_head', 'godaddy_css');
    add_action('login_head', 'godaddy_css');
    ?>

    BTW, I am not able to fix the post editor.Pls make sure it is fine..
    or may be I'm mistaken..

    Pls try to develop the plugin

  21. thorsso
    Member
    Posted 4 years ago #

    Hi @akshayaurora,
    the problem is not limited to the banner in html page, your plugin hide this, but the CSS and JS appear corrupted.

    Godaddy enject an ads banner in any page loaded from free hosting web site, the general rule is to clean every runtime loaded page (css and js) from godaddy ads banner.
    The my solution posted, make this, load the CSS and/or JS into a var, clean godaddy ads banner, and put the var value (cleaned) in the page.

    I don't know how it's possible to make a plugin, i'm very newbie for wordpress and i posted the solution because i will use wordpress with godaddy free hosting.
    But your idea, to make a plugin, is very interesting.

    Another problem is the rss, i think to change rss.php or rss2.php with a script/plugin that use jQuery modal dialog, have you any idea or alternatively solution?

    Thank's.

  22. jti3133
    Member
    Posted 4 years ago #

    After reading all this and having this problem i'm just content with the fact I am screwed and will be forced into paying for hosting much earlier than I wanted to. At least it looks nice in IE, for whatever that is worth.

  23. dapredator
    Member
    Posted 4 years ago #

    finally i have found this thread.
    big thanks stefano.

    but there's just one little problem.
    my plugins list is gone.

  24. kcbp
    Member
    Posted 4 years ago #

    @stefano.torricelli
    you helped me through 2.9.1 and now through 2.9.2. and now my dashboard works better than it did in 2.9.1. Thank you so much, you're a life saver!

  25. prsjohnny
    Member
    Posted 4 years ago #

    FIXED!!!

    Note: solution is in the last paragraph.

    Ok, I was having the same issue with my dashboard. Everything was working fine and then BOOM all of a sudden no javascript works! I tried everything that everyone suggested to do.

    1. Deactivated all plugins.
    2. Deleted all plugins.
    3. Edited line 632 on script-loader.php
    4. Fresh install of WordPress core files.
    5. Installed WordPress in another folder and set up a seperate database for it.

    And none of these things worked! So, I knew that it

    1. wasn't any plugin.
    2. It wasn't the esc_attr() function in the script-loader file. I thought it was because when I viewed the source, where it was calling the dashboard js, it was changing and the "&" to "&".
    3. It wasn't my wordpress core files. Which of coarse, I never modified them to begin with.
    4. It wasn't the content in the database.
    5. It wasn't just a fluke in my installation.

    This left 2 more things to check. The server and the operating system. I just bought a new laptop with Windows 7 which hasn't been out for very long. So, I didn't know if it was the OS or not.

    I thought it would be easier just to reinstall my Wamp Server. So I did and I'm back in business! There are a lot of topics on this subject and not one of them mentioned reinstalling Wamp as a solution. So, I'm going to copy and paste this post into all that I can find.

    Good day.

  26. dzhao
    Member
    Posted 4 years ago #

    @stefano you are a life saver!! i was having the exact problem now my dashboard is fixed, post editor is fix, i can insert image. however, RSS feed is still not working. but i can live without it. thanks so much!! if you're still working on the rss feed thing, my blog is at davidzphotography.com/blog

    note: plz dont hack me!! i know u all are capable of it!!

  27. maxem
    Member
    Posted 4 years ago #

    Hello,

    I am having the problem with my login Dashboard area displaying incorrectly.

    It just happened for no apparent reason today (it was working fine in the morning, in the afternoon it had issues).

    Everything is stacked on top of each other and it doesn't display anywhere in the management interface area for me, not just the dashboard area.

    My website is paid hosting from GoDaddy, so I'm not worried about the ads.

    However, I have a second website on free GoDaddy hosting that has the same issue, although another site I have is fine.

    Either way, I'm not worried about the ads, but just want to correct the Dashboard display issue.

    I'm using WordPress 2.9.2.

    I've tried updating the script-loader file with the code as suggested previously, but it results in an additional error on the dashboard page, plus it doesn't correct the display issues.

    I've gone through all of the previous posts here and tried the different code updates as suggested, but nothing seems to be working for me.

    If anybody knows the solution for the Dashboard display issue in WP 2.9.2, regardless of whether you use free or paid hosting, I would really appreciate if you could provide the specific code updates needed or whatever the solution might be.

    I'm really sorry if it's been posted previously, just for some reason, I'm confused and can't figure it out.

    Please help, it would really be appreciated.

    John

  28. maxem
    Member
    Posted 4 years ago #

    Hello again,

    I reverted back to a saved copy I had of my wordpress installation and eliminated the problem for now.

    It ends up I had some file on my server called benito_hope.php, that was some type of encrypted file.

    I noticed it when FTPing to the server to backup my WP install, and it had never been there before, not sure if this was some type of hack or a virus or what.

    But maybe somehow that was related to my dashboard display issues.

    I deleted the file and then backed up to a saved copy of my website, and for now the issue is resolved.

    Thank you, just wanted to mention this encrypted file in case anybody experienced the same thing.

  29. Guiltykitchen
    Member
    Posted 4 years ago #

    Hi all,

    Same thing has happened to me. I am on GoDaddy paid hosting and my dashboard is ok, but all other menus are borked. I am getting the following result:

    http://guiltykitchen.com/images/brokeneditposts.jpg

    This happened last week out of the blue. Only the plugins menu was affected, not everything but the dashboard so I cant post.

    I am WordPress 2.9.2

    Can anyone help? Thanks so much in advance!

  30. Bradsl
    Member
    Posted 4 years ago #

    @Stephano,the modifications worked quite well for me, thank you for all the effort! Only a couple of small issues remain.

    The RSS feed from my site (http://siriuscoffee.com/blog/?feed=rss2) is also picking up that nasty GoDaddy iframe, and it's messing up my feed file!

    I assume that the edit is similar to the others, but not exactly sure what needs to be changed where. Is it in the feed-rss2.php file?

    (Also I'm trying to import an RSS file from another blog to populate my new WordPress blog, but that seems to fail. I don't think the 2 issues are related.)

Topic Closed

This topic has been closed to new replies.

About this Topic