Gossamer Forum
Home : Products : Links 2.0 : Customization :

nph-build not working with mods

Quote Reply
nph-build not working with mods
Hello all.

I am new to links 2.0 but slightly comfortable with per. I am trying to use links to set up a database for steam railroads and stuff. One of the things I wanted to do was have it build detailed pages which I can get it to do. But since my girlfriend speaks spanish, I thought I would have it also build detailed pages in spanish, reading the same database. Since I am using templates it seemed simple to do.

First I created a detailed-spanish template.

Next I located in links.cgf where paths are assigned and created new paths for the new details.

Then I located in site-html the build page routine and created a duplicate sub to build pages.
(sub site_html_detailed)

Next I found in nph-build a build page routine
sub build_detailed_view and created a copy of this with all the changes needed to point to the new templates and paths.

nph-build however would not execute.

I backed out everything and rechecked it by doing one step at a time. I finally got it down to ANY changes to nph-build.cgi is causing it not to run. I even took a new copy of the program, inserted a single line between the header and the first line of code (a blank line) re-ftp'ed it, chmod to execute and it still will not run.

I know the this program could not be so unstable that a single line change whould crash it (it is only used on like 1000s of sites) so it must be me. Can anyone tell me what I did/am doing wrong?

Will gladly post the mod information for all if I can get this to work.

Thanks
John
steambuff
Subject Author Views Date
Thread nph-build not working with mods stearmbuff 11699 Jun 24, 2009, 9:28 AM
Thread Re: [stearmbuff] nph-build not working with mods
Andy 11532 Jun 24, 2009, 9:50 AM
Thread Re: [Andy] nph-build not working with mods
stearmbuff 11502 Jun 24, 2009, 10:56 AM
Thread Re: [stearmbuff] nph-build not working with mods
Andy 11502 Jun 24, 2009, 11:01 AM
Thread Re: [Andy] nph-build not working with mods
stearmbuff 11496 Jun 24, 2009, 12:33 PM
Thread Re: [stearmbuff] nph-build not working with mods
Andy 11479 Jun 24, 2009, 12:34 PM
Thread Re: [Andy] nph-build not working with mods
stearmbuff 11477 Jun 24, 2009, 3:51 PM
Post Post deleted by PerlFlunkie
PerlFlunkie 11329 Jul 8, 2009, 9:07 PM