*

Alej

  • **
  • 11 posts
Contact page problem
« on: Yesterday at 12:33:02 AM »
Hi, I was testing the contact page of my website (I'm using the latest version of osclass and the epsilon theme), and I have enabled the user to attach files, but the problem is that when I want to contact without sending an attachment, I get the message "The file you tried to upload does not have a valid extension". What could be this problem?

*

MB Themes

Re: Contact page problem
« Reply #1 on: Yesterday at 02:39:47 PM »
Files on contact form are restricted by mime type.

More details in file:
oc-includes\osclass\controller\contact.php


Code: [Select]
            $mime_array = array(
              'text/php',
              'text/x-php',
              'application/php',
              'application/x-php',
              'application/x-httpd-php',
              'application/x-httpd-php-source',
              'application/x-javascript'
           );
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alej

  • **
  • 11 posts
Re: Contact page problem
« Reply #2 on: Yesterday at 03:03:41 PM »
The problem is that I'm not attaching any files and I still get the error.

*

MB Themes

Re: Contact page problem
« Reply #3 on: Yesterday at 04:12:36 PM »
That is interesting, in such case I recommend you to disable attachments.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots