Login

Username:


Password:


Remember me



Forgot Password?




 Merchandise




Offline vdr pdf generator problem

For reporting bugs with the Vehicle Design Rules and Tyranid Design Rules calculators

Offline vdr pdf generator problem

Postby Guest » Wed Nov 26, 2008 9:47 pm

When you try to create a pdf of your vehicle using the offline version of the VDR generator, it gives an error that "datafax.php" can't be found. When I looked at the files that are downloaded, datafax.php wasn't included. It included datafax.html, but not datafax.php.

Is there a way to package that php file with the download so people can use it offline?
Guest
 

Postby Spack » Thu Nov 27, 2008 7:07 am

The offline ZIP download doesn't include a way to create PDF files - the PDF handling is purely online. What browser did you load the offline generator into? It should never call the .php file as that only works online, there is no way that can be provided to run offline because it requires a php enabled webserver and some PDF plugins to run.

So long as your browser has javascript enabled it will load the correct .html file template and never try to call the .php file. I can only assume that there is a problem with your browser configuration. While the form references the datafax.php file, it doesn't actually load it - the Generate HTML button causes the javascript code referenced by the page to pull up and fill out either the datafax.html or ccdatafax.html files depending on if the Close Combat Vehicle option is ticked. The Generate PDF button was deliberately commented out in the offline version of the index file because it won't allow a PDF to be generated offline - if you edited the HTML file and uncommented this button then you have tampered with the file and that is not a bug, was never intended for that feature to be used offline.

As you didn't leave an email address or post from a registered user account I have no way of contacting you either, I can only hope that you see this reply and respond.
Last edited by Spack on Thu Nov 27, 2008 8:16 am, edited 2 times in total.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6815
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)




Return to VDR / TDR Bugs




 Social Links