COZY Campus Adult Webmaster Forums

 
 
 


Go Back   COZY Campus Adult Webmaster Forums > Newbie Help

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-20-2007, 07:43 PM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
File Permissions Problems with New Host

Ok - having many little issues with my new host. It appears I am having all kinds of file permission issues with the different sites I have that are Word Press sites.

One problem I see is that I can't change any widgets on one of my sites, but can on the other two.

One site I can set up google sitemap, but can't on the other two.

I have emailed them when I run into issues, they say they fix it, but then I do something new and I hit a new permission issue. I am not sure when you transfer sites versus starting a new site from scratch - if you run into having to ask them to change permissions - I am a newbie so have no idea what the permissions should be or how to securely change them... Do all hosts require every little change to modify the perms? Frustrated...
Reply With Quote
  #2  
Old 07-20-2007, 09:06 PM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
Your FTP program should have an option to change the permissions on any file that you've uploaded to your server.

I use SmartFTP and you just right-click on a file and select CHMOD and fiddle around with permissions to your heart's content.

However, it's important to keep in mind that if you are using the wrong permissions, you are opening up your scripts to all the other people that share your server. And that can be dangerous.

You should look on wordpress.org to find the permissions you want to be using, I'm pretty sure it's in the installation docs.
Reply With Quote
  #3  
Old 07-20-2007, 09:20 PM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
Thanks Monica - That is what I have been trigger shy about is opening things up that shouldn't be - especially as this is all new to me. I finally got someone at support on it a bit more seriously to review all the issues as 1 thing gets fixed, then 2 things break, so hopefully they can adjust it and keep it secure, etc. I will check the docs further too - thanks
Reply With Quote
  #4  
Old 07-20-2007, 09:43 PM
whiskey whiskey is offline
Cozy Junior
 
Join Date: Jun 2007
Posts: 16
Monica is correct. Check the permissions on your FTP client. Most likely you'll want 755, which is the equivalent of rwxr-xr-x. This means the file owner (you and the userid your webserver runs as) can read, write and execute (the first rwx -- r = Read, w = Write, x = execute). Your group (again, most likely you and the userid your webserver runs as) can read and execute programs (the second grouping of three, r-x -- notice that there are no Write permissions. The rest of the world can also read and execute, too (the third group, represented by the last r-x).
__________________
--
Whiskey
http://sextumble.com
Reply With Quote
  #5  
Old 07-20-2007, 10:30 PM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
Thank you - I will review this and see what my hosting site "defaults" things to - I appreciate it.
Reply With Quote
  #6  
Old 07-20-2007, 10:33 PM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
One thing I should have mentioned is they are saying I had set things to "secure" mode (which I think must have been a default), but makes the user name different then the apache username... foreign to me still - They say this is what is causing the problem, but I want it to be secure, but usable for me to things.... more reading I am sure I must do. Thanks all.
Reply With Quote
  #7  
Old 07-23-2007, 12:17 AM
King Porn's Avatar
King Porn King Porn is offline
Cozy Legend
 
Join Date: Apr 2003
Posts: 5,749
Send a message via ICQ to King Porn
Did you just copy all of your files from your old host to your new?

You should have installed a fresh copy on your new host, uploaded your theme, import your database, and reactivate your plugins one at a time. Just copying the files over doesn't actually install the scripts and configure it properly.

If you didn't do this then it could be what is causing your problems.
__________________
Attention newbies, Topbucks converts!
I use and recommend Webair hosting. Do you?
Reply With Quote
  #8  
Old 07-23-2007, 03:00 AM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
King Porn is right, you absolutely cannot just copy your files over if you are using a script like that.
Reply With Quote
  #9  
Old 07-23-2007, 10:17 AM
Matt-RevShare Matt-RevShare is offline
Cozy Junior
 
Join Date: Aug 2006
Location: The ATL!
Posts: 19
Send a message via ICQ to Matt-RevShare
Quote:
Originally posted by King Porn
Did you just copy all of your files from your old host to your new?

You should have installed a fresh copy on your new host, uploaded your theme, import your database, and reactivate your plugins one at a time. Just copying the files over doesn't actually install the scripts and configure it properly.

