File upload not showing

Permalink Browser Info Environment
Im having problem with the button for file upload not showing. It won't load. But if i enable preview of the form, review the data and hit the "back" button, the "Add files" button loads.

Any ideas?

Regards
Kristoffer

Type: Discussion
Status: Resolved
webchris
View Replies:
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi,

Sorry for the late reply....

I guess there is something going wrong with the javascript. I have an update ready that fixes some javascript. Maybe this will solve your issue to. Please update to 2.0.12 when available.

Best,

Corretje
webchris replied on at Permalink Reply
webchris
Hi Corretje,
thank you, i'll wait for the 2.0.12 release and give it a try.

Regards
Kristoffer
webchris replied on at Permalink Reply
webchris
Hi Corretje,
im still having issues with the "Add files" button not showing when using file upload.

I have tried both chrome 39 and firefox 33.1 and both won't display the button on the initial load. But if i put the form in review-mode and hit the back-button the "Add files" appears.

The javascript console don't display any errors so there isn't any clear directions where to begin. I'll do some digging, and would love to know if there is a possibility to use a more simple single upload to avoid any errors.

oh, I found another issue with the ajax upload. The first file upload don't send a 200 OK request back so the form is stuck in a wait loop. If the first files is removed and re-uploaded a correct response is sent back.

Regards
Kristoffer
webchris replied on at Permalink Reply 1 Attachment
webchris
Hi,
I think i found the problem, it was a double init. I have attached a patch-file.

Regards
Kristoffer

concrete5 Environment Information

# concrete5 Version
5.6.3.1

# concrete5 Packages
Add Multiple Pages (2.1.1), Aviary Image Editor (1.3), Backup Voodoo (2.3.3), Flat Fortuna (1.0.1), Formidable (2.0.11), Handy Toolbar (1.0.2), Lerteco Membership (2.2.0), Login (1.1.1), Url Director (1.6.5).

# concrete5 Overrides
css/ccm.base.css, languages/cs_CZ, languages/da_DK, languages/de_DE, languages/el_GR, languages/es_AR, languages/es_ES, languages/es_MX, languages/es_PE, languages/fa_IR, languages/fi_FI, languages/fr_FR, languages/he_IL, languages/it_IT, languages/ja_JP, languages/nb_NO, languages/nl_NL, languages/pl_PL, languages/pt_PT, languages/ro_RO, languages/ru_RU, languages/sk_SK, languages/sv_SE, single_pages/page_not_found.php, themes/code_for_canonical_url.txt

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache

# Server API
apache2handler

# PHP Version
5.4.19

# PHP Extensions
apache2handler, bcmath, calendar, com_dotnet, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, hash, iconv, intl, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_mysql, Phar, Reflection, session, SimpleXML, sockets, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 32M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 10M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.2; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.