Going Live: after installation it only shows the Index folders and files name?

Permalink
Hi there,

I wonder of anyone can help me.

I have written a site in C5 latest version offline in a Bitnami Stack - this is the first time use of Bitnami. No that the site is online and the DNS has propagated if you type in the URL address. all that comes up is the root index folder and filenames?

Attached is an image what is shown.

I suspected that it might be the placement of the files so to answer that question that are in this folder: public_html\www.sitename.org\htmdocs
This is a replication of my offline site file placement and a question I asked on another forum query.

THe site.php I updated after I uploaded everything and its text is found below (without username and password):
<?php
define('DB_SERVER', '127.0.0.1');
define('DB_USERNAME', 'xxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'xxxxxx_rol');


Any ideas?

Your help and advice would be appreciated.

Fanflame

1 Attachment

Fanflame
 
Fanflame replied on at Permalink Reply 1 Attachment
Fanflame
An update to this would be that the htdocs folder holds the index file so should I copy everything from htdocs into the root of the domain?

I attach an image of the htdocs folder contents.

Thanks for a quick resolution.

Fanflame
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
instead of using 'DB_SERVER', '127.0.0.1' try using
'DB_SERVER', 'localhost'
Fanflame replied on at Permalink Reply
Fanflame
Thanks weyboat, I have tried that as mentioned in one of my replies but this made no difference.

Fanflame
Fanflame replied on at Permalink Reply
Fanflame
Hello again,

pretty desperate to sort this out and no comments so far.

I have scoured the Forum and found this thread:http://www.concrete5.org/community/forums/installation/move_from_de...

Which speaks about adding several lines to the site.php
However, what the hell are they and what is PASSWORD _SALT?

define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'username');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'databasename');
define('BASE_URL', 'http://www.domainname.whatever');
define('DIR_REL', '');
define('PASSWORD_SALT', 'Ezbx1Q0tJfyAcXCUTi4LYDoNHn5Kej8mvG9SWZhskMulFp3a7I62rgqBwPRVO');


THi si not my code it is just from another thread?

I have tried adding this and it makes no difference. I have also renamed 172.0.0.0 to localhost but no difference either.

Desperate

Fanflame
Fanflame replied on at Permalink Reply
Fanflame
okay I now know what SALT is on Concrete5 but no idea how to generate it?

I am using the latest version of C5 -no updates.

Fanflame
Fanflame replied on at Permalink Reply
Fanflame
okay so now I know about SALTing passwrods and the fact that it is not required in the site.php file anymore.

http://www.concrete5.org/community/forums/installation/removed-pass...

However I still cannot get into my site and on that the main issue I am not the wiser.

assistance required.

Fanflame
Fanflame replied on at Permalink Reply 1 Attachment
Fanflame
In trying to resolve this I have copied everything from the htcdocs folder into the root of the domain. updated the site php to:

<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxxxxn');
define('DB_PASSWORD', 'xxxxxxxx!');
define('DB_DATABASE', 'xxxxxxxxl');
define('BASE_URL', 'http://www.domainname.org');
define('DIR_REL', '');

But now I get this error:

An unexpected error occurred.

mysqlt error: [1146: Table 'c27ictm_rol.CollectionVersionBlockStyles' doesn't exist] in EXECUTE("select bID, arHandle, csrID from CollectionVersionBlockStyles where cID = '1' and cvID = '21' and csrID > 0")

See the Image attached.

The table 'CollectionVersionBlocksStyles' does exist but obviously has some data missing? This is the same as my offline copy of the database backup.

This is what is written there:
-- --------------------------------------------------------

--
-- Table structure for table `CollectionVersionBlocksStyles`
--

CREATE TABLE IF NOT EXISTS `CollectionVersionBlocksStyles` (
`cID` int(10) unsigned NOT NULL DEFAULT '0',
`cvID` int(10) unsigned NOT NULL DEFAULT '0',
`bID` int(10) unsigned NOT NULL DEFAULT '0',
`arHandle` varchar(255) NOT NULL,
`csrID` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`cID`,`cvID`,`bID`,`arHandle`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

So I am hitting the site now by moving the htcdocs contents to the root but have an error. Google no help.