Author Topic: upload error and 1.6 installation difficulties  (Read 11744 times)

0 Members and 1 Guest are viewing this topic.

Offline erock

  • Newbie
  • *
  • Posts: 12
    • View Profile
upload error and 1.6 installation difficulties
« on: June 28, 2002, 05:32:50 AM »
(note...  i am still using 1.0 -- plan on getting to 1.6 over the weekend...)

uploading has always worked for me, and i have not changed anything, so i'm assuming this is PHP or server related, but i'm hoping you can point me in the right direction...

when uploading a file, the file is transferred and then the following page is displayed:

"Image file uploaded: image_name.JPG
Error uploading thumbnail file:
image_name.JPG: Invalid file type (application/octet-stream)

Image file deleted
No database entry!"

VERY strange...  any ideas?

thanks!

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
upload error and 1.6 installation difficulties
« Reply #1 on: June 28, 2002, 09:43:02 AM »
For thumbnails, only images are valid file types (jpg, gif png).

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Vb2-Fan

  • Newbie
  • *
  • Posts: 21
    • View Profile
upload error and 1.6 installation difficulties
« Reply #2 on: June 28, 2002, 09:44:53 AM »
may be becouse of this so-called "PHP Safe Mode" problem...

if it's enabled on your server, then you will get some sort of errors...

it's been fixed in v.1.6

regards.

Offline Vb2-Fan

  • Newbie
  • *
  • Posts: 21
    • View Profile
upload error and 1.6 installation difficulties
« Reply #3 on: June 28, 2002, 09:47:11 AM »
Quote from: Jan Sorgalla
For thumbnails, only images are valid file types (jpg, gif png).

Greets Jan


oops  :oops:

sorry, wrote my reply be4 i see Jan's

 :oops:

Offline erock

  • Newbie
  • *
  • Posts: 12
    • View Profile
upload error and 1.6 installation difficulties
« Reply #4 on: June 28, 2002, 02:04:56 PM »
hmmm.  i wasn't uploading a thumbnail -- just the original image.  is the "safe mode" thing true?

Offline Alan @ ArtScans

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://www.qcs-software.com
upload error and 1.6 installation difficulties
« Reply #5 on: June 28, 2002, 03:33:52 PM »
Hi,

I'm just guessing here, from what was in the original message, but if your not uploading a thumbnail, you need to leave that field blank, and a thumbnail will be created by 4images (v1.6 has automatic thumbnail generation on uploads, with older versions you need to run the auto-thumbnailer from the admin cp).

If I'm wrong, and the thumbnail field on the upload form is blank, then I don't know what the problem is :-)  But it looks like your entering a filename in the thumbnail field as well.

Thanks,
Alan.
Alan Wagstaff,
Software Development Manager, SDT
QCS Software

Offline erock

  • Newbie
  • *
  • Posts: 12
    • View Profile
upload error and 1.6 installation difficulties
« Reply #6 on: June 28, 2002, 04:10:33 PM »
that's just the thing...

i am leaving the thumbnail field blank -- just as i always did.  and things just stopped working...

i don't think this is a problem with the app specifically, because i have not changed the code -- i'm thinking server/config issue...

Offline erock

  • Newbie
  • *
  • Posts: 12
    • View Profile
upload error and 1.6 installation difficulties
« Reply #7 on: June 30, 2002, 07:11:58 PM »
any other ideas, folks?

Offline Vienix

  • Full Member
  • ***
  • Posts: 144
    • View Profile
    • com.municate.nl
upload error and 1.6 installation difficulties
« Reply #8 on: June 30, 2002, 07:28:02 PM »
Maybe maybe its your mime settings

Maybe Maybe, you should use jpg instead of JPG
or add JPG as a new mime type...

How is your upload definitions file ?

Did you change something there ???
Thats It !

Offline erock

  • Newbie
  • *
  • Posts: 12
    • View Profile
upload error and 1.6 installation difficulties
« Reply #9 on: June 30, 2002, 07:49:56 PM »
eeeek!!  ack!!  argh!

i ran thru the update -- meticulously from the installation.txt instructions...

in the admin cp, everything looks fine -- the images are there, the comments are there, the descriptions are there, etc...

on the actual site, though, the full size images are NOT displayed, nor are the descriptions, dates, etc....

is there something i'm missing?

help!

Offline Vienix

  • Full Member
  • ***
  • Posts: 144
    • View Profile
    • com.municate.nl
upload error and 1.6 installation difficulties
« Reply #10 on: June 30, 2002, 08:24:24 PM »
Quote from: erock
eeeek!!  ack!!  argh!

i ran thru the update -- meticulously from the installation.txt instructions...

in the admin cp, everything looks fine -- the images are there, the comments are there, the descriptions are there, etc...

on the actual site, though, the full size images are NOT displayed, nor are the descriptions, dates, etc....

is there something i'm missing?

help!


Yes ! images on the frontpage :)

How about a reinstall ?

leave your pics where they are... you can add them by check>new pics

(i think)
Thats It !

Offline erock

  • Newbie
  • *
  • Posts: 12
    • View Profile
upload error and 1.6 installation difficulties
« Reply #11 on: July 01, 2002, 02:07:41 AM »
hmmm.  it looks like something in the templates is affecting the display of the images -- but i can't seem to find a "difference".  the "default" template works -- my template does not.  the image and description display codes look the same:

{image}
{description}
{date}
{rating}  
{file_size}  

this is all from "details.html" --

has anyone seen this?  i'm thinking there is something i am missing with templates in 1.6 and it should be relatively easy...

Offline erock

  • Newbie
  • *
  • Posts: 12
    • View Profile
upload error and 1.6 installation difficulties
« Reply #12 on: July 01, 2002, 02:29:03 AM »
wooo!  got it!  excellent!

the differences were as follows:

{image} -- check the "media" subdir, template change
{description} -- is now {image_description}
{date} -- is now {image_date}
{rating} -- is now {image_rating}
{file_size} -- is now {image_file_size}

*phew*  :-)

Offline erock

  • Newbie
  • *
  • Posts: 12
    • View Profile
upload error and 1.6 installation difficulties
« Reply #13 on: July 01, 2002, 03:36:52 AM »
upload issue solved!!

all i did was upgrade to 1.6 -- i have no idea why that made a difference, but i am fully back up and running...