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
You're running IIS aren't you? I know this bug...
Change line 98 [b]of i.php[/b] 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...)
yes i'm on IIS , t line of which file Tris ?
Thanks for the quick response
ok found it
i.php
line 97
and it is working !!!
Thank you Tris!
Guys looks like I have a similar problem. I have searched the forum all nite without any sucess. the installations was ok but the pictures and thumbs do not display. the link is http://www.zongoonline.com/gallery.
i need help here. thanks
yes i have done that already.
RewriteBase /gallery
While viewing i.php I do not see:
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.
Hi guys, i am still waiting for help. the pictures and thumbs do not display. the link is http://www.zongoonline.com/gallery.
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.
RewriteBase /gallery
i need help here. thanks
Because I am using a Windows-based Server I cannot change permissions in an ftp program. I have to go to my site control center interface and assign permissions to the folders there. I still cannot see my thumbnails but at least the folders albums and cache have the correct permisssions.
@abbey
Not sure what you mean when you say:
Quote:i noticed that this had a folder called album
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?
[b]I figured it out!!!![/b]
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:
Quote:GD 2.0 or later (built in to PHP since version 4.3 or so, but you might need to recompile PHP or contact your host if it's not working).
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:
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!
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.