I can't see pix in gallery- .htaccess problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • tzapone
    replied
    i have the same problem ( :

    Leave a comment:


  • morse
    replied
    You missed adding
    Code:
    header ("Content-type: image/jpeg");
    in img.php, add it and your problem will be solved. Your server thinks that img.php is an html file since the content type header was missing.

    Leave a comment:


  • subzero
    replied
    Open .htaccess

    Place this is there

    Code:
    AddType image/gif .gif .GIF 
    AddType image/ief .ief 
    AddType image/jpeg .jpeg .jpg .jpe .JPG 
    AddType image/tiff .tiff .tif
    Your server didn't or failed to load imei types so your fixed by that code.

    Leave a comment:


  • ashan-b
    replied
    I have attached the sys/inc folder. Thanks for your support.

    Added after 3 minutes:

    Originally posted by amylee View Post
    from my experience usually if you cant see images common problem is down to chmod/chown issues, so check if the folder is the same owner as the user which runs your apache process ( usually www-data or apache) or that the folder where your pics are uploaded to are chmod'd to 777 blah blah

    also by just by quick looking cant be assed downloaded that file, i noticed a space in between here "RewriteRule ^([0-9]*)/([0-9]*)/ index.php?id_user=$1&id_gallery=$2&acth=user_galle ry [L,QSA] "

    is that intentional?
    Yeah. I have check them both. Chmod is 777 & space is intentional.
    Last edited by ashan-b; 27.07.12, 07:57.

    Leave a comment:


  • something else
    replied
    can we see your /sys/inc/ folder also as it has all functions in it

    Leave a comment:


  • amylee
    replied
    from my experience usually if you cant see images common problem is down to chmod/chown issues, so check if the folder is the same owner as the user which runs your apache process ( usually www-data or apache) or that the folder where your pics are uploaded to are chmod'd to 777 blah blah

    also by just by quick looking cant be assed downloaded that file, i noticed a space in between here "RewriteRule ^([0-9]*)/([0-9]*)/ index.php?id_user=$1&id_gallery=$2&acth=user_galle ry [L,QSA] "

    is that intentional?

    Leave a comment:


  • something else
    replied
    whats on your img.php ? is there an error on it? :P

    Leave a comment:


  • I can't see pix in gallery- .htaccess problem

    Hi
    I can't see images in my photo gallery. I have .htaccess in that folder. But I can't remove it because then it shows me "page not found". Here is the .htaccess file. Plz help me guys.




    Any ideas?
    Last edited by ashan-b; 27.07.12, 08:00.
Working...
X