Skip Navigation

[Résolu] File upload not working when CPT Layout Injector Plugin activated

This support ticket is created Il y a 5 années et 9 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Ce sujet contient 6 réponses, a 2 voix.

Dernière mise à jour par Shane Il y a 5 années et 9 mois.

Assisté par: Shane.

Auteur
Publications
#1200474

Hi, i'm having the following issue. Everything on my website is working fine...

I'm using "CPT Layout Injector from Tortoise-IT - Sean Barton" to create post layouts...as soon as this plugin is active, the file uploads in Cred / Forms doesn't work... as soon as i deactivate the above plugin... 5he file upload works again...

any idea solution... has this been discussed before?

#1200570

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support forum.

This is actually the first time i'm seeing this issue. It seems that the plugin is blocking the uploads.

Would you mind providing me with a copy of the plugin so that I can have a look at this ?

Also It would also be good to open a support ticket with the plugin's support team as well.

Thanks,
Shane

#1200962

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hello,

I tried accessing the link to the file but its saying that the WeTransfer link has expired.

Could you try sending it again ? Failing that i've enabled the private fields for your next response so that you can also provide credentials for the site as well.

Thanks,
Shane

#1201006

Hi Shane... i've setup a full clean test site,... with the same issue,... how can i send you the credentials privately... including FTP etc.

#1201270

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Herre,

Thank you. I'll enable it once more so you can send it.

#1201584

The below error shows up when CPT layout injector has been enabled and i open the page "add test post" (that page contains the form)

(index):1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Function.n.parseJSON (jquery.js?ver=1.12.4:4)
at Function.a.parseJSON (jquery-migrate.min.js?ver=1.4.1:2)
at HTMLInputElement.self.initFileField (file_upload.js?ver=5.0.3:89)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at CREDFileUpload.init.self.credFileFuInit (file_upload.js?ver=5.0.3:59)
at new CREDFileUpload.init (file_upload.js?ver=5.0.3:277)
at HTMLDocument.<anonymous> (file_upload.js?ver=5.0.3:281)
at i (jquery.js?ver=1.12.4:2)

When CPT Layout injector is deactivated, no errors show up.

#1201867

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Herre,

I would recommend that you contact the plugin developers for this plugin so that they can have a deeper look at this one.

As this we wouldn't be able to debug this since the issue being caused by there plugin.

If there is anything from our side that need we will happily assist.

Thanks,
Shane