Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 04:59 am EST

Geeklog Forums

Full pathnames in DB


PJP

Anonymous
blah
I don't know when it happened, or if anyone has complained about it, but sometime between 1.4.x and 1.5.x someone placed full pathnames in the database.

It used to be the case that you could relocate everything simply by changing the pathnames in the config files. Now that doesn't work.

You have to export the db and look through with an editor to find the embedded names and change them -- just to make life more interesting, there is also a field specifying the length of the pathname string, so you have to correct that too.

There really is no reason to embed full pathnames in the db.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The handy Migrate option in the install script will take care of that Big Grin

bye, Dirk
 Quote

PJP

Anonymous
I still see absolutely no reason why full pathnames should be embedded in the database.

Just seems lazy to me ....
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Feel free to submit a patch (you knew this would be coming, right? Mr. Green

bye, Dirk
 Quote

All times are EST. The time is now 04:59 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