The MU forums have moved to WordPress.org

How I can solve these problems OR Downgrade from wpmu 3.0 to wpmu 2.9.2 (5 posts)

  1. allamaghbar
    Member
    Posted 13 years ago #

    I had 3 critical problems im my wpmu 2.9.2 that is:

    1) All the main blog and sub-blogs images are broken...
    thats mean: the images that all the bloggers was uploaded is still in blogs.dir but when you open a blog you can't see any of them because the link to them are broken!!!

    for example: http://blog.amin.org/almwealh

    2) Yesterday the Rich Editor in post-new.php page become not working for javascript error that is:

    Message: Object doesn't support this property or method
    Line: 895
    Char: 1
    Code: 0
    URI: http://blog.amin.org/wp-admin/post-new.php

    in view source, line 895 is:

    893 <script type="text/javascript">
    894 /* <![CDATA[ */
    895 tinyMCEPreInit.go();
    896 tinyMCE.init(tinyMCEPreInit.mceInit);
    897 /* ]]> */
    898 </script>

    3) yesterday too, when I try to open a dialog (thickbox) for uploading image or video... etc.. it'll open it to me in the bottom of the page not like the ajax preview, this is happened in preview a theme too and in all (thickboxs) I think the problem is a javascript or ajax it is not working!!!

    NOTE:
    * I didn't change anything from many days to cause this problems.
    * I tried to deactivate all the plugins, but still the same problems.
    * I tested many blogs in many browsers and computers without any diffrences in the results.

    * YESTERDAY TO SOLVE THIS PROBLEMS, I tried to upgrade to wpmu 3.0 using the automatic upgrade and I deleted the file wp-content/blogs.php AND changed .htaccess to wp-includes/ms-files.php but without any result, the same problems still appears.

    PLEASE HELP ME ASAP, I'll be thankfull...

  2. andrea_r
    Moderator
    Posted 13 years ago #

    Then something may have been changed on the server.

    Javascript errors often happen with plugin conflicts. Disable them all, try again.

    Image urls are controlled by the htaccess file. make sure you have one AND make sure it's actually being read.

    AllowOverride FileInfo Options
    may need to be in the vhost entry for your web account. If your host did an upgrade on the server, this could have been overwritten.

  3. allamaghbar
    Member
    Posted 13 years ago #

    Thank you andrea for replay...

    About javascript as I said, I disabled all the plugins but nothing is happen!! is the plugins in mu-plugins can do that??? and why now! I didn't upload a new plugin in these days!!!

    Anout the images, where I should change in my htaccess file that looks like:

    RewriteEngine On
    RewriteBase /
    
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    
    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>
    
    # BEGIN ANTISPAMBLOG REGISTRATION
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-signup\.php*
    RewriteCond %{HTTP_REFERER} !.*blog.amin.org.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) http://die-spammers.com/ [R=301,L]
    # END ANTISPAMBLOG REGISTRATION

    THANK YOU AGAIN :)

  4. allamaghbar
    Member
    Posted 13 years ago #

    Andrea, I solved the problem, I found a .htaccess file in wp-include folder, I DON'T KNOW from where it come...

    its content was:

    Options FollowSymLinks MultiViews Indexes ExecCGI
    
    AddType application/x-httpd-cgi .pl
    
    AddHandler cgi-script .pl
    AddHandler cgi-script .pl

    I just deleted it, and the editor and javascript start working again, and the images appear again...

    Can you explain to me from where this file come!! :S

    MANY THANKS

  5. andrea_r
    Moderator
    Posted 13 years ago #

    Probably your host stuffed it in automatically.

About this Topic

  • Started 13 years ago by allamaghbar
  • Latest reply from andrea_r