PHP Classes

Burge CMF

Recommend this page to a friend!

      Burge CMF  >  All threads  >  Burge CMF  >  (Un) Subscribe thread alerts  
Subject:Burge CMF
Summary:Installation
Messages:53
Author:Joseph Schembri
Date:2016-12-29 14:27:03
 
  1 - 10   11 - 20   21 - 30   31 - 40   41 - 50   51 - 53  

  1. Burge CMF   Reply   Report abuse  
Picture of Joseph Schembri Joseph Schembri - 2016-12-29 14:27:03
I would like to install your CMF but I am having a little trouble.

I am basically a newbie and would appreciate if you could send me a more detailed installation guide, step by step.

Thanks

Joe

  2. Re: Burge CMF   Reply   Report abuse  
Picture of Burge Lab Burge Lab - 2016-12-29 14:52:45 - In reply to message 1 from Joseph Schembri
Hi Joseph,

and thanks for your interesting in the CMF.

To install the BurgeCMF, you need to follow the instructions in "Web/install.md"

Please let me know in which step you have a problem.

My email is koohi@burge.ir . You can mail me if it is easier for you.


Regards,
Mohsen

  3. Re: Burge CMF   Reply   Report abuse  
Picture of Joseph Schembri Joseph Schembri - 2016-12-29 19:17:01 - In reply to message 2 from Burge Lab
Actually, I did read it and did not quite understand it.

Do I have to create a data base and then put the table in it.

You talk about emails, environments and installing the CMF

Do I just upload all the web folder

I am sure it probably is not that hard but unfortunately for me, it is as they say, all Greek to me.

Is there a detailed step by step install procedure that is fairly easy to understand

That is what I am really looking for.

Joe

  4. Re: Burge CMF   Reply   Report abuse  
Picture of Burge Lab Burge Lab - 2016-12-29 19:29:12 - In reply to message 3 from Joseph Schembri
1) You should upload "Web" folder to your root directory of the sever.

2) Create a database. Then you need you create "sessions_timestamp" table using the following sql code in

CREATE TABLE IF NOT EXISTS `burge_cmf_sessions` (
`id` varchar(40) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) unsigned DEFAULT 0 NOT NULL,
`data` blob NOT NULL, PRIMARY KEY (id),
KEY `ci_sessions_timestamp` (`timestamp`)
)


3) go to "application/config/database" and set configuration of your database exactly "hostname","username", "password", "database" fields.

4) go to "application/helper/constants_helper" and set "MAIN_ADDRESS" to the address of the root folder of your server.

5) Visit page "http://your_address/admin/install"

Check each step, and let me know the error you receive.

  5. Re: Burge CMF   Reply   Report abuse  
Picture of Joseph Schembri Joseph Schembri - 2016-12-29 22:42:44 - In reply to message 4 from Burge Lab
Thank you for your reply

Couple more questions.

I already have a website.
My intent is to use your CMF as another website so I guess I would have to create a subdomain to my main domain. This way then it could be google or any search engine searchable.

If I simply upload web folder, will your CMF then take over my existing web page. Will it create its own index file so that your CMF is now what people will see when they URL my existing website.
Could use a little help here.

Also, received email from PHP classes that there is an update to your CMF. Do I need to download.
Can I go to the same place I downloaded before and assume what I download will be the updated version

Thanks

Joe

  6. Re: Burge CMF   Reply   Report abuse  
Picture of Burge Lab Burge Lab - 2016-12-30 03:29:56 - In reply to message 5 from Joseph Schembri
1) If you want to use BurgeCMF as another website, you should first create a sub-domain in your web hosting control panel, and then you need to upload "Web" folder to the root of your sub domain, and after installation you will see it in this url "http://you-subdomain.your-domain.com"

2)As you noted, in this case you want to use BurgeCMF in your sub domain, you should not upload the "Web" folder to your existing website.

3) It's not required to update it, after each update message you receive, but it is essential in long periods of time for example after each 3 months.

4) You also can download/clone the latest release from "https://github.com/MohsenKoohi/BurgeCMF"


  7. Re: Burge CMF   Reply   Report abuse  
Picture of Joseph Schembri Joseph Schembri - 2016-12-30 17:30:16 - In reply to message 6 from Burge Lab
I am trying to put together a step-by-step installation method for the Burge CMF.

1) Create a subdomain with the name of my choice.

2) Create a new database with name Burge_CMF.

3) Add the following table to the database:

