Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.

TOPIC: Uploading sub-template not working

Uploading sub-template not working 8 months 1 week ago #6342

  • tsalyers
  • tsalyers's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi, Tom.
Looks like that's fixed it. Thanks!

Please Log in or Create an account to join the conversation.

Uploading sub-template not working 5 months 4 weeks ago #6512

  • james.pearce.bath.ac.uk
  • james.pearce.bath.ac.uk's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Uploading sub-template not working 5 months 4 weeks ago #6515

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 996
  • Thank you received: 211
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?

Please Log in or Create an account to join the conversation.

Uploading sub-template not working 5 months 3 weeks ago #6539

  • james.pearce.bath.ac.uk
  • james.pearce.bath.ac.uk's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Uploading sub-template not working 5 months 3 weeks ago #6541

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 996
  • Thank you received: 211
Another question. How large is your sub-template zip file?

Please Log in or Create an account to join the conversation.

Uploading sub-template not working 5 months 3 weeks ago #6542

  • james.pearce.bath.ac.uk
  • james.pearce.bath.ac.uk's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Moderators: jultenjjs
Time to create page: 0.047 seconds
Copyright © 2020 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search