GenoPro Home
|
Get Started With My Genealogy Tree
|
Buy
|
Login
|
Privacy
|
Search
|
Site Map
GenoPro Support Forum
Home
Search
Tags
Who's On
Welcome Guest
(
Login
|
Register
)
Recent Posts
Popular Topics
Home
»
GenoPro
»
Report Generator
»
Report Generator Bugs
»
Parse error, when publishing on a site with PHP parsing enabled
Parse error, when publishing on a site with PHP parsing enabled
Rate Topic
Topic View
Topic Options
Author
fbukolyi
Posted Sunday, November 5, 2006
-
Post #14249
Forum Guru
Important Contributors
Customers
GenoPro version: 3.1.0.1
Last Login: Saturday, December 28, 2024
Posts: 193,
Visits: 4,270
When
publishing
to a site with php parsing enabled the following
error
appears:
Parse error: parse error, unexpected T_STRING in home/b/bukolyi/public_html/csaladfa/home.htm on line 1
this is for several .htms.
The cause is in the first line:< ?xml version="1.0" encoding="utf-8"?>, as by default, php as configured by MAMP enables short tag support - so php is trying to interpret everything between < ? ?>.
However, if this line is replaced by < ?php echo '< ?xml version="1.0" encoding="UTF-8"?>';?> - or delete the line itself - the site is OK.
However, I do not know, what is the side effect if this change will be done globally
Note: originally there is no space between < and ? (I had to put one or the forum hides the whole
)
Feri
Edited:
Sunday, November 5, 2006 by
fbukolyi
Threaded View
Threaded View
Parse error, when publishing on a site with PHP parsing enabled
By
fbukolyi
(
Sunday, November 5, 2006
)
Jean-Claude, I would not like to generate any php :) The question is:...
By
fbukolyi
(
Thursday, November 9, 2006
)
The master skin won't be changed for sure, however you are welcome to...
By
jcmorin
(
Thursday, November 9, 2006
)
[quote][b]JcMorin (11/9/2006)[/b][hr]The master skin won't be changed...
By
PavelM
(
Saturday, February 28, 2009
)
Hi Pavel, Try this way: 1. Download and install a copy the the free...
By
genome
(
Saturday, February 28, 2009
)
I had the same issue as documented above with a PHP parsing enabled...
By
AndyQuest
(
Friday, July 9, 2010
)
The behaviour of the php parser is depending on a settings of php.ini...
By
fbukolyi
(
Wednesday, November 8, 2006
)
[quote][b]fbukolyi (11/9/2006)[/b][hr]what if you make the replacement...
By
jcmorin
(
Thursday, November 9, 2006
)
The xml declaration is not strictly necessary when the encoding is...
By
genome
(
Wednesday, November 8, 2006
)
Similar Topics
Reading This Topic
Active: 2 - 1 guest, 0 members, 0 anonymous.
No members currently viewing this topic!
Powered By InstantForum.NET 2010-3-x © 2025
Execution: 0.016.
3 queries.
Compression Enabled.
Search All Forums...
GO
Advanced Search
Rate Topic
Great
Good
Average
Bad
Poor
Rate This Topic
Flat Ascending
Flat Descending
Threaded
Subscribe To Topic
Print This Topic
Goto Topics Forum