CREATE TABLE IF NOT EXISTS `burge_cmf_sessions' (
'id' varchar(40) NOT NULL,
'ip_address' varchar(45) NOT NULL,
'timestamp' int(10) unsigned DEFAULT 0 NOT NULL,
'data' blob NOT NULL, PRIMARY KEY (id),
KEY 'ci_sessions_timestamp' ('timestamp')
)

Note: I noticed your singe quotes were ` `. I changed them to normal text editor quotes. I assume that is OK

4) I now go to "application/config/database" and set configuration of my database exactly "hostname","username", "password", "database" fields.

$db['default']['hostname'] = 'localhost'; : same
$db['default']['username'] = 'root'; : change to my choice
$db['default']['password'] = 'mohsen'; : Change to my choice
$db['default']['database'] = 'Burge_CMF'; : same
$db['default']['dbdriver'] = 'mysqli'; : same
$db['default']['dbprefix'] = 'burge_cmf_'; : change to my database required dbprefix
$db['default']['pconnect'] = FALSE; : same
$db['default']['db_debug'] = TRUE; : same
$db['default']['cache_on'] = FALSE; : same
$db['default']['cachedir'] = 'application/cache/db/'; : same
$db['default']['char_set'] = 'utf8'; : same
$db['default']['dbcollat'] = 'utf8_general_ci'; : same
$db['default']['swap_pre'] = ''; : same (not sure what this is?)
$db['default']['autoinit'] = TRUE; : same
$db['default']['stricton'] = FALSE; : same

5) When you say upload "Web" folder to root of my subdomain do you mean the folder or the contents of the folder.

If I upload folder then I would URL by http://subdomain.mydomain.com/Web/ (gives accesss to index.php)
If I upload the contents then I would URL by http://subdomain.mydomain.com/ (index.php directly accessible.

6) When I read file "Web/install.md" it states to set

##CMF Configuration:

* Set 'VISITOR_TRACKING_COOKIE_NAME','TRACKING_ENCRYPTION_KEY','TRACKING_IV'
* Set mail configs in application/helper/init_helper in burge_cmf_send_mail function
* Set emai customer env header, name, keywords, and description in language/*/ce_general_lang.php, language/*/ae_general_lang.php, and also email template language/*/email_lang.php

Do not quite understand the above.
When I URL to site, is this when things get changed or set or what?

7) Then it says:

##Install the Burge CMF:
* http://your_address/admin/install

Is this different from step 5?

8) then it says:

##After Developing
* Change ENVIRONMENT constant to 'production';
* Change $config['log_threshold'] from 4 to 1;

Do not quite understand the above.

Appreciate your comments

Joe





  8. Re: Burge CMF   Reply   Report abuse  
Picture of Burge Lab Burge Lab - 2016-12-30 18:29:39 - In reply to message 7 from Joseph Schembri
Hi,

Steps 1,2,3,4 are OK.

Step 5 => I mean the content of folder.

Step 6 => This step is not necessary right now. You can do it later.

Step 7 => Yes, it is different from step 5. You should load the page 'http://your_address/admin/install' and let me know its output.

Step 8 => Can be delayed. We will return to it later.

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

Let me know about your output of step 7.

Regards,
Mohsen

  9. Re: Burge CMF   Reply   Report abuse  
Picture of Joseph Schembri Joseph Schembri - 2016-12-30 20:44:21 - In reply to message 8 from Burge Lab
Created Database, created table, changed "application/config/database" and uploaded web folder content.

URL to http://subdomain.mydomain.com:
I get the following errors.

I did test if I could connect to Burge_CMF data base using a small php file and it connected

------------------------------------------
A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 3

Filename: core/Language.php

Line Number: 35
-----------------------------------------------------------

A Database Error Occurred

Error Number: 1146

Table 'schembri_Burge_CMF.schembri_sessions' doesn't exist

SELECT `data` FROM `schembri_sessions` WHERE `id` = 'de5e0ade7d8ceda3233176ecce5e28292f41ba0f'

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 160

  10. Re: Burge CMF   Reply   Report abuse  
Picture of Joseph Schembri Joseph Schembri - 2017-01-01 03:11:02 - In reply to message 9 from Joseph Schembri
I went back and made a few changes to application/config/database.php as follows:

I added my database dbprefix to the database name.

I then changed dbprefix back to burge_cmf_

I then url (step 7) to http://subdomain.mydomain.com/admin/install and got:

----------------------------------------------------------
A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 3

Filename: core/Language.php
---------------------------------------------------------
Line Number: 35
Okay, /home/xxxxxxx/public_html/dynamic/application/logs/burge_cmf exists and is writable
Okay, /home/xxxxxxx/public_html/dynamic/images/captcha exists and is writable
Okay, /home/xxxxxxx/public_html/dynamic/images/gallery exists and is writable
Okay, /home/xxxxxxx/public_html/dynamic/upload exists and is writable
Okay, /home/xxxxxxx/public_html/dynamic/application/cache/category exists and is writable

Installing Burge CMF
Username: badmin
Pass: badmin

Login here.

When I click login I get This Page can't be displayed.

I checked the URL of the link and it was:

192.168.2.100/Web/BurgeCMF/Web/admi ...

IP appears to be in the home network range.

It looks like I can now connect to dabase but that is where it stops

Any suggestions



 
  1 - 10   11 - 20   21 - 30   31 - 40   41 - 50   51 - 53