Bravo List

Bravo List (https://www.bvlist.com/index.php)
-   Community Cafe (https://www.bvlist.com/forumdisplay.php?f=18)
-   -   Image Error (https://www.bvlist.com/showthread.php?t=5195)

".

    "".
   
    "".
"\n";
  // Show 3 staff per row, separated by an empty column
  ++ $col[$arr['class']];
  if ($col[$arr['class']]<=2)
    $staff_table[$arr['class']]=$staff_table[$arr['class']]."";
  else
  {
    $staff_table[$arr['class']]=$staff_table[$arr['class']]."";
    $col[$arr['class']]=0;
  }
}
begin_frame("Staff");
?>

HUnter83 19th August 2010 14:12

Image Error
 
can someone help my images wont show and iv tried everything i can think of

main pat of staff.php where the code for this is ...

Code:

$act = $_GET["act"];
if (!$act) {
// Get current datetime
$dt = gmtime() - 180;
$dt = sqlesc(get_date_time($dt));
// Search User Database for Moderators and above and display in alphabetical order
$res = mysql_query("SELECT * FROM users WHERE class>=".UC_UPLOADER.
  " AND status='confirmed' ORDER BY username" ) or sqlerr();
while ($arr = mysql_fetch_assoc($res))
{
  $land = mysql_query("SELECT name,flagpic FROM countries WHERE id=$arr[country]") or sqlerr();
  $arr2 = mysql_fetch_assoc($land);
  $staff_table[$arr['class']]=$staff_table[$arr['class']].
"
".
    $arr['username']."
".("'".$arr['last_access']."'">$dt?"\"online\"":"\"offline\"" )."".
    "
 







































All software support questions and those already answered in the FAQ will be ignored.
                     
SysOps

 
Administrators

 
Moderators

 
Uploaders




if (!$act) {
$dt = gmtime() - 180;
$dt = sqlesc(get_date_time($dt));
// LIST ALL FIRSTLINE SUPPORTERS
// Search User Database for Firstline Support and display in alphabetical order
$res = mysql_query("SELECT * FROM users WHERE support='yes' AND status='confirmed' ORDER BY username LIMIT 10") or sqlerr();
while ($arr = mysql_fetch_assoc($res))
{
 $land = mysql_query("SELECT name,flagpic FROM countries WHERE id=$arr[country]") or sqlerr();
 $arr2 = mysql_fetch_assoc($land);
 $firstline .= "".$arr['username']."
  ".("'".$arr['last_access']."'">$dt?"\"online\"":"\"offline\"" )."".
 ""."".
 "".
 "".$arr['supportfor']."\n";
}
http://i34.tinypic.com/34j3z7t.jpg

and when u rightclick the broken image u get this

location : c:\www so i know sumits wrong because its not picking up the image from the [place it should
joeroberts 19th August 2010 14:19

is
PHP Code:

$pic_base_url 

defind?
if not or even just try by adding
PHP Code:

$pic_base_url = "where image is"; 

just after

HUnter83 19th August 2010 14:31

$pic_base_url = "C:\www\xampp\htdocs\pic"; is where my pics are and iv tried both your ways still nothing all my other images work except these

and $pic_base_url is in my bittorrent.php

KustomizeR 19th August 2010 17:51

Right click on an image and select "View image" and see what url it has, then compare it with $pic_base_url :)


All times are GMT +2. The time now is 21:52.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2026, vBulletin Solutions Inc.