Topic: Invalid file type

Hello

I'm from Holland. I can't speak Spanish, so I'll try English.

I want an image upload script for my site.  And Chevereto looks really good, so I installed all the stuff and adjusted all the ftp to true and inserted my ftp site and username and stuff. And the index works, but when I try to upload a picture I get this error: Invalid file type, allowed JPG, PNG, GIF and BMP

I tried with JPG, PNG, GIF and they are all under the restriction of 2 mb.

I set the permission of files in my admin all to 777.

http://demo.chevereto.com/images/777.png

What else can I do wrong?

Thumbs up

Re: Invalid file type

invalid wrote:

I set the permission of files in my admin all to 777

OMFG, you really didn't follow the installation guide.

rodolfoberrios.com | PLEASE use Tech Support forums to ask for support!

Re: Invalid file type

Hi, same Problem, but read the installation guide smile
its right there: emoweb.de/goodlike

Regards
Marius

Thumbs up

Re: Invalid file type

Look up in docs, comes with the .zip

rodolfoberrios.com | PLEASE use Tech Support forums to ask for support!

Re: Invalid file type

Hi, i've got the same error message now aswell. I have read the "install guide" in the Docs folder called welcome.html.

"Go to the "Upload" folder and edit "config.php" within the parameters of your needs. Finally upload the contents of this folder to your server. Thats all ... really."

The install instructions aren't that helpful ... really. No information about whether or not you have to chmod files/folders that I can see.

And whats this about a .zip file? I have searched and not found any .zip file.

thanks

Thumbs up

Re: Invalid file type

bob wrote:

And whats this about a .zip file? I have searched and not found any .zip file.

In what comes Chevereto?

Thumbs up

Re: Invalid file type

bob wrote:

Hi, i've got the same error message now aswell. I have read the "install guide" in the Docs folder called welcome.html.

"Go to the "Upload" folder and edit "config.php" within the parameters of your needs. Finally upload the contents of this folder to your server. Thats all ... really."

The install instructions aren't that helpful ... really. No information about whether or not you have to chmod files/folders that I can see.

And whats this about a .zip file? I have searched and not found any .zip file.

thanks

You don't need to apply any chmod. Just open config.php and edit it.

rodolfoberrios.com | PLEASE use Tech Support forums to ask for support!

Re: Invalid file type

gonzalarcon wrote:
bob wrote:

And whats this about a .zip file? I have searched and not found any .zip file.

In what comes Chevereto?

I know that!

How do I stop the Invalid file error message coming up? I am trying to upload files that are allowed so I don't understand why I am getting this error?

I have *not* chmod any files/folders. I have just edited the config.php file.

I've turned debug mode on now and I get the following error:-
Warning: ftp_close() expects parameter 1 to be resource, null given in /home/hostname/domains/hostname.co.nz/public_html/image/engine.php on line 694

(I have changed my site name to hostname)

Is this why I would be getting the invalid file type error? What does this error message mean and how do I fix it?

Last edited by bob (2009-09-11 06:27:10)

Thumbs up

Re: Invalid file type

Hi,

Same problem now :
All is fine except

Invalid file type, allowed JPG, PNG, GIF and BMP

with all format and size below the limit.

http://ainur.vaxserver.eu/images/chevereto


GD Version: 2.0 or higher
FreeType Support: Enabled
FreeType Linkage: with freetype
T1Lib Support: Enabled
GIF Read Support: Enabled
GIF Create Support: Enabled
JPG Support: Enabled
PNG Support: Enabled
WBMP Support: Enabled
XPM Support: Disabled
XBM Support: Disabled
JIS-mapped Japanese Font Support: Disabled 

In case i've raised the maximum size :

php.ini wrote:

Maximum memory allocation 32M
Maximum HTTP POST size 12M
Maximum file upload size 2M
Maximum execution time     160 seconds
Maximum input parsing time 120 seconds

It doesn't work either.

I've tried using both ftp or php upload, but doesn't work more.

Last edited by Ainur (2009-10-16 17:06:04)

Thumbs up

Re: Invalid file type

Try to look at the server error log.

rodolfoberrios.com | PLEASE use Tech Support forums to ask for support!

Re: Invalid file type

chmod 777 to folders: images, thumbs, up, up/temp, up/working. wink

Thumbs up

Re: Invalid file type

Hi, just as Rodolfo said :

Rodolfo wrote:

[

You don't need to apply any chmod.

(and my folders are in chmod 777 though)

I've found nothing interesting in the log.

Thumbs up

Re: Invalid file type

OK...
Try:
1. Create NEW FTP User whit acces in script folder eg.: i have /html_public/6HOME/
2. Edit config.php

For me work well wink

Last edited by Jamira40 (2009-10-24 14:08:07)

Thumbs up

Re: Invalid file type

Hi,

Ainur wrote:

I've tried using both ftp or php upload, but doesn't work more.

so it's not the problem, since the ftp user had access to the script folder.

Thumbs up

Re: Invalid file type

invalid wrote:

Hello

I'm from Holland. I can't speak Spanish, so I'll try English.

I want an image upload script for my site.  And Chevereto looks really good, so I installed all the stuff and adjusted all the ftp to true and inserted my ftp site and username and stuff. And the index works, but when I try to upload a picture I get this error: Invalid file type, allowed JPG, PNG, GIF and BMP

I tried with JPG, PNG, GIF and they are all under the restriction of 2 mb.

I set the permission of files in my admin all to 777.

http://demo.chevereto.com/images/777.png

What else can I do wrong?

I have tried million manual solutions but nothing helped,use a small tool available at http://pathtoodeep.com   to resolve it and render it useable

Thumbs up