Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Friday, May 24 2013 @ 07:37 AM EDT


 Forum Index > Support > Installation Support New Topic Post Reply
 Upgrade from 1.4.1 to 1.6.1
   
garfy
 02/01/10 04:02AM (Read 1155 times)  
+++++
Full Member

Status: offline


Registered: 01/02/05
Posts: 437
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

 
Profile Email Website
 Quote
Dirk
 02/01/10 07:22AM  
AAAAA
Admin

Status: online


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
garfy
 02/01/10 03:06PM  
+++++
Full Member

Status: offline


Registered: 01/02/05
Posts: 437
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?

 
Profile Email Website
 Quote
Dirk
 02/01/10 04:09PM  
AAAAA
Admin

Status: online


Registered: 01/12/02
Posts: 13027
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:
PHP Formatted Code
$_CONF['url_rewrite'] = false; // false = off, true = on

That should be all in one line. Did you accidentally add a line break before the "on" there?

bye, Dirk

 
Profile Email Website
 Quote
garfy
 02/01/10 05:55PM  
+++++
Full Member

Status: offline


Registered: 01/02/05
Posts: 437
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?


 
Profile Email Website
 Quote
garfy
 02/02/10 01:21AM  
+++++
Full Member

Status: offline


Registered: 01/02/05
Posts: 437
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

 
Profile Email Website
 Quote
Dirk
 02/02/10 07:32AM  
AAAAA
Admin

Status: online


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
Content generated in: 4.22 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content