PDA

View Full Version : Not seeing images (Warning: getimagesize)


Entact
06-28-2005, 06:35 AM
Hi everyone,

This is my first time here. I managed to install the script but the problem I get is when I upload a picture. Here are some info:

Installation: On my hard drive I wanted to test the script first and make a template before I installed to my server.

Installation: table portfolio_pixelpost created...

table portfolio_comments created...

table portfolio_visitors created...

table portfolio_config populated...

Remember your data:

User: xxxxx
Pass: xxxxx

table portfolio_version created...

table portfolio_catassoc created...

Added timezone support...

Added customizable category links support...

Added HTML notification email support...

Added email in comments support...

Longer name field in comments support...

Longer url field in comments support...

Added indexes to portfolio_config...

Added indexes to portfolio_categories

Added indexes to portfolio_comments

Added indexes to portfolio_pixelpost

Added indexes to portfolio_visitors

Updated indexes...

table portfolio_version updated to 1.4.1 ...

The tables are all set.

Done.
Let's see if we can save images in the folder images:

» Images folder is writable, which is a good thing.

Let's see if we can save thumbnails in the folder thumbnails:

» Thumbnails folder is writable.

Next thing you want to do is login to the admin interface and get started posting.

PIXELPOST does not come with any warranties. I sure hope it'll work great for you and give you a worryfree great photoblog.


General Info

Pixelpost Version
You are running version 1.4.1 of Pixelpost. Released 24 April 2005.
Latest pixelpost version: Check

Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpost.org/forum/

Host Information
PHP-version 4.3.9 (Pixelpost's min requirement: PHP version 4.3.0)

MySQL version 4.0.15-nt (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib

Server software Apache/2.0.50 (Win32)

EXIF Pixelpost is using exifer v1.5 for EXIF information.

Paths
Guessed imagepath: C:/web/phpimages/

Configured Imagepath C:/web/photoblog/

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

It's funny I notice that when I try to upload I get this error when I am logged in as admin and in the images page

Warning: getimagesize(../images/20050628141825_2.jpg): failed to open stream: No such file or directory in c:\web\photoblog\admin\index.php on line 734

Warning: filesize(): Stat failed for ../images/20050628141825_2.jpg (errno=2 - No such file or directory) in c:\web\photoblog\admin\index.php on line 735
# [edit] #7, Title: test, file-name:20050628141825_2.jpg
dimensions: x , 0 Kb
to be published: 2005-06-28 14:18:25
[delete] categories: [default]

and no picture will appear. no picture in main page as well.

When I look at my folder i notice that the picture i just uploaded is outside the images folder. why is that?

I also tried changing the images path to C:/web/photoblog/images and when i do and check the general info my paths are all messed up and can't find the folders. could someone help me figure this out and suggest what i should do to correct the problem? thanks everyone.

raminia
06-28-2005, 08:03 AM
your GD install does not have jpeg support.
search the forum for this. edit php.ini for including the proper extention for jpeg support.

raminia
06-28-2005, 08:11 AM
the image path is also incorrect
use
C:/web/phpimages/

but i don't think it's ok
it shoud be somehting like
c:/web/photoblog/images/