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

TOPIC:

Error trying to 'play' image / management.php 5 years 3 months ago #5543

  • jgb101
  • jgb101's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Hello all,

Using shared hosting, today I've installed Xerte for the first time. As it's new to me, I've started Ron's 'My First LO' tutorial, which it's all fine until I add an image (see xerte error.jpg). I can upload a file, select it and preview it, but when I click 'play' I get 'error.' The files are all in the media folder (Media Files.jpg).

Perhaps related to this, I've found I can't save any changes in management.php (see xerte management.jpg) as 'access to these resources on the server is denied.'

Does anyone have any suggestions? I'm keen to get stuck into Xerte!

Regards,
Jonathan Brown
Attachments:

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

Error trying to 'play' image / management.php 5 years 3 months ago #5544

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 841
  • Thank you received: 245
Check and make sure the url and various path details are correct in the site details table. Including whether you are using http or https the url needs to match that.
Make sure the database user has full permissions on the database.
Is there a file named auth_config.php in the root or just auth_config.php.dist? If the just the latter rename that to auth_config.php
HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

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

Error trying to 'play' image / management.php 5 years 3 months ago #5545

  • jgb101
  • jgb101's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Hi Ron,

Thanks for the speedy reply. Yes, there is an auth_config.php. How do I check database permissions? Is there something in cPanel I should use?

Thanks,
Jon

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

Error trying to 'play' image / management.php 5 years 3 months ago #5546

  • jgb101
  • jgb101's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
I found this in the database using PHPMyAdmin. The path is right (I've got SSL) - should 'apache' and those file extensions all be set to 'false' like that?
Attachments:

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

Error trying to 'play' image / management.php 5 years 3 months ago #5547

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 841
  • Thank you received: 245
Yes don't worry about the apache and file extension check being set to false those things aren't related to the issue you describe.

Let's backtrack a bit.

I can see that the url in site details is https so that's how you are accessing both the homepage and management correct? e.g. don't try to login and use via http instead of https.

You've said that saving changes to the configuration via management doesn't work? That's why I suggested checking the url and path values and also the database user permissions. e.g. the database user needs full permissions on the database.

How did you create the first project? You logged in with an account (not via management) created a project, added a page or two and added media and when you click play or preview it plays or not?

Can you visit the project properties and make the project public? If not what error?

Use the browser console (F12) when you play - what errors are reported?

HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

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

Error trying to 'play' image / management.php 5 years 3 months ago #5548

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 841
  • Thank you received: 245
Also you said the path is correct are the values in root_file_path and import_path correct?
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

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

Moderators: ronmjultenjjs
Time to create page: 0.074 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search