I can log into admin fine, add categories and links, etc., even see the links in dynamic pages, but when I try to do a static build I get a "Page not found" 404 error.
I saw a similar issue discussed in an old post, where the suggested solution was to add the following line to nph-build:
Did that, and nph-build started to run, then stopped with the following error message:
Creating backup file ...
A fatal error has occured:
(Code broken up into several lines for easier legibility)
There is indeed a lsql_Links.bak.def file. The S2BK.pm line 114 reads:
import_print "Exporting $prefix$t ...\n";
print EXPORT_FH "\\\\[/url] The following is table $t".($prefix ? " (from prefixed table $prefix$t)" : "")."\0";
I'm totally baffled. If anyone has any idea how to get the static build working I'd be very grateful.
I saw a similar issue discussed in an old post, where the suggested solution was to add the following line to nph-build:
Code:
print "Content-type: text/html \n\n";Did that, and nph-build started to run, then stopped with the following error message:
Code:
Creating backup file ...
A fatal error has occured:
GT::SQL (212): File 'C:/xampp/htdocs/cgi-bin/links/admin/defs/lsql_Links.bak.def'
does not exist or the permissions are set incorrectly at
C:/xampp/htdocs/cgi-bin/links/admin/Links/Import/S2BK.pm line 114.
(Code broken up into several lines for easier legibility)
There is indeed a lsql_Links.bak.def file. The S2BK.pm line 114 reads:
Code:
for my $t (@tables) { import_print "Exporting $prefix$t ...\n";
print EXPORT_FH "\\\\[/url] The following is table $t".($prefix ? " (from prefixed table $prefix$t)" : "")."\0";
I'm totally baffled. If anyone has any idea how to get the static build working I'd be very grateful.