• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Error uploading bmp: no file extension

iDoom

Chevereto Noob
Hi!
I installed v1.9 on my local XAMPP server to test it and at first the php wasnt executed.
After changing the php tags form <? ... ?> to <?php ... ?> i can use the script and it works very well for jpg, png and gif extensions but when uploading bmp files the files are uploaded without an extension and links wont work anymore. (Example: i upload "Example.bmp" and the uploaded file is named "Example")

After enabling the debug mode i get the following errors when uploading bmp files:
Warning: imagesx() expects parameter 1 to be resource, null given in C:\xampplite\htdocs\idp\engine.php on line 497

Warning: imagesy() expects parameter 1 to be resource, null given in C:\xampplite\htdocs\idp\engine.php on line 498

Warning: imagecopyresampled() expects parameter 2 to be resource, null given in C:\xampplite\htdocs\idp\engine.php on line 515

Warning: imagedestroy() expects parameter 1 to be resource, null given in C:\xampplite\htdocs\idp\engine.php on line 523

I cant find a solution for this, any help on this?

thanks in advance
iDoom
 
Back
Top