Another thread re: movies not uploading

dhammond

Joined: 2004-08-25
Posts: 22
Posted: Wed, 2005-10-19 16:25

I've searched this whole forum and found where others have been able to fix this problem....but I haven't.
The problem... I upload movies (.mov). The seem to work fine but the actual file did not go. A thumbnail is created. I used the built in upload (applet and form) and the Remote Gallery.
I've changed php.ini settings.

here is what the debug says:
******Adding morganwalking.mov*****

Doing the naming
Image Preprocessing
Resizing/compressing original image
Cannot resize/compress this filetype
Adding Photo to the photo list
Generating thumbnail. Error: Email problem: skipping admin (UID 1129064920_388044286) because email address is not valid.
Operation was done successfully. Emailing is on, but no email was sent as no valid email address was found

The email stuff I can fix.

I get this in my Gallery Configuration. I've done what it says. Add that to the httpd.conf file. The one I added it to was in /etc/httpd/conf/
Still nothing. I put it at the end. Not sure if that is correct.
Warning!

Apache is not obeying the 'php_value' lines in your .htaccess file. Try entering the following into your web server's httpd.conf file:

<Directory /var/www/html/gallery>
AllowOverride Options FileInfo
</Directory>

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://www.drumminguy.com/gallery
Gallery version: 1.5.1
Apache version: Apache/1.3.27 (Unix) (Red-Hat/Linux)
PHP version (don't just say PHP 4, please): 4.3.8
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2005-10-19 16:51

Hi,

just looks like an email issue. And the movie was uploaded.
The email ist just for notification.

Jens
--
Last Gallery v1 developer and translation manager.

 
dhammond

Joined: 2004-08-25
Posts: 22
Posted: Wed, 2005-10-19 17:20

The movie is not uploaded. I can fix the email problem. The problem is that the file does not get uploaded. A thumbnail is created but the file is missing. I believe the problem lies with the warning in the configuration settings.

Warning!

Apache is not obeying the 'php_value' lines in your .htaccess file. Try entering the following into your web server's httpd.conf file:

<Directory /var/www/html/gallery>
AllowOverride Options FileInfo
</Directory>

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Wed, 2005-10-19 17:57

Is a file getting created for the movie? If so, how many bytes is it?
Have you ruled out a FAQ: Why can't I upload big files (over a megabyte or two)? issue?

Because it is so clear, it takes a longer time to realize it.
If you immediately know the candlelight is fire, then the meal was cooked a long time ago.

 
chiefnavajo

Joined: 2005-10-19
Posts: 1
Posted: Wed, 2005-10-19 18:21

thanks for the help

Chief

Athlon 3200+ ; Geforce 6800GT
http://www.linkor.pl/?rid=8626

 
dhammond

Joined: 2004-08-25
Posts: 22
Posted: Wed, 2005-10-19 19:12

No file is created. Just the thumbnail for the file. The time it takes to try and upload the file seems like it works. A 3mb file takes much longer than a 300k file. Just the 300k file shows up.
Do you know where to find the php.conf file? I don't have a dir called conf.d in /etc/httpd/

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Thu, 2005-10-20 10:23

Of course it takes longer, I'd guess it takes about 10 times longer. But that doesn't mean the server will process it once it's complete.

Not sure where else to look. AFAIK that's the only place redhat would put it: /etc/httpd/conf.d/

Because it is so clear, it takes a longer time to realize it.
If you immediately know the candlelight is fire, then the meal was cooked a long time ago.

 
dhammond

Joined: 2004-08-25
Posts: 22
Posted: Fri, 2005-10-21 16:48

I was just explaining that the it seemed like it was working.
Does anyone else have any suggestions?

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Fri, 2005-10-21 18:38

You could try, as root, entering locate php.conf

You could also look on your php_info page (from the setup area) and see what upload_max_filesize and post_max_size are set to.

Because it is so clear, it takes a longer time to realize it.
If you immediately know the candlelight is fire, then the meal was cooked a long time ago.

 
dhammond

Joined: 2004-08-25
Posts: 22
Posted: Fri, 2005-10-21 19:02

Not sure how to use the locate command....

it says on my php.info page that the upload_max is 2mb which is probably the problem. But if I go to the file, i have it set to 128mb. Post_max is 8mb.

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Fri, 2005-10-21 19:40

Open up a shell (e.g. ssh/telnet into the box), change to root su -, then type the locate command locate php.conf

(all you need to do is type the parts in the grey boxes)

Because it is so clear, it takes a longer time to realize it.
If you immediately know the candlelight is fire, then the meal was cooked a long time ago.

 
dhammond

Joined: 2004-08-25
Posts: 22
Posted: Fri, 2005-10-21 20:27

I couldn't get the shell command to work.
however, i thought that i never restarted the server when i made the change to the php.ini file and it worked!!!!!
sorry to have wasted time.
peace.