bangfruit
Member
Posted 3 months ago #
I am not able to upload images in to my main blog on multi-site. Uploader works but shows no files in media library.
I do see them in at
wp-content>uploads>etc.
However they used to be in the wp-content>blog.dir>1>files>etc.
I have noticed a few files there but they don't show up in media library.
This after a re-install of multi-site.
Check your .htaccess to make sure it's correct.
Also - why did you reinstall Multisite? Was it not working before?
bangfruit
Member
Posted 3 months ago #
I have a nasty malware issue. I compromised my multi-site so it was easier to wipe than keep looking file (per my hosting company).
I may have created this particular issue myself.
Any recommendations or example of what it shoe look like?
Here's what it is now
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
# END WordPress
You're the SECOND person I know who's reinstalled WP from a hack and had this issue... That's really really weird now.
htaccess looks good (see this for the examples).
Was this an old WPMU blog or have you only used the MultiSite feature since 3.0?
When you 'wiped' your site, did you delete all files and folders except the following before uploading a fresh copy from WordPress.org?
/wp-content/
/wp-config.php
/.htaccess
bangfruit
Member
Posted 3 months ago #
I have wordpress 3.31 now. Previously it was 2.7 upgraded.
I don't recall what the current files are from. But I do have the old site backed-up (although its infected)
I had my hosting company re-install and I copied the blogs.dir.
They are telling my to consult my developers (wordpress?).
Blah.
Is there something that should be in those files you mentioned?
Previously it was 2.7 upgraded.
Upgraded to ... what? Did you just upgrade from 2.7 to 3.3? Or did you have a 3.1 install that was hacked?
What version were you on when you were hacked?
The wp-content folder has your blogs.dir and all your other theme/plugin files.
wp-config.php is ALL your config info.
.htaccess is your permalinks.
bangfruit
Member
Posted 3 months ago #
My 3.1 wordpress was hacked.
I am at my wits end. I do appreciate your input I has been helpful.
p.s. I read a few of your article about multi-site ...good stuff
thnx again
bangfruit
Member
Posted 3 months ago #
Hello,
I have a fresh install of 3.1 but I am having some issue with importing site from my previous install.
I am searching but I was wondering if you have any recommends or best practices.
If not thanks again for your previous help. It was eye opening!
With a fresh install, I always take the time to keep it clean. Import the posts, then add in the plugins I MUST have, leaving out the ones I like but don't need.
bangfruit
Member
Posted 3 months ago #
Thanks.
I see most people are using the xml dump or full database restore. I am hoping to restore only the sites I need via MySQL.
I'm not entirely sure this is possible.
If I do a full restore I am having the same issues as when I started.