Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 06:36 am EST
Geeklog Forums
Upgrade from 1.4.1 to 1.6.1
Status: offline
garfy
Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
Ok I upoldead files to public html and also to root folder, run install and then installer says it can not find
db-config.php
And I pointed it to the right direction to root folder, but why is it searching for it if I put the old config.php file in the root folder, does it need both files?
Or I just have to rename old config.php to db-config.php
Please answer this, thatnk you Dirk.
And why do I have to put the database name, and username again, if I copied the config file?
THe question is if I have to rename config file or not, because the database fields are not automatically filled with old data from config.php file
db-config.php
And I pointed it to the right direction to root folder, but why is it searching for it if I put the old config.php file in the root folder, does it need both files?
Or I just have to rename old config.php to db-config.php
Please answer this, thatnk you Dirk.
And why do I have to put the database name, and username again, if I copied the config file?
THe question is if I have to rename config file or not, because the database fields are not automatically filled with old data from config.php file
11
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Since version 1.5.0, Geeklog requires two small new config files, db-config.php and siteconfig.php (the latter is in public_html). The rest of the configuration is stored in the database.
The old config.php files (of Geeklog and the bundled plugins) are only needed once during the upgrade from a pre-1.5.0 version. After the upgrade, they can be removed.
db-config.php and siteconfig.php are new files and not compatible with the old config.php files. You don't need to edit them - the install script will do that for you.
You only need to enter your db information one more time during the upgrade from a pre-1.5.0 version. Future upgrades do not require that step. And we don't read that information from the old config.php simply for security reasons.
bye, Dirk
The old config.php files (of Geeklog and the bundled plugins) are only needed once during the upgrade from a pre-1.5.0 version. After the upgrade, they can be removed.
db-config.php and siteconfig.php are new files and not compatible with the old config.php files. You don't need to edit them - the install script will do that for you.
You only need to enter your db information one more time during the upgrade from a pre-1.5.0 version. Future upgrades do not require that step. And we don't read that information from the old config.php simply for security reasons.
bye, Dirk
11
10
Quote
Status: offline
garfy
Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
I get these errors
Notice: Use of undefined constant on - assumed 'on' in /home3/altermed/public_html/altermedicine/root/config.php on line 851
Warning: Cannot modify header information - headers already sent by (output started at /home3/altermed/public_html/altermedicine/root/config.php:851) in /home3/altermed/public_html/altermedicine/admin/install/index.php on line 591
Warning: Cannot modify header information - headers already sent by (output started at /home3/altermed/public_html/altermedicine/root/config.php:851) in /home3/altermed/public_html/altermedicine/admin/install/index.php on line 1247
I only copied config.php from 1.4.1 version and I removed all other old files, and used 1.6.1 files only in public html and root folders
Did I miss anything?
Notice: Use of undefined constant on - assumed 'on' in /home3/altermed/public_html/altermedicine/root/config.php on line 851
Warning: Cannot modify header information - headers already sent by (output started at /home3/altermed/public_html/altermedicine/root/config.php:851) in /home3/altermed/public_html/altermedicine/admin/install/index.php on line 591
Warning: Cannot modify header information - headers already sent by (output started at /home3/altermed/public_html/altermedicine/root/config.php:851) in /home3/altermed/public_html/altermedicine/admin/install/index.php on line 1247
I only copied config.php from 1.4.1 version and I removed all other old files, and used 1.6.1 files only in public html and root folders
Did I miss anything?
9
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
So, is this the exact same config.php that you're using on your live site? Sounds like it has an error in it ...
Line 851 in the original config.php from 1.4.1 was this:
That should be all in one line. Did you accidentally add a line break before the "on" there?
bye, Dirk
Line 851 in the original config.php from 1.4.1 was this:
Text Formatted Code
$_CONF['url_rewrite'] = false; // false = off, true = onThat should be all in one line. Did you accidentally add a line break before the "on" there?
bye, Dirk
10
7
Quote
Status: offline
garfy
Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
I did not touch the file at all. I just opened the site after the error and it works fine I think.
Reuploaded pictures, only the theme needs to be fixed.
But I can not enable forums and captcha, the box is not clickable, can you tell me why?
Reuploaded pictures, only the theme needs to be fixed.
But I can not enable forums and captcha, the box is not clickable, can you tell me why?
13
8
Quote
Status: offline
garfy
Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
Wow Dirk, I did not change anything in the theme and it it working, amazing upgrade, the eaisiest upgrade ever, geeklog was the hardest to upgrade, now it is the easiest, congrats dirk!
ONly why I can not enable forum is my question now
ONly why I can not enable forum is my question now
9
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: garfy
ONly why I can not enable forum is my question now
It's looking for the plugin's functions.inc file - as long as it's not there, you can't enable the plugin.
Sounds like you didn't copy over all the files yet, so double-check. And in case of the forum, don't forget the lib-portalparts.php ...
bye, Dirk
9
14
Quote
All times are EST. The time is now 06:36 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content