Report any technical problems you discover and discuss solutions.

Uploading sub-template not working

  • tsalyers
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
6 jaren 5 maanden geleden #6342 door tsalyers
Beantwoord door tsalyers in topic Uploading sub-template not working
Hi, Tom.
Looks like that's fixed it. Thanks!

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • james.pearce.bath.ac.uk
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
6 jaren 3 maanden geleden #6512 door james.pearce.bath.ac.uk
Beantwoord door james.pearce.bath.ac.uk in topic Uploading sub-template not working
I'm having a similar issue with uploading with a test installation of 3.8.5. I've gone through the suggestions on this post. The upload seems to work as expected as I get a 200 response from the post.I've checked the zip library is installed. The error I receive is "Parent template 'Nottingham' is not recognised as a valid parent template in this installation." The error would make me think that the app is getting the data but mytemplate content is not correct. Can anyone help? Thanks

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
6 jaren 3 maanden geleden #6515 door tom
Beantwoord door tom in topic Uploading sub-template not working
That error message would mean that your installation doesn't have a record in the originaltemplates table with template_name equal to Nottingham. Did you somehow rename the template (that would not e trivial to do, by the way, so it must something different)?

Or that the database connection is not owrking, but then I would expect a lot more issues, and not only with sub-templates.

Could you pease set $development to true in config.php (line 43) and check for messages in error_logs/debug.log?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • james.pearce.bath.ac.uk
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
6 jaren 2 maanden geleden #6539 door james.pearce.bath.ac.uk
Beantwoord door james.pearce.bath.ac.uk in topic Uploading sub-template not working
Thanks for the response. I've switched $development to true and tried to upload again. I'm now getting a different error "Session is invalid or expired" this is being returned in the post and this is written to the logs

2020-05-05 12:35:50 /website_code/php/database_library.php176Running : SELECT * FROM xt_sitedetails
2020-05-05 12:35:50 /website_code/php/management/upload.php22Session is invalid or expired

Not sure why the error has changed.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
6 jaren 2 maanden geleden #6541 door tom
Beantwoord door tom in topic Uploading sub-template not working
Another question. How large is your sub-template zip file?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • james.pearce.bath.ac.uk
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
6 jaren 2 maanden geleden #6542 door james.pearce.bath.ac.uk
Beantwoord door james.pearce.bath.ac.uk in topic Uploading sub-template not working
I've tried a couple of different files one was 12,713 kb and the other is 2,047 kb. Both are failing to post.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.150 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo