Jump to content

[Solved] Choose a file button not working in the module configuration


Recommended Posts

I'm writing a custom module that needs a user to upload a picture, when I add the file upload field its not working in the configuration . I checked all the other modules and I found out most of them have the same issue where the upload button does not work.

I have tried switching browsers (Used both Safiri and Chrome) but it seems there is no change.

Can anyone help me with this issue?

 

Edited by sevenreup4ill
solved (see edit history)
Link to comment
Share on other sites

 

5 hours ago, JBW said:

Whats you PHP version?

Server information Linux #26-Ubuntu SMP Thu Oct 15 10:30:38 UTC 2020 x86_64

Server software version: Apache/2.4.46 (Ubuntu)

PHP version: 7.3.24-3+ubuntu20.10.1+deb.sury.org+1

Memory limit: 512M

Max execution time: 30

Upload Max File size: 100M

PrestaShop version: 1.7.6.9

 

@JBW  Thats my current configuration, At first I was using PHP 7.4 so I rolled back because of issues but some of them are still present. There is also an issue with TinyMCE where it also doesnt show. 

Edited by sevenreup4ill
forgot to reply (see edit history)
Link to comment
Share on other sites

I found the problem now its solved. At first I tried downgrading to php 7.2 as advised by @endriu107 but that didn’t change anything .

The problem was that I didn’t finish the onboarding so it was just stuck on the paused state then it started showing a

Quote

onboarding is not difined error in the console

So all I did was reset the welcome module then skipped it properly. Disabling it would also have worked.

The welcome module was the one causing conflicts. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...