Hello everything was fine with my setup until I upgraded to 1.02b....
After upgrading , no thumbnails or images would show. I tried uploading new pics and then check to see on the web site and they weren't showing either but they were uploaded on the server correctly. I deleted everything, did a complete reinstall and still the same issue, setup went fine , connection to the DB is fine , I can upload , or edit albums , but not 1 single image is showing as a thumb or regular photo ?? Please help me
here is my php info regarding GD in case you need it :
GD
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
here is my web site if you want to take a look
http://www.mattgalarneau.com/zenphoto
Comments
Change line 98 of i.php from:
`$protocol = $_SERVER['HTTPS'] ? 'https' : 'http';`
to:
`$protocol = 'http';`
(Even if you aren't on IIS, but please tell me your setup in any case so I can diagnose it better and fix this bug...)
Thanks for the quick response
i.php
line 97
Thank you Tris!
Ideas?
Pete
www.kuhnfoto.com
i need help here. thanks
You need to change it from
`RewriteBase /zp`
to
`RewriteBase /gallery`
# !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!
RewriteBase /gallery
changed zp to zenphoto
cache & albums =777
ANy other suggestions?
Change line 98 of i.php from:
$protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
to:
$protocol = 'http';
(Even if you aren't on IIS, but please tell me your setup in any case so I can diagnose it better and fix this bug...)
I am not sure if i am on IIS or not...thanks for your help.
when i click on the thumbnail the picture does not show rather it shows the link http://www.zongoonline.com/gallery/bright/bright_21.jpg and when u click on the link the picture shows. i checked the path for that and it was http://www.zongoonline.com/gallery/albums/bright/bright_21.jpg
i noticed that this had a folder called album
i have changed the htaccess file but still it does not work.
# !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!
RewriteBase /gallery
i need help here. thanks
Not sure what you mean when you say: However, what I would suggest is try reinstalling ZenPhoto. Delete all your files (including the .htaccess) and then try to reinstall it. I was looking at your paths and all, and I can't figure out what's going on. It seems like something is going on (if you look at the HTML source you can see that it's trying to access a different path), but I can't figure it out exactly because I don't have access to your site.
@relee
That line 98 thing in i.php is no longer relevent as of ZenPhoto 1.0.3. I'm not too sure why yours isn't working. Do you have a url where I can see it?
WAIT!
Somehow I've been able to recreate this problem. Let me see if I can figure this out.
I had uninstalled WAMP then reinstalled it (because of some other thing that was going on). When it was reinstalled, I had the same error that you guys have.
Now I know what the problem is. You don't have GD installed or enabled.
The WIKI states: GD is the graphics library that ZenPhoto is based on. Normally, it should come already compiled in with your PHP executable, but as I found out, it's not always the fact.
Here's how to enable GD2 in PHP:
1) If you have access to your php.ini file...
• Open it up in your favorite text editor and look for the following line (near the middle):
`;extension=php_gd2.dll`
change it to
`extension=php_gd2.dll`
(basically, remove the semi-colon in front)
• Save the file and upload it back on the server and overwrite the old file.
• Restart your server
• That's it!
2) If you don't have access to your php.ini file, you're most likely being hosted. Ask the system administrator to enable GD2 or to recompile PHP with GD2.
I previously spoke with host=crystal tech and they assured me GD was enabled. I will rehash this with them. Again, thank you for taking the time to work with us...and Abbey thanks for letting me bombard your post...i am SO anxious to work with this program...and i don't wanna have to go to flickr....
www.re-lee.com
Rebecca
However, I did place a GD test on your site.
http://www.re-lee.com/gd_test.php
The results you should see are as follows:
array(9) {
["GD Version"]=>
string(24) "bundled (2.0 compatible)"
["FreeType Support"]=>
bool(false)
["T1Lib Support"]=>
bool(false)
["GIF Read Support"]=>
bool(true)
["GIF Create Support"]=>
bool(false)
["JPG Support"]=>
bool(false)
["PNG Support"]=>
bool(true)
["WBMP Support"]=>
bool(true)
["XBM Support"]=>
bool(false)
}
See this link for more on this: http://us3.php.net/manual/en/function.gd-info.php"
ANy ideas?
If you have gd installed, it seems you might have a different problem. Can you give me your ZenPhoto gallery?
www.re-lee.com/zenphoto
You're using Microsoft IIS -- you can't use the mod_rewrite option with it, so you'll have to stick with regular URLs. Find that in config.php and set it to false.
Your image generation is working great, as you can see from this URL to i.php I made by hand...
http://www.re-lee.com/zenphoto/zen/i.php?a=our-first-house&i=DSCN0159.JPG&s=595
GameDudeX = hero
trisweb = rock star!
YaY! I finally have the super powers I've always wanted! And tristan... it seems you now have all the women, drugs, and fame that you ever could've wanted.
=P