- Betroffene App
- WoltLab Suite Forum
SyntaxError: expected expression, got ','
SyntaxError: expected expression, got ','
https://sociallyuncensored.net/?thread/17-link-test/&postID=91
Line 952
SyntaxError: expected expression, got ','
SyntaxError: expected expression, got ','
https://sociallyuncensored.net/?thread/17-link-test/&postID=91
Line 952
Out of interest, when viewing the source code... Line 952 is
new WCF.Attachment.Upload($('#attachments_text > dl > dd > div'), $('#attachments_text > ul'), 'com.woltlab.wbb.post', '0', '6b5ac47adfb70b65784401b87493517357dacab8', '4', , 'text');
The surrounding area is
<script>
//<![CDATA[
$(function() {
WCF.Language.addObject({
'wcf.attachment.upload.error.invalidExtension': 'File extension is invalid.',
'wcf.attachment.upload.error.tooLarge': 'File is too big.',
'wcf.attachment.upload.error.reachedLimit': 'You have reached the maximum number of attachments.',
'wcf.attachment.upload.error.reachedRemainingLimit': 'You have chosen too many attachments, remaining: #remaining#.',
'wcf.attachment.upload.error.uploadFailed': 'An unknown error occurred during upload.',
'wcf.attachment.insert': 'Insert into message',
'wcf.attachment.insertAll': 'Insert All',
'wcf.attachment.insertFull': 'Full Image',
'wcf.attachment.insertThumbnail': 'Thumbnail',
'wcf.attachment.delete.sure': 'Do you really want to delete this attachment?'
});
new WCF.Attachment.Upload($('#attachments_text > dl > dd > div'), $('#attachments_text > ul'), 'com.woltlab.wbb.post', '0', '6b5ac47adfb70b65784401b87493517357dacab8', '4', , 'text');
new WCF.Action.Delete('wcf\\data\\attachment\\AttachmentAction', '.formAttachmentList > li');
});
//]]>
</script>
Alles anzeigen
The only current customization would be the file @Alexander Ebert gave me for testing, found here
[beta 4] Must clear cache for Maintenance Mode
But i do not see how that could be affecting this.
That's rather strange because at this position should be the number of maximum attachments a user can upload along with a new reply.
What is set for Maximum Attachments Per Message for all user groups? (Use the ACP search to lookup the value for all groups at once)
That's rather strange because at this position should be the number of maximum attachments a user can upload along with a new reply.
What is set for Maximum Attachments Per Message for all user groups? (Use the ACP search to lookup the value for all groups at once)
Everyone = 10
User = 10
Administrators = 10
I'm wondering if maybe it had to do with that I'm hiding the who is online widget and members list from guest. I notice I do not receive that when logged in. The error is only visible from guest view.
In either case, attached is my current saved settings (exported using the export tool).
The options have nothing to do with this, this is potentially an issue with the user group options.
In case this is still an issue, could you provide me access to an affected user (it can be a newly created test user as long as the issue is reproducible) and access via FTP/SCP? You can submit the data by email to ebert@woltlab.com or submit a ticket.
The options have nothing to do with this, this is potentially an issue with the user group options.
In case this is still an issue, could you provide me access to an affected user (it can be a newly created test user as long as the issue is reproducible) and access via FTP/SCP? You can submit the data by email to ebert@woltlab.com or submit a ticket.
Sure. I'll submit an email, but as stated... The error only displays as a guest.
Thanks you @Alexander Ebert for looking into this and coming up with a fix so quickly.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!