Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks


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 Tuesday, June 18 2013 @ 10:28 PM EDT

> >

Geeklog 1.5 Migrations

Geeklog
  • Tuesday, October 07 2008 @ 04:07 PM EDT
  • Contributed by:
  • Views:
    7,688
For those of you who using Geeklog in corporate environments you may have have run into the situation where you want to migrate a site based on Geeklog 1.5 from, say, your development environment to your test environment (or from server A to server B). Currently this isn't supported with 1.5 and it was the focus of one of the Google Summer of Code (GSoC) projects. For those of you who simply can't wait for the results of the GSoC to be published I've created a very simple script that allows you to do such migrations.

How it works is simple. This code will present you with a simple form with only the values you need to update to make a migration work. It must go in your public_html directory and assumes the db-config.php is in the parent directory (if not you'll need to edit the file). All other configuration settings will then be editable by using the Geeklog configuration administration screen. Now before you run off and use this code a couple of warnings:

  1. Be sure to back-up your database before you run this.
  2. This code doesn't filter any of the input you give from the form. That's really, really bad from a security standpoint but given this is a temporary solution to a problem the GSoC project provides a permanent fix for I'm OK with it. That said, if you choose use this code you should delete the file immediately after using it. Seriously, don't forget...you've been warned.
  3. The code does nothing in the way of internationalization nor does it use any themes. English only (sorry).

Enjoy!

Trackback

Trackback URL for this entry:
http://www.geeklog.net/trackback.php/GL-1_5-Migrations

[...] lo personal lo probé mas de 4 veces y me funcionó !! El autor Original : Tony Fuente Original: Geeklog.netiv> Sección: GL-HispanoOpciones: Imprimir | Recomendar | Lecturas (0) | Trackback Trackback URL for this entry: [...] [read more]

[...] running it on a live site just yet. To recap the 3 projects from GSoC 2008: Matt's improvements address the common problem of changing paths and/or URLs when moving a site to a different server. Plugin installs are now much easier, as you can [...] [read more]

[...] since it required changing paths (and possibly URLs) that were now stored in the database. With Geeklog 1.6.0, workarounds are no longer required: The install script now has a handy "Migrate" option that will let you move your site to another [...] [read more]

The following comments are owned by whomever posted them. This site is not responsible for what they say.

  • Geeklog 1.5 Migrations
  • Authored by:koalasoft on Wednesday, October 08 2008 @ 09:17 AM EDT
This script working Prefectly ... and must to dowload NOW in Spanish in Suppor Geeklog Hispano ...
---
glhispano.alcancelibre.org
---
Descarga este archivo en espaƱol !!

---
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::

  • Geeklog 1.5 Migrations
  • Authored by:koalasoft on Monday, October 13 2008 @ 01:01 PM EDT
This script WORKING perfectly !!! funciona muy bien !!

Saludos !!

---
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
  • Geeklog 1.5 Migrations
  • Authored by:suprsidr on Sunday, October 12 2008 @ 08:50 AM EDT
Great timing, I moved a site from one sub-domain to another and discovered how difficult this was.
I have another to move this week, and am very glad to see this tool available.

-s

---
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
  • Geeklog 1.5 Migrations
  • Authored by:justinc on Wednesday, October 28 2009 @ 06:19 PM EDT
I've created another option that lets you change any text-typed config value:
http://www.tehuber.com/article.php?st...2816395651

It's basically the same thing, just an expanded list of fields and some UI paint.

Post a Comment

Your Name
Create Account
Allowed HTML Tags:
 

Security code
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

What code is in the image?
Enter the bolded text, case sensitive!
Important Stuff
  • Please try to keep posts on topic.
  • Try to reply to other people comments instead of starting new threads.
  • Read other people's messages before posting your own to avoid simply duplicating what has already been said.
  • Use a clear subject that describes what your message is about.
  • Your email address will NOT be made public.