If you didn't do this then it could be what is causing your problems.

Great advice King Porn!

Blogs are more complicted than galleries in that you should ftp a fresh version of the site and set it up as if you were loading it for the first time.

Wordpress.org is an excellent resource site and I refer customers to this resource all the time. WordPress is a very powerful program and gives webmasters all kind of options, but it can also be very confusing at times as well.

Good luck!

Matt
__________________
www.revsharehosting.com

ICQ: 254-829-586
Reply With Quote
  #10  
Old 07-24-2007, 01:31 AM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
Ahhhh - I didn't do it right then, cause I copied them over. NEWBIE!!! Could have sworn I followed step by step off of WordPresses website on "Moving to another server".

One site seems to be functioning fairly well, and I have been updating it. The other one, I haven't updated. So if I am going to do it right, I will redo the one that is all fowled up. If you don't copy the files up - everything is still there in the DB? You would have to copy image files up - correct?

Any suggestions on the one I have been updating already?

The one that I should redo - since the DB has been installed, I should just rebuild the files fresh, copy up my images, reinstall the plugins and give that a shot? I will also revisit WP documentation....

One site I built fresh on the new host. I have one glitch with the Manage Posts screen, it does not show all of those listed, it shows the Export screen. I can not seem to find the "list" of posts, I have to go to them individually. Anyone seen that before? I think perms are good on that site as I have been able to do most things witout difficulty.

Thanks all - Wow, if you have a lot of blogs and choose to move hosts..... that could be a bit of work?
Reply With Quote
  #11  
Old 07-24-2007, 02:58 AM
King Porn's Avatar
King Porn King Porn is offline
Cozy Legend
 
Join Date: Apr 2003
Posts: 5,749
Send a message via ICQ to King Porn
Quote:
Originally posted by mtskys

Thanks all - Wow, if you have a lot of blogs and choose to move hosts..... that could be a bit of work?
Work, yes.... But painless if you conduct the appropiate planning.
__________________
Attention newbies, Topbucks converts!
I use and recommend Webair hosting. Do you?
Reply With Quote
  #12  
Old 07-24-2007, 03:00 AM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
I hear you King - Thanks - I defintely missed a step in my plan. Any other insight on my other comments?
Reply With Quote
  #13  
Old 07-24-2007, 03:36 AM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
What you need to do is treat the new installation like an upgrade.

You will need to backup the old database from your old server by using phpmyadmin. Then back up your old installation of wordpress.

On the new server, you will need to create a new database. You will then need to use your backup of the database from the old server to populate the new database. You will also have to update the wordpress config file with the new server and database information.

You will need to upload wordpress to your new server. Then you will want to point your browser to the upgrade.php file. It should find the database no problem and set up Wordpress to go.

From there, you will have to upload your old theme and any image files you customized, any uploads you had done, and you'll need to update your permalinks and the htaccess file.

I'm sure I forgot something... but if you look on the wordpress site you can find good instructions about upgrading wordpress, and those are pretty much the ones you want to follow.

As for the freshly installed blog that isn't displaying the posts properly in the manage screen, I'm really uncertain why you would encounter that glitch. You might have to post in the wordpress support forums, and search them heavily to see if you can find anything that applies.
Reply With Quote
  #14  
Old 07-24-2007, 03:42 AM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
Great - Thank you very much.
Reply With Quote
  #15  
Old 07-24-2007, 03:44 AM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
Sorry, I'm totally wrong. I just did some more reading and you shouldn't have to run the upgrade file at all.

Did you set up the URIs in the old installation of wordpress before you backed up your database?
Reply With Quote
  #16  
Old 07-24-2007, 03:55 AM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
Quote:
Originally posted by Cozy Monica
Sorry, I'm totally wrong. I just did some more reading and you shouldn't have to run the upgrade file at all.

Did you set up the URIs in the old installation of wordpress before you backed up your database?
I am not sure whtat "set up the URIs in the old" means - so I am sure I did not. I am going to be crashing for the night here, so I will be dropping off... I will review WordPress again to see if I can find the document I did follow - as it is curious to me (maybe I wasn't on the actual WP site...) But I am interested in what you mean by the URIs as I don't know what that is. Thank Monica
Reply With Quote
  #17  
Old 07-24-2007, 04:03 AM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
I knew I wouldn't sleep if I didn't look for this first - here is the excerpt on the WordPress site:

http://codex.wordpress.org/Moving_WordPress

Moving WordPress to a New Server

If you are moving WordPress from one server to another, begin by backing up your data. This includes backing up your WordPress database as well as all the core files, images, plugins, and other files on your site. See WordPress Backups and Backing Up Your Database for more details.

Note: If you are changing to a new server but same domain, all you need to do is edit wp-config.php and upload everything as it is to your new server.
If You Don't Care If Your Old Blog Works

Download a copy of the main wordpress files from your OLD blog to your hard drive and edit wp-config.php to suit the new server.
Go back to your OLD blog and go to options and change the url (both of them) to that of your new site.
Again, download your database (but keep the old one just in case), upload this new database and the copy of the wordpress core files with the edited wp-config.php to your new server. Thats it!

I didn't change the URL as the domain name was going to be the same but on a new host. So maybe I misunderstood moving to a new server is different than a new host... Anyway, this is what I followed. Night night..
Reply With Quote
  #18  
Old 07-24-2007, 12:40 PM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
If the domain is the same, then you followed the right instructions.

So, did you backup the database and then import it on the new server?

Did you copy over your plugins and then choose to activate them in the plugins menu in your wordpress admin?

Which version of Wordpress are you using? The old ones use widgets as a plugin, and the newest release has them built in.

If you are using an older version, you may want to copy over the widgets plugin again. If you do, you should deactivate the widgets plugin in your plugin list first, then delete it in your plugins folder. Then upload it again, and go to your plugins menu and choose to activate it. See if that makes them work.
Reply With Quote
  #19  
Old 07-24-2007, 12:55 PM
theviking's Avatar
theviking theviking is offline
Work smart, work hard!
 
Join Date: Feb 2006
Location: Asia
Posts: 1,984
What host are you moving to?

servage?
__________________
Go Fuck Yourself!
Reply With Quote
  #20  
Old 07-25-2007, 11:57 PM
mtskys mtskys is offline
Cozy Senior
 
Join Date: Jul 2007
Posts: 101
Quote:
Originally posted by Cozy Monica
If the domain is the same, then you followed the right instructions.

So, did you backup the database and then import it on the new server?

Did you copy over your plugins and then choose to activate them in the plugins menu in your wordpress admin?

Which version of Wordpress are you using? The old ones use widgets as a plugin, and the newest release has them built in.

If you are using an older version, you may want to copy over the widgets plugin again. If you do, you should deactivate the widgets plugin in your plugin list first, then delete it in your plugins folder. Then upload it again, and go to your plugins menu and choose to activate it. See if that makes them work.
Yes the domain is the same. I did backup the database and then had it imported. The plugins were just "there" when I opened up the WP Admin. Come to think of it, I may have been deactivating and reactivating some of them as I noticed certain issues. But they were there as I had copied the files from the old server.

I am using version 2.2.1. I think it has the widgets built in.

So, I did do the right steps? Thanks for confirming that - since I have trouble with this particular site still, what would you do if it was yours? Can it and start fresh? Support said they will look at the permissions again for me, but I was holding off as I thought I had done it wrong and I needed to start the blog fresh like we all thought a bit earlier in the thread.

Also, in the other thread, there was talk about the .htaccess file, I still haven't figured out what that file is for as the instructions didn't tell me to do anything with it. I may need to reread that thread. Thanks for your help.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:37 PM.

Support our Cozy adult webmaster forum Sponsors:

Porn Reviews
Honest Porn Reviews
Stroke King Blue Design Studios
Blue Design Studios
  Adult Reviews
Adult Reviews

Pussy Cash FTVCash Etu-Cash Traffic Cash Gold GJ Servers
AdXpansion        

 

CozyFrog.com  |   CozyFlash.com  |   Friends & Links
© 2002-10 CozyCampus.com | Adult Forums for Webmasters! | 18+ ONLY!
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.