Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

SF Games APU+SQL Error


Robbie Nauffts 1045788
 Share

Recommended Posts

Robbie Nauffts 1045788
Posted
Posted

I am trying to install the APU Pirep system on my site and have been successful. The issue now is the roster page will not display and I get this error:

 

P[Mod - Happy Thoughts] error: syntax error, unexpected T_DNUMBER in /home/a2749106/public_html/APU/admin/config.php on line 20

 

I run an SQL Scan and this is what I get:

 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<?php 

   $apus_root_path = './'; 
   include($apus_root_path . 'admin/common.ph' at line 1 

 

How do I fix this?

 

Thanks Guys!

BE4SQyR.jpg

 

“Aviation is not inherently dangerous, but it is terribly unforgiving.”

Link to comment
Share on other sites

Luke Kolin
Posted
Posted

Looks like you're p[Mod - Happy Thoughts]ing PHP code to mySQL somehow.

 

Cheers!

 

Luke

... I spawn hundreds of children a day. They are daemons because they are easier to kill. The first four remain stubbornly alive despite my (and their) best efforts.

... Normal in my household makes you a member of a visible minority.

Link to comment
Share on other sites

 Share