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 Sunday, May 19 2013 @ 08:32 AM EDT


 Forum Index > Extensions > Cool Hacks New Topic Post Reply
 An easy upgrade
   
Potato
 03/06/02 01:40PM (Read 1643 times)  
+----
Newbie

Status: offline


Registered: 02/13/02
Posts: 2
Last week I try to upgrade over test enviroment one website with geeklog 1.2.5... I obtain tons of notes written in papers, advices, warnings, etc.
Of course, when I try to do it again over production website, nothing works...
Now I working over a new way of upgrade, this "clean" upgrade means to install new fresh database with another name, and then, try to move all the content (stories, users, etc) from old database to new database using sql sentences (or, if I can automate this, from a bunch of phps).
Of course, it's very hard between some versions (security system change from 1.2 to 1.3) but maybe can get a more clean upgrade.
What is your opinion about that?

 
Profile Email
 Quote
Tony
 03/06/02 02:20PM  
AAAAA
Admin

Status: offline


Registered: 12/17/01
Posts: 405
Upgrades have been a major thorn in the side for us. It's hard to make the installation go flawlessly for both windows and *nix users. The biggest issue with windows is actually a non-issue now that I have it all figured out. I have done a number of windows installations of late and here are the key sticking points:

1) all paths must use '/' and not '\'. For example:
Bad: C:\inetpub\wwwroot\geeklog
Good: C:/inetpub/wwwroot/geeklog

2) Remove all trailing whitespace after the '?>' in all the Geeklog files. I can't say why this is such a problem on windows

Now, the other issue with installations is with hosted environments. The biggest problem with hosted environments is a) the location of the public_html directory b) file/directory permissions and c) the use of /admin (that is reserved by some ISP's for their own administration).

My thoughts for the upgrades moving forward are this:

1) separate file set-up from database setup. I know many of you like the web-based installer but, honestly, it's been more work than it is worth. With that said, we may go back to manual file setup and configuration. This basically means you would edit config.php, lib-database.php, lib-common.php yourself

2) No matter what, the database setup and be done via the web. Once we have the database connection parameters, we can do all our structure updates and data inserts. If you are wondering why do this in a PHP file instead of a SQL file, it is because of the way security is implemented. We need to be able to store certain values during the database setup for later use and it is much simpler to do in PHP code.

Those are just my initial thoughts on installing Geeklog. I have learned a lot from my past mistakes and hope to make th e installations and upgrades with Geeklog easy to follow and as painless as possible regardless of your hosting situation.

-----
The reason people blame things on previous generations is that there's only one other choice.

The reason people blame things on previous generations is that there's only one other choice.
 
Profile Email Website
 Quote
Content generated in: 0.17 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