MyBB Community Forums

Full Version: Tube Video Gallery - MySQL error on search - Please help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys, getting a MySQL error of some description after searching with Tube Video Gallery:

http://zone5gaming.com/vgallery.php?&fil...eo_content

( ^ Try running a search for "gears" and you'll see what i mean ^ )

* Interestingly, this only happens if it finds a match, if there is no match for the search, then it'll display fine. *

- I get this after submitting:

The following warnings occurred:
Warning [2] mysql_query() [function.mysql-query]: Access denied for user 'zonegcom'@'localhost' (using password: NO) - Line: 37 - File: vgallery/search.php PHP 5.2.8 (Linux)
File Line Function
[PHP] errorHandler->error
/vgallery/search.php 37 mysql_query
/vgallery/search.php 67 search
/vgallery.php 804 require_once
Warning [2] mysql_query() [function.mysql-query]: A link to the server could not be established - Line: 37 - File: vgallery/search.php PHP 5.2.8 (Linux)
File Line Function
[PHP] errorHandler->error
/vgallery/search.php 37 mysql_query
/vgallery/search.php 67 search
/vgallery.php 804 require_once
Warning [2] mysql_fetch_row(): supplied argument is not a valid MySQL result resource - Line: 44 - File: vgallery/search.php PHP 5.2.8 (Linux)
File Line Function
[PHP] errorHandler->error
/vgallery/search.php 44 mysql_fetch_row
/vgallery/search.php 67 search
/vgallery.php 804 require_once

If anyone could help me on this it'd be much appreciated, as seems a very good plugin, if a little messy code-wise!

Thanks,

Liam.