View Single Post
Old March 22nd, 2009, 04:00 PM   #1 (permalink)
M Gravlee
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 9
Show 4 Latest on PHPBB

I had this little script which would show the latest 4 photos in a little box on the front page of my phpbb forum. Just moved to a new server and upgraded PP to 6.2.1 and broke my script.
The script:
<?php
require "pp-inc.php";

if ( $Globals['mostrecent'] == "yes" ) {
$pphold = $ppopen; $ppopen = $ppopenside;
$pphold2 = $ppclose; $ppclose = $ppcloseside;
display_gallery("latest", "", "", 1, 4);
$ppopen = $pphold; $ppclose = $pphold2;
}
?>

The error:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/ranchers/public_html/photopost/pp-inc.php on line 366

Also 3 other similar errors you can see at Ranchers.net's Bull Session :: Ranchers.net - Bull Session

Suggestions?
M Gravlee is offline   Reply With Quote