Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 12:23:23 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155556
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Archive (posts up to 2007)
(Moderator:
Argos
)
moving the website
Pages: [
1
]
Go Down
Author
Topic: moving the website (Read 3881 times)
midoriblue
Guest
moving the website
«
on:
January 10, 2005, 10:54:02 PM »
Hi all,
I am redesigning my website using WB. I created new subdomain for the new site, for me to test before launching it to live. Now I'm ready to move it to the main server.. can anybody tell me how to do that? I changed the setting in config.php for the path and url, but the admin page still wouldn't work for me. It says page cannot be displayed..
Would be very happy if anyone could help
Logged
fienieg
Guest
moving the website
«
Reply #1 on:
January 10, 2005, 11:25:29 PM »
Open you're config.php file
and look for the following lines:
edit these to the correct path!!!!
Code:
define('WB_PATH', 'C:/Server/xampp/htdocs/wb');
define('WB_URL', 'http://localhost/wb');
define('ADMIN_PATH', 'C:/Server/xampp/htdocs/wb/admin');
define('ADMIN_URL', 'http://localhost/wb/admin');
the above is a windows example
this could be a unix/linux example
Code:
define('WB_PATH', 'usr/you're-username/public/www/');
define('WB_URL', 'http://localhost/');
define('ADMIN_PATH', 'usr/you're-username/public/www/admin');
define('ADMIN_URL', 'http://localhost/admin');
just make the above value's correct !!!
Logged
midoriblue
Guest
moving the website
«
Reply #2 on:
January 11, 2005, 01:37:55 AM »
Thanks fienieg.. It"s working now>
Another question, if I want to add a page that I created in the testing area, I could just upload it to the live site right. However, the admin screen wouldn't recognize it. Is there any easy way to do this? so far what i'd do is inserting record to the pages table, it would brnig up the page on the admin, but not the content of the page. So I suppose I'll have to change that. Any easier way to do this?
Logged
fienieg
Guest
moving the website
«
Reply #3 on:
January 11, 2005, 02:01:20 AM »
Quote from: midoriblue
Thanks fienieg.. It"s working now>
Another question, if I want to add a page that I created in the testing area, I could just upload it to the live site right. However, the admin screen wouldn't recognize it. Is there any easy way to do this? so far what i'd do is inserting record to the pages table, it would brnig up the page on the admin, but not the content of the page. So I suppose I'll have to change that. Any easier way to do this?
Website baker works, with php files, but they contain NO data, all data is stored in the mysql database, so if you place the php file in the pages directory, it won't work. You don't see the page in the admin area, and if you try to create a page, with the same name, you'll get the error :
" A page with the same or similar title exists "
It only makes sence, that you place the php file in the pages directory, if you previously (so in testing mode) added the page, and you did NOT removed it, from you're database...
you can test it, if it works it works, and if not, then not...
Logged
Stefan
Guest
moving the website
«
Reply #4 on:
January 11, 2005, 09:20:13 AM »
You need to put the .php file in the correct directory, add the database entry from the "pages" table BUT also the entry in the "sections" table (check out the page_id) and in the respective module.
If it's only a WYSIWYG page, look for the page with the correct section_id in mod_wysiwyg - for the news module you would also need to include all the posts and comments.
In other words, there is no easy way to do it yet...
Actually, I think an export feature within the WB interface would be really helpful
Logged
fienieg
Guest
moving the website
«
Reply #5 on:
January 11, 2005, 06:50:35 PM »
click back up files... and you get all mysql data, and the php files...
with a full back up option, and an update backup, so the files previously back up, and which hasn't changed, arn't backed up
i'll think i will pass on this project, skilled coders maybe (rayn, sylverfaces)
Logged
Anonymous
Guest
moving the website
«
Reply #6 on:
January 11, 2005, 07:29:10 PM »
And all the module data!
Well, you don't need the ".php"-files. As you know, there is no additional information in them anyway. So it's only an SQL-query that needs to be saved. When restoring, the pages have to be created, but that is really not the problem.
Logged
Stefan
Guest
moving the website
«
Reply #7 on:
January 11, 2005, 07:30:21 PM »
Please don't ask what's so hard about logging in....
Logged
fienieg
Guest
moving the website
«
Reply #8 on:
January 11, 2005, 08:07:19 PM »
I think you need to use firefox
It's not that hard to extract the pages SQL data, if you find a way to re-create the php files, the back ups would also be very little
Logged
Stefan
Guest
moving the website
«
Reply #9 on:
January 11, 2005, 08:32:07 PM »
Firefox is a great browser, in this case, however even firefox couldn't help
I don't see any problem in recreating the files; the path and the page_id's are stored in the pages table. After importing the database entries one just goes through the pages and creates the files at the positions specified in "path". I just don't have the time to do it right now, but conceptionally it's no problem.
Logged
fienieg
Guest
moving the website
«
Reply #10 on:
January 11, 2005, 08:41:02 PM »
and that with the full back up and update back up thing
using the "modified_when" in the pages table
storing the date (modified_when) of the back upped page in a flat text file
and when pressing update back up, it will only back up pages that aren't listed int the flat text file or pages with the modified_when changed, from the one stored in the flat text file
i say flat text file, but it also can be a table in the WB DB
Logged
Ryan
Offline
Posts: 2048
moving the website
«
Reply #11 on:
January 14, 2005, 05:04:38 AM »
Well, a backup/restore feature has been on the books since my initial plans for WebsiteBaker 1.x, so it is something I have wanted for nearlly a year now. I will look at it for a coming release, definetely in the next 3-4 months.
Logged
Website Baker Project Founder
www.websitebaker.or
g
To contact me via email, visit:
www.ryandjurovich.c
om
fienieg
Guest
moving the website
«
Reply #12 on:
January 14, 2005, 05:59:00 PM »
it also could just be a module...
the only problem is, you need to addept every back up mod for every single release...
because of the changes in mysql tables etc...
Logged
Ryan
Offline
Posts: 2048
moving the website
«
Reply #13 on:
January 15, 2005, 01:14:37 AM »
Yes that is why I want to just build it into the core
Logged
Website Baker Project Founder
www.websitebaker.or
g
To contact me via email, visit:
www.ryandjurovich.c
om
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...