View Full Version : archive page not showing images
rcjay2
12-02-2005, 03:27 AM
All,
I have everything working except the "browse archive" page. The only problem is the thumbnail images are not showing up. All the links work fine. I have stopped and started all processes. No luck.
Do you have any ideas?
Below is the page I am running it from.
http://localhost/index.php?x=browse&pagenum=1
INfo
PHP-version 5.1.0 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 5.0.16-nt (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib Unknown ***** What is this and how do I install it
Server software Apache/2.0.55 (Win32)
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: C:/web/images/
Configured Imagepath C:/web/images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
Spudooli
12-02-2005, 05:30 AM
Rob, is your site public? Can we take a look? Give us the URL and we'll see what we can see.
tinyblob
12-02-2005, 08:36 AM
GD is a "software suite" that handles images. We use it to create the thumbnails.
It's part of PHP, and should be running on your server. Without it, you will not get thumbnails.
Contact your hosts and ask them if they can activate it.
rcjay2
12-02-2005, 01:17 PM
GD is a "software suite" that handles images. We use it to create the thumbnails.
It's part of PHP, and should be running on your server. Without it, you will not get thumbnails.
Contact your hosts and ask them if they can activate it.
TO answer Spudooli's question, No the site is not public yet. I am doing all the development work offline.
As for the GD-lib Unknown part, since I am the hoster of my site how would I enable this feature?
INFO
PHP-version 5.1.0 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 5.0.16-nt (Pixelpost's min requirement: MySQL 3.23.58)
Windows server 2003
tinyblob
12-02-2005, 01:49 PM
If you host it yourself i'd recommend rolling back to stable version 4.* of both PHP and MySQL.
The version 5's you have are both being a little tricky with Pixelpost at the moment.
Version 4 of PHP should have GD-lib installed and running from the get-go.
rcjay2
12-02-2005, 02:32 PM
If you host it yourself i'd recommend rolling back to stable version 4.* of both PHP and MySQL.
The version 5's you have are both being a little tricky with Pixelpost at the moment.
Version 4 of PHP should have GD-lib installed and running from the get-go.
For give me for asking this...it is due to my lack of useage with both. IS that difficult? Is it just uninstalling both and reinstalling?
How can I enable it with version 5?
tinyblob
12-02-2005, 02:44 PM
I haven't used Windows in a very long time. But if memory serves there was a package called PHPeasy which installed PHP/MySQL and Apache. That might not suit you though.
In Windows, to enable GD you need to find your PHP extensions folder.
It should be something like.. C:\PHP\extensions
Look for a .dll file called something like php_gd2.dll
(you might need to switch on "show hidden files" to see it).
If it's in there, then enabling it is easy. Find your php.ini file and open it in notepad, look for this line:
;extension=php_gd2.dll
Uncomment it by removing the semi colon from the beginning. Save php.ini and restart your webserver software (Apache, IIS or whatever).
That should do it.
Enabling GD is much harder on Linux, where you have to recompile php.
rcjay2
12-02-2005, 02:52 PM
I haven't used Windows in a very long time. But if memory serves there was a package called PHPeasy which installed PHP/MySQL and Apache. That might not suit you though.
In Windows, to enable GD you need to find your PHP extensions folder.
It should be something like.. C:\PHP\extensions
Look for a .dll file called something like php_gd2.dll
(you might need to switch on "show hidden files" to see it).
If it's in there, then enabling it is easy. Find your php.ini file and open it in notepad, look for this line:
;extension=php_gd2.dll
Uncomment it by removing the semi colon from the beginning. Save php.ini and restart your webserver software (Apache, IIS or whatever).
That should do it.
Enabling GD is much harder on Linux, where you have to recompile php.
Tinyblob
Sweet...thanks. That should not be a problem. I will try it tonight when I get home from work. If I enable this and the thumbnails still don't show, what next?
Joe[y]
12-02-2005, 06:53 PM
also make sure the gd has jpg-support.
rcjay2
12-02-2005, 10:41 PM
Tinyblob
Sweet...thanks. That should not be a problem. I will try it tonight when I get home from work. If I enable this and the thumbnails still don't show, what next?
OK...
I have done all this.....
In Windows, to enable GD you need to find your PHP extensions folder.
It should be something like.. C:\PHP\extensions
Look for a .dll file called something like php_gd2.dll
(you might need to switch on "show hidden files" to see it).
If it's in there, then enabling it is easy. Find your php.ini file and open it in notepad, look for this line:
Code:
;extension=php_gd2.dll
Uncommented the php_gd2.dll out and still no thumbnails.
Checked php/ext folder and the php_gd2.dll was there.
Any other ideas?
Would it matter if the file name are.jpg instead of .jpeg?
tinyblob
12-02-2005, 10:42 PM
Rob, .jpg is fine.
Can you paste the information from the info section again?
rcjay2
12-02-2005, 11:57 PM
Here is the current info
Pixelpost Version
You are running version 1.4 of Pixelpost. Released 5 April 2005.
Latest pixelpost version: Check
Host Information
PHP-version 5.1.0 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 5.0.16-nt (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible)
Server software Apache/2.0.55 (Win32)
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: C:/web/images/
Configured Imagepath C:/web/images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
rcjay2
12-03-2005, 12:31 AM
It is working!!!!!!!!!!!!!!!!!!!!!!!!!!!
THANK YOU FOR ALL YOUR HELP:)
tinyblob
12-03-2005, 09:50 AM
Rob, seeing as you only just got it working, you should start again with 1.4.3 of pixelpost. Version 1.4 isn't as secure.
rcjay2
12-03-2005, 08:04 PM
Rob, seeing as you only just got it working, you should start again with 1.4.3 of pixelpost. Version 1.4 isn't as secure.
Is there an easy way to do this?
tinyblob
12-03-2005, 08:06 PM
i've never done the 1.4 to 1.4.3 upgrade, but if you download the newest version from http://www.pixelpost.org there should be upgrade instructions..
After uncommenting ;extension=php_gd2.dll did you make Apache restart?? If no make it!!
PS Sorry for my post but I didnt see that there is one more page of that topic :P
rcjay2
12-04-2005, 04:04 PM
After uncommenting ;extension=php_gd2.dll did you make Apache restart?? If no make it!!
PS Sorry for my post but I didnt see that there is one more page of that topic :P
GEOS,
I uncommented the extension=php_gd2.dll and restarted the computer....no luck on the thumbnails. I then uploaded a new pic with the .JPEG extension. All other pictures had the .JPG extension. That worked.I could see the thumbnails fine.
After that...to clean things up I deleted the DB and started from scratch. All the new photos I uploaded with the .JPEG came through fine.
Everything is running fine now. I just have to upgrade to 1.4.3 now.
I might just scrap everything and rebuild everything from scratch just for practice.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.