ramiismail / dopresskit

presskit() - spend time making games, not press.
GNU General Public License v3.0
133 stars 50 forks source link

PHP Error in Index.php #69

Closed JoshHeng closed 6 years ago

JoshHeng commented 6 years ago

I'm getting this error, and I've only uploaded images and changed data.xml (not index.php) :

Warning: simplexml_load_file(): data.xml:77: parser error : expected '>' in C:\nginx\html\press\index.php on line 67

Warning: simplexml_load_file(): </quotes> in C:\nginx\html\press\index.php on line 67

Warning: simplexml_load_file(): ^ in C:\nginx\html\press\index.php on line 67

Warning: simplexml_load_file(): data.xml:117: parser error : Opening and ending tag mismatch: quotes line 71 and game in C:\nginx\html\press\index.php on line 67

Warning: simplexml_load_file(): </game> in C:\nginx\html\press\index.php on line 67

Warning: simplexml_load_file(): ^ in C:\nginx\html\press\index.php on line 67

Warning: simplexml_load_file(): data.xml:117: parser error : Premature end of data in tag game line 3 in C:\nginx\html\press\index.php on line 67

Warning: simplexml_load_file(): </game> in C:\nginx\html\press\index.php on line 67

Warning: simplexml_load_file(): ^ in C:\nginx\html\press\index.php on line 67

Fatal error: Uncaught Error: Call to a member function children() on boolean in C:\nginx\html\press\index.php:69 Stack trace: #0 {main} thrown in C:\nginx\html\press\index.php on line 69
mbndr commented 6 years ago

Can you give the affected lines and maybe surrounding lines of the data.xml? Affected lines are 77 and 117. There has to be a mistake somewhere in your XML.

JoshHeng commented 6 years ago

Thanks, but I've just used an XML validator and I forgot to put , and now it's working. Sorry for the bother!

On 2 Aug 2018, at 20:05, Maxi Binder notifications@github.com wrote:

Can you give the affected lines and maybe surrounding lines of the data.xml? Affected lines are 77 and 117. There has to be a mistake somewhere in your XML.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mbndr commented 6 years ago

You're welcome. Now you could close the issue so the repo owner doesn't have to read through fixed issues :D Have a great evening :+1: