Advanced Website Creator

Web development tools
It is currently Sat Oct 21, 2017 5:41 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Aug 13, 2009 12:25 am 
Hello, just dowloaded the trial version and its crashing while trying to convert a php file. Does this product work with php files? the error message is "crash in .\source\htmlview.cpp on line 147.

Thank you for your help.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 13, 2009 2:47 am 
Offline
Site Admin

Joined: Thu Jan 04, 2007 1:57 pm
Posts: 303
Hello Gina,
Thank you for reporting this issue.

Table2CSS has a limited support for PHP files. More precisely it can process HTML files with embedded PHP code. Whether the file extension is .php or something else it doesn't matter as long as Table2CSS is able to recognize the basic HTML structure in these files. This means that the PHP file must start with an <html> tag preceded by an optional <DOCTYPE> tag.

The above means that most .php files which are just HTML templates can be converted. On the other hand .php files which generate all of their HTML content on the fly are not real HTML documents so Table2CSS cannot convert them. However you still can convert the HTML output from such files. Place the .php file on a web server, then make sure that it works correctly by visiting the URL of that php file in a web browser, e.g.
http://www.the-server-with-your-file/script.php
Then enter that URL from the "Add file/URL" dialog. Of couse after the conversion the result will be an HTML file, not a PHP one.

We will add a fix for this crash and will release a minor update of Table2CSS today, but if your file does not have an HTML structure, then the only option would be to convert its HTML output. If you doubt if your .php file can be converted as a template, feel free to send the PHP file to support@table2css.com. I will take a look at it and will let you know if it can be processed as an HTML template.

Best regards,
Vesselin


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 13, 2009 7:32 pm 
Offline
Site Admin

Joined: Thu Jan 04, 2007 1:57 pm
Posts: 303
The crash has been fixed in version 3.0.2


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron