netlovers Posted March 3, 2007 Share Posted March 3, 2007 I have installed Photopost Gallery it is working fine.But when i m searching for images it is showing 2 errors and not displaying any images. Following is link for image of error so if anybody has solution for this problem plz help me. Link to comment https://forums.phpfreaks.com/topic/40987-photopost-search-error/ Share on other sites More sharing options...
JasonLewis Posted March 3, 2007 Share Posted March 3, 2007 from looking at that the query on line 242 or around there is invalid, so something its looking for is wrong. the same for line 443, something wrong with the query that is being run in the mysql_fetch_array. preferably look for a query and place this: or die("Error: ".mysql_error()); on the end. that way you will be posted the errors. Link to comment https://forums.phpfreaks.com/topic/40987-photopost-search-error/#findComment-198462 Share on other sites More sharing options...
netlovers Posted March 3, 2007 Author Share Posted March 3, 2007 Following is the coding on line 242 in search.php file. list( $searchid, $kwords, $lastdate ) = mysql_fetch_row($lasts); And following is the coding on line 443 while ( list( $pid, $pcat ) = mysql_fetch_row($queryv) ) Link to comment https://forums.phpfreaks.com/topic/40987-photopost-search-error/#findComment-198499 Share on other sites More sharing options...
JasonLewis Posted March 4, 2007 Share Posted March 4, 2007 ok, well above those lines somewhere look for the variables called $lasts and $queryv because thats where your errors are. Link to comment https://forums.phpfreaks.com/topic/40987-photopost-search-error/#findComment-198901 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.