Joomla! Discussion Forums



It is currently Fri Nov 27, 2009 8:57 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 17 posts ] 
Author Message
Posted: Thu Nov 05, 2009 2:02 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 03, 2009 11:09 pm
Posts: 13
first since i am new to joomla i don't know how to upgrade to new version
Do i just extract new package and overwrite it like i was advised for missing module or there is something else that i need to do ?


second thing is as i had old html website before and didn't wanted to remove it until i setup joomla now my joomla stayed in directory and i want to move it directly to public_html

my joomla is currently installed in http://free4udirect.com/free
and i want to move it to be on http://free4udirect.com
as for now am using redirection to the folder but i would like to move it
So the question is how can i move it without messing up with the db.Can i simply move all the files or i need to do adjustments to the database.

if someone could explain me how i could do this would be very grateful

_________________
http://free4udirect.com--Web security related portal for helping webmasters and server owners to stay protected


Top
  E-mail  
 
Posted: Thu Nov 05, 2009 3:35 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
The bad news is that no "experts" have responded, so you're stuck with me! :laugh:

The good news is that it looks like your work will be simple.

Yes, you can expand the Joomla update and just copy over your files. There are instructions on that page somewhere that tell you that, if I remember correctly. Be careful not to copy over your configuration.php file.

As for moving your site, if you have Joomla set to use relative links, you should be in good shape. Otherwise, you're going to have a long night. Don't forget to update the ftp path in your configuration.php file.

Also, if you'll Google "moving Joomla website" you may find more tips.

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Thu Nov 05, 2009 11:52 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 03, 2009 11:09 pm
Posts: 13
Where can i check if i use relative links ?
and if i don't use them what i need to do ?

_________________
http://free4udirect.com--Web security related portal for helping webmasters and server owners to stay protected


Top
  E-mail  
 
Posted: Thu Nov 05, 2009 3:15 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
I didn't word that quite right - Joomla natively uses relative links. Any problems are going to be with links within your content that you typed in.

If you used paths like index.php?option=com_component&Itemid=3
or
my-sef-category/my-sef-page.html
..then you'll be find.

If you've typed link paths like -

/category-or-folder/mypage.html
..or..
/foldername/index.php

(note the leading "/")...then you'll have to go back through and change those.

When you move the site, it may be a good idea to first clear your ftp app's history and / or log. You want to be very careful that all files get properly moved.

Afterward, do a complete check of every link on every page (you may want to use an app for that, but be careful because I tried three different freeware ones and none would correctly include all sub folders and files - I had to write my own).

Good luck.

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Thu Nov 05, 2009 3:41 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 03, 2009 11:09 pm
Posts: 13
http://free4udirect.com/free/index.php/ ... -xss-.html


that is the one link from my website for example.TO me looks like first one u mentioned and shouldn't be any problems moving or am wrong?

_________________
http://free4udirect.com--Web security related portal for helping webmasters and server owners to stay protected


Top
  E-mail  
 
Posted: Thu Nov 05, 2009 4:02 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
That is not a relative link. If it were an external website, it would be fine.

Let's say your website is within the /joomla/ folder right off of root.

If you wanted to reference your index.php file a relative link would be:

Code:
index.php


An absolute link would be;

Code:
/joomla/index.php


..or..

Code:
http://mywebsite/joomla/index.php


Since we are moving your site from /joomla/ to / (root), any path to /joomla/ will fail once the site is moved and the /joomla/ folder is no longer there.

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Thu Nov 05, 2009 9:20 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 03, 2009 11:09 pm
Posts: 13
can i move my index file above the folder where joomla is installed and change values inside to point to needed files in folder ?

p.s. u Have PM


Also can i make backup (zip complete installed joomla) and unzip it on the root directory and change info in configuration.php


Will it work after i do that or there is more things i need to do
u now know what is my problem and what kind of links i use
can u explain me step by step how i need to move it to get it working without touching old one untill i move since it will lower my traffic if i take it to offline

_________________
http://free4udirect.com--Web security related portal for helping webmasters and server owners to stay protected


Top
  E-mail  
 
Posted: Thu Nov 05, 2009 11:52 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
Sorry, I do not check PM's. I seem to only get PM requests to do for free what I do for a living. People wouldn't ask a plumber to fix their leaky faucet for free, but they seem to have no problem asking the same from a web developer.

Like I said above, any place you've used absolute paths for links, you're going to have to change. I would not recommend a workaround as you suggested.

if you now have
http://free4udirect.com/free/

and you want to change to
http://free4udirect.com

you should only need to change your ftp path in the configuration file and any absolute path links after moving all files and folders.

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Fri Nov 06, 2009 12:26 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Dec 10, 2008 3:30 pm
Posts: 292
Location: Fairfield, CA
Good stuff Hank. BTW my kitchen faucet is leaking. Would you mind dropping by and fixing it for me? ;)

_________________
Live Long and Prosper
Anna


Top
  E-mail  
 
Posted: Fri Nov 06, 2009 12:51 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 03, 2009 11:09 pm
Posts: 13
Sorry i asked i will try to do it myself according to your instructions
and i didn't asked u to do it instead of me i only wanted to have fast contact to u in case i screw something up
but nvm

_________________
http://free4udirect.com--Web security related portal for helping webmasters and server owners to stay protected


Top
  E-mail  
 
Posted: Fri Nov 06, 2009 1:59 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
Quote:
Good stuff Hank. BTW my kitchen faucet is leaking. Would you mind dropping by and fixing it for me?

Thankfully, I'm a better web developer than a plumber. We bought several foreclosures about a year ago and I am now a landlord. I have since learned that the only thing I can do with a leaky faucet is make it a leakier faucet.

DIY has its limits.

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Fri Nov 06, 2009 2:20 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Dec 10, 2008 3:30 pm
Posts: 292
Location: Fairfield, CA
Thats funny. It means we share two things in common!

Going to check out your site, I may be able to use your expertise with some things. Occasional consult is always good. I know a lot about Joomla, but I also don't know a lot about Joomla.

CSS irritates me, almost as much as a leaky faucet! :laugh: Writing my own is fine, but trying to deal with some of Joomlas stuff, esp YOOThemes, who use a php file to consolidate css, for optimization, which is of course wise, only makes it a nightmare!

I love YOO, great templates, great extensions, but a little tricky pinpointing some of the CSS, as firebug just calls out the same file for everything....template.css.php Real helpful!! NOT

Esp even when I think I have located the code via global search, when Firebug tells me where the css is, and I change it, but it has no effect. Gotta admit.... I luvit...NOT!

_________________
Live Long and Prosper
Anna


Top
  E-mail  
 
Posted: Fri Nov 06, 2009 2:34 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jan 07, 2008 4:46 am
Posts: 549
Location: Oklahoma
Firefox has some great developer tools for tracking down css. The hardest thing about css is that it's like OOP objects. Just because you're looking at the code that defined it, doesn't mean you're looking at the right part to change, since later code, even in a different file, can alter the attributes.

I do OK with Javascript and CSS (I cheat and use several good manuals), but my strong side is PHP / MySQL. Spent the past several months making the switch from PHP procedural coder to OOP and the last couple of months studying the Joomla structure in particular. It'll take a year to become comfortable with it.

I'm working my way through (among others) "Mastering Joomla 1.5 Extension and Framework Development" by James Kennard. Excellent book!

_________________
- Hank Castello, CompuSolver.com
PHP / MySQL Development
Reseller Hosting with real support


Top
   
 
Posted: Fri Nov 06, 2009 3:10 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Dec 10, 2008 3:30 pm
Posts: 292
Location: Fairfield, CA
First, to the original poster of this thread, if you still are unclear on your migration, I apologize for rather hijacking the thread.

Please continue to post. I can help you or, obviously, Hank can. Sorry for moving in. But if you are still uncertain about the situation, feel free. Its basic stuff and we can help you.

Hank, since we are off topic here, I won't take up anymore forum time, this is the last post re that.

I will send you a PM, but feel its needed to tell you that - since you said you ignore PMs because folks are looking for free advice. I am not. I may want to hire you for the occasional project for my many sites. I recently lost my PHP/MySQL guru because CCBill contracted him for a promising gold mine. He stands to make a fortune on the project they want, and we parted amiably. I wish him the best with that project.

I Don't know if you are a PHP/MySQL guru like he is, but you know more about both, than I.

So look for a PM from Anna. Probably in next day or two, and we will talk.
I don't want to send it now due to time of night, but I will be in touch. Or if you prefer, PM me your email, which is a mucho easier way to communicate.



Cheers

_________________
Live Long and Prosper
Anna


Top
  E-mail  
 
Posted: Fri Nov 06, 2009 11:53 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 03, 2009 11:09 pm
Posts: 13
Its' ok ana although my thread is about other thing i got some pretty usefull info from those last 3 posts :D

Olny thing am unclear now is how to do what hank said in second part of the post


Quote:
you should only need to change your ftp path in the configuration file and any absolute path links after moving all files and folders.


configuration.php changing is easy but don't know about absolute path links

how ? mean where to change them,where is the part of code where i need to edit them or if its done from admin panel what exactly i have to do

_________________
http://free4udirect.com--Web security related portal for helping webmasters and server owners to stay protected


Top
  E-mail  
 
Posted: Fri Nov 06, 2009 3:53 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Dec 10, 2008 3:30 pm
Posts: 292
Location: Fairfield, CA
Well actually, it's doubtful you have any absolute links, other than those I saw to external sites, and those you would not want to change of course. If you just used Joomla in conventional way, you would be fine.

The only way you would have abs links is if you typed them in manually in an article, or menu item, which is probably unlikely. You would have to have typed in something like this
<a href="http://free4udirect.com/free/index.php/software.html">Software</a>

I doubt you did any of that, but only you would know. If you just used Joomla tools in admin to link to articles, import images etc, you should be fine. Its only your site's abs links you need to think about. Not those like the google leads, PHP etc,which I saw, those would and should remain the same.

If you know how to use PHPMyAdmin, you could actually search your db and see if there are any instances of absolute links to your site, but as I said, it does seem doubtful. You really should backup your database before the move also. I use mysqldump from command line, but there are joomla extensions tht will back up your whole site, and I think there are even packages for moving a site. You might take a look at www.joomla.org and see what you can find.

Not sure if Hank mentioned it, but also in configuration.php you need to edit
var $log_path and var $tmp_path as they will be different when you move it.

_________________
Live Long and Prosper
Anna


Top
  E-mail  
 
Posted: Fri Nov 06, 2009 6:35 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 03, 2009 11:09 pm
Posts: 13
Thanks
I saw some tools for moving whole site found only one that is non-commercial but not working good and for the commercial ones i don't have money atm


and i saw that for configuration in some tutorial here but thanks anyway for mentioning

i will try and get back here for help if i stuck but i think i should be able to do it without problems now

_________________
http://free4udirect.com--Web security related portal for helping webmasters and server owners to stay protected


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 

Quick reply

 



Who is online

Users browsing this forum: abernyte, brduran, cc nexus, dgougoul, falieson, flatsilver, jas19500504, JC786, kofoster, krstymeggy, mis_chiff, mjelliott, ralfeez, shinka1, stevengraff2 and 87 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group