Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 07:59:54 PM

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.
155551 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Help with deployment  (Read 243 times)
david doc watson

Offline Offline

Posts: 49



« on: August 30, 2011, 11:17:27 AM »

I am replacing an existing site created usinging a different CMS. I've installed WebsiteBaker in a sub directory called /wb, its locaton on the server is public_html/wb. I've configured it, added templates, content etc., it all works in the subdirectory and it is now ready to make live.

How do I do it? I don't want to coppy all the files to the root as having done this before it messes up permisssions on my server (it's the file owner webuser versus ftp thing)

I have put the index.php and config.php files in the root i.e. public_html folder.

I have changed the config.php file but I receive an error that it cannot find the initialize.php file in the framework folder.

This is lines 10 to 13 of config.php (I've xxx'ed out the domain name)

define('WB_PATH', 'public_html/wb' );
define('WB_URL', 'http://www.xxxxxxxxxx.com/');
define('ADMIN_PATH', WB_PATH.'/admin');
define('ADMIN_URL', 'http://www.xxxxxxxxxx.com/admin');

Can anyone tell me what I have done wrong?


PS to admin - I can't get http://help.websitebaker.org/ to load


Here is the actual error message (with domain xx'ed out again)

Warning: require_once(public_html/wb/framework/initialize.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/config.php on line 15

Fatal error: require_once() [function.require]: Failed opening required 'public_html/wb/framework/initialize.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/config.php on line 15
« Last Edit: August 30, 2011, 11:42:49 AM by david doc watson » Logged
DarkViper
Development Team
*****
Offline Offline

Posts: 1253


« Reply #1 on: August 30, 2011, 01:06:18 PM »

Quote
I have put the index.php and config.php files in the root i.e. public_html folder.
I have changed the config.php file but I receive an error that it cannot find the initialize.php file in the framework folder.

you moved too less...
you must move the whoole content from inside directory /wb/ into your documentRoot /

The procedure  is like here: Moving from Server A to B[url]
Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
david doc watson

Offline Offline

Posts: 49



« Reply #2 on: August 30, 2011, 01:29:00 PM »

OK - thanks for that - I can move the whole installation - no biggie but how do I then reset and check the owner/permissions as described in STEP 7?

STEP 7: Test your server "B" installation

Test the server "B" installation by viewing the both the frontend and backend. If all is well, then you're done. If you run into problems then post them at the WB forum.
IMPORTANT - PLEASE CHECK AND RESET THE FILE / FOLDER PERSMISSIONS AND OWNERSHIP!

You might get into trouble accessing the site if you do not reset the permissions and ownership if necessary


Thanks

Logged
DarkViper
Development Team
*****
Offline Offline

Posts: 1253


« Reply #3 on: August 30, 2011, 02:23:26 PM »

Like on a new installation.
Change the rights for all needed directories AND their contents like described in installation manual.
It's easy to do by FTP.
Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!