exponentcms / exponent-cms

Content Management, Simple.
exponentcms.org
GNU General Public License v2.0
60 stars 24 forks source link

Can´t upload images in photoalbum module #1405

Closed exponentcms closed 4 years ago

exponentcms commented 4 years ago

I´m in slideshow style and trying to put some images in my slideshow. When click to add images, one or severeal, the screen freeses and the form doesn´t apear. I try fresh install, all the themes and the error is the same. The form only apears before install a theme, after fresh installation. Please help.

exponentcms commented 4 years ago

the Exponent version is 2.3.7 pacth #4

exponentcms commented 4 years ago

I can't reproduce this locally in any of the theme frameworks. It looks as if the javascript is broken on the page, therefore, the 'loading' isn't removed and the content revealed. Do you perhaps have a script or code on the page?

exponentcms commented 4 years ago

I don´t have any code just the exponent. Any tip? Can I need to change any attribute in some file? When I´m install the 2.3.5 version and use the bootstrap3theme the form appear but the load message still there and nothing works. I´ll try to reinstall java plugin and older versions to discover what version is ok. My file size is more than 2MB, I use 50MB because there are big videos to upload. Can this be a problem? In Exponent report the upload limit is 2MB, Can I chenge this value? I´m trying in 3 browsers: chrome 49, firefox 45, M Edge 25.

exponentcms commented 4 years ago

Exponent isn't a 'java' application, so java is not needed. The size limit for uploads is based on the web server configuration for php. In the server php.ini 'post_max_size' and 'upload_max_filesize' settings determine file upload size. The value reported in Exponent is pulled from those server values.

And you also have the same problem with the 'Add item' link for that module (upload a single photo album instead of several at once)?

Try turning on 'error reporting' in the Super Admin menu of the Exponent menu. It should then report any problems it encounters. You also might hit the F12 key to open the browser console. Then navigate to the add item/add multiple items view to see if any warning or errors are shown on the web page, or in the browser console.

exponentcms commented 4 years ago

Perhaps I found the problem. My instalation was fresh but my data base not. I clean my data base and all is allright. But I need to change the upload limit where I do this? Thanks.

exponentcms commented 4 years ago

The 'post_max_size' and 'upload_max_filesize' settings are located within the web server pho.ini configuration file. You may have to contact your web host tech support to have those settings changed on the server. Some web hosts allow for some server customization by the user, but this would again be something your web host would need to provide information on.

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

Lighthouse URL: https://exponentcms.lighthouseapp.com/projects/61783/tickets/1361