No thumbnails, no small photo, only red cross

Hello,

I searched the forums, and read all about the path 's and cache solutions, but none work :S

I cant see any pictures, unless i right mouse click, and open picture.

Thumbnails are not shown : but they are clickable. I changed the web path in the config.

Im running Apache, with PHP4.3 and mysql. Can somebody give me a last solution ? I really love zenphoto, but it is kinda useless to me now :S

THanks

Maurice
www.vandorp.nu/zenphoto

Comments

  • So to recap them

    Your server supports mod-rewrite, correct?

    if yes, you have changed the rewrite base in your .htaccess file?

    Your albums and cache directory are chmod777?

    Does your cache directory have thumbnails in them?

    If all these do not work, THEN modify your server paths in the config.php?

    Have you tried it with mod-rewrite set to false in your config.php?
  • My server does support mod - rewritw, my .htacces says this :
    RewriteBase web/vandorp.nu/zenphoto/albums/

    And : how do i get my dirs to chmod777? how does that work?

    And my cache dir. is empty :S
    It did set mod rewrite to false, same story :S

    I think it could be the chmod777 thing, but i have no clue how to modify that..

    thanks for the help!

    regards
    M
  • your rewrite base should be
    /zenphoto

    to change the chmod, use your ftp program, right click on the folder and choose properties normally..there you should see file permissions.
  • When i modify my rewrite base to /zenphoto, i get page cannot be displayed.

    If i just set modrewrite to false and adjust the path, i can click on the thumbnails, and i get the picture in the end.

    If i just get uncheck read-only on the cache folder, is that the same as chmod ?
  • trisweb Administrator
    Daniel's right, RewriteBase should be /zenphoto for you.

    Regardless of that, you have a bigger problem, as evidenced from the output of i.php:

    `Fatal error: Call to undefined function: imagecreatefromjpeg() in E:Webvandorp.nuzenphotozenfunctions.php on line 44`

    You don't have the GD library installed. Take care of that and it should work a little better. ;-)
  • Hmm, well, tried that rewrite thing, but that just doesnt work.

    Activated GD lib. It is version 2, and should be running, but still no sign of any pictures :S
  • modified my php.ini, according to this http://www.boutell.com/gd/faq.html website.

    But still no luck. Tried the chmod thing to.All folders are 777.

    Still the cache is not filled. Should the cache folder be known somewhere?
  • Im so lost here.

    The gallery looks smashing : www.vandorp.nu/zenphoto

    but those stupid thumbs are not working.. anybody another idea?
  • Just to let yo uguys know : It works!

    Upgraded my PHP install, and bam is see thumbnails!
  • trisweb Administrator
    What version were you running previously? It'd be good to take it off the compatibility list ;-)
  • I was running version PHP 4.4.2, now im running the latest from PHP.net.

    Im pretty sure it does not work with that version, tried 4 servers with 4.4.2. and they all have the same probs!
  • I recently migrated from an old server to my new server and I was and still am on version 1.0.2. The php version on the old server was 4.4.1.1 and it DID work for me. This was also IIS6 on Server 2003.. incase it makes a difference. The server is still running just not public but it is still working. I am leaving to go camping after work today but when I get back I will upgrade to 4.4.2 and see what I get.
    Just out of curiosity, was this one of those pre built WAMP (Windows Apache MYSql PHP) type webserver setups or just standalone versions?
  • For the sake of knowing compatibility, I decided to do it on my lunch... it does work
    php 4.4.2
    php 4.4.1
    mysql 4.0.17-nt
    IIS6.0
    gd2

    http://chilifrei.net:8080/zenphoto/
    Obviously this is not with Apache, I will try it with that later..
  • trisweb Administrator
    Thanks daniel, probably just a configuration problem. 4.4.2 is definitely capable of running it, I was thinking it might have been a much older version.
  • Hmm , that is kinda weird. Just to complete the picture my setup :

    Windows 2003 server
    Apache
    PHP
    Mysql

    It was not a premade package.. tried it on some other servers, but it did not work.

    It might be a config problem from my side, but still it is strange that after a normal upgrade it suddenly works
Sign In or Register to comment.