search
Innovative Web Design and Application Development
PawPrint.net

PawPrint.net Forum


Thread #856

brassett has no photo

by: brassett
December 15th, 2008
Syntax and Description Errors in units.xml
Syntax error on line 576:  Missing “<” before “/vv:convert>”

Syntax error on line 1208:  Wrong tag “<dd:description”, should be “<vv:description”

Description errors on lines 1210-1211:  The descriptions “teaspoon” and “metric teaspoon” appear to be reversed.

Syntax errors on lines 1223-1225:  Missing “/” to close tags <vv:description> in each line.




Here is the output from Linux/diff:

576c576
< <vv:unit type="factor"><vv:symbol>nm/L</vv:symbol><vv:name type="SI">nanometre per litre</vv:name><vv:convert-from>1E-9/vv:convert-from></vv:unit>
---
> <vv:unit type="factor"><vv:symbol>nm/L</vv:symbol><vv:name type="SI">nanometre per litre</vv:name><vv:convert-from>1E-9</vv:convert-from></vv:unit>
1208c1208
< <vv:unit type="factor"><vv:symbol>Tbsp</vv:symbol><vv:name type="SI">Tablespoon (Australia)</vv:name><vv:convert-from>0.019715686376</vv:convert-from><dd:description lang="en">Strangely enough: Tablespoons are bigger in Australia then almost everywhere else in the world!</vv:description></vv:unit>
---
> <vv:unit type="factor"><vv:symbol>Tbsp</vv:symbol><vv:name type="SI">Tablespoon (Australia)</vv:name><vv:convert-from>0.019715686376</vv:convert-from><vv:description lang="en">Strangely enough: Tablespoons are bigger in Australia then almost everywhere else in the world</vv:description></vv:unit>
1210,1211c1210,1211
< <vv:unit type="factor"><vv:symbol>tsp</vv:symbol><vv:name type="SI">Teaspoon</vv:name><vv:convert-from>0.005</vv:convert-from><vv:description>A Metric Adaptation of the Teaspoon</vv:description></vv:unit>
< <vv:unit type="factor"><vv:symbol>tsp</vv:symbol><vv:name type="SI">Metric Teaspoon</vv:name><vv:convert-from>0.004928921594</vv:convert-from></vv:unit>
---
> <vv:unit type="factor"><vv:symbol>tsp</vv:symbol><vv:name type="SI">Metric Teaspoon</vv:name><vv:convert-from>0.005</vv:convert-from><vv:description>A Metric Adaptation of the Teaspoon</vv:description></vv:unit>
> <vv:unit type="factor"><vv:symbol>tsp</vv:symbol><vv:name type="SI">Teaspoon</vv:name><vv:convert-from>0.004928921594</vv:convert-from></vv:unit>
1223,1225c1223,1225
< <vv:unit type="factor"><vv:symbol>-</vv:symbol><vv:name type="SI">dash</vv:name><vv:convert-from>0.0006161151993</vv:convert-from><vv:description lang="en">Quantified kitchen measures source: http://www.goldaskitchen.com/news0201.ihtml<vv:description></vv:unit>
< <vv:unit type="factor"><vv:symbol>-</vv:symbol><vv:name type="SI">pinch</vv:name><vv:convert-from>0.00030805759965</vv:convert-from><vv:description lang="en">Quantified kitchen measures source: http://www.goldaskitchen.com/news0201.ihtml<vv:description></vv:unit>
< <vv:unit type="factor"><vv:symbol>-</vv:symbol><vv:name type="SI">smidgen</vv:name><vv:convert-from>0.000154028799825</vv:convert-from><vv:description lang="en">Quantified kitchen measures source: http://www.goldaskitchen.com/news0201.ihtml<vv:description></vv:unit>
---
> <vv:unit type="factor"><vv:symbol>-</vv:symbol><vv:name type="SI">dash</vv:name><vv:convert-from>0.0006161151993</vv:convert-from><vv:description lang="en">Quantified kitchen measures source: http://www.goldaskitchen.com/news0201.ihtml</vv:description></vv:unit>
> <vv:unit type="factor"><vv:symbol>-</vv:symbol><vv:name type="SI">pinch</vv:name><vv:convert-from>0.00030805759965</vv:convert-from><vv:description lang="en">Quantified kitchen measures source: http://www.goldaskitchen.com/news0201.ihtml</vv:description></vv:unit>
> <vv:unit type="factor"><vv:symbol>-</vv:symbol><vv:name type="SI">smidgen</vv:name><vv:convert-from>0.000154028799825</vv:convert-from><vv:description lang="en">Quantified kitchen measures source: http://www.goldaskitchen.com/news0201.ihtml</vv:description></vv:unit>



Discussion:
hashimamla has no photo

by: hashimamla
April 2nd, 2010
Syntax and Description Errors in units.xml
I just moved my local site to the server. I use Dreamhost and they use php5 exclusively. I am getting the same error:

Parse error: syntax error, unexpected T_ARRAY, expecting & or T_VARIABLE or T_CONST in /home/wildlettuce/wildlettucedesign.com/sites/all/modules/imageapi/imageapi.module on line 161

Dreamhost does not offer support for php script so I am hoping someone here can help me.
Dreamhost servers run PHP in CGI mode.

Maybe I need "special crap in the .htaccess"?
Do I need a php.ini file? If so, I have no idea how to go about that either.
Am I just out of luck?

Hashim Amla
----------------------
issues of pakistan should be resolved!

RSS feed Feed Description
Subscribe to the complete PawPrint.net Forum RSS forum feedFull RSS feed Complete RSS feed
Subscribe to the complete PawPrint.net Forum RSS forum feed for this category onlyVersaverter Support RSS feed for: Versaverter Support
A Rich Site Summary (RSS) feed is an xml data file that provides a summary of the information contained here. It is not designed to be viewed in your browser, but instead by rss reader software. If you do not know what this means - you can safely ignore it, as it is provided for advanced users with rss reader software only.


i
To contribute to our forums you must login. New members can register for a user account.







Copyright © 1992-2019 PawPrint.net
web design and maintenance: PawPrint.net