I look t trough the topic but cant find anything...
perhaps I'm the only one trying this :P
But the question:
I want to run the script in the look and feel of the rest of the forum (Navigation, not a popup, etc) The most interesting option in my vision is to run it as a PHP file in VBAdvanced! So i can add/run modules next to it!
I try d to load/run the script as a single PHP file, with and without clean output. But at all situations I get the next VBulletin error page with the next error:
<====================error======================== =======>
Warning: Invalid argument supplied for foreach() in /radioandtv.php on line 1440
Warning: Division by zero in /radioandtv.php on line 957
<===================Iframe database error content==============>
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT *, r.stationid, COUNT(rt.stationid) as ratings, SUM(rt.rating) / COUNT(rt.stationid) AS average FROM radiostation AS r
LEFT JOIN radiostation_category AS c ON (r.categoryid = c.categoryid)
LEFT JOIN radiostation_rating AS rt ON (r.stationid = rt.stationid)
GROUP BY r.stationid
ORDER BY name ASC LIMIT 0,;
MySQL Error : 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 '' at line 6
Error Number : 1064
Date : Wednesday, March 19th 2008 @ 11:37:21 AM
Script :
http://www.doodsaai.nl/index.php?pageid=online-radio
Referrer :
IP Address : 195.73.204.130
Username : svenlohuis
Classname : vb_database
<===================== /end error ============================>
Does anyone know an answer? I would love to run the script as a page in vb advanced!