Error output so disabling automatic redirect

This discussion has been locked so you can no longer reply to it.


Error output, so disabling automatic redirect.

  • ◄ 2.8 Glossary — can’t have groups
  • how defining words ►

This discussion has been locked so you can no longer reply to it.

Error output, so disabling automatic redirect.

Number of replies: 1

hello everyone,

when i try to add a new glossary, (by clicking at the save and display Or save and go back to course), i have this error: Error output, so disabling automatic redirect.

Please what happen there

In reply to darajeur darajeur

Re: Error output, so disabling automatic redirect.

by Helen Foster — Thursday, 18 June 2015, 3:02 PM

Picture of Core developers
Picture of Documentation writers
Picture of Moodle HQ
Picture of Particularly helpful Moodlers
Picture of Plugin developers
Picture of Testers
Picture of Translators

Hello,

Please try enabling debugging, as explained in the documentation Debugging, then post the error message that you obtain.

  • ◄ 2.8 Glossary — can’t have groups
  • how defining words ►

10 years 4 months ago

10 years 4 months ago by AVENA.


Topic Author

Hello! First of all, thank you for this wonderful extension/plugin! It has worked wonders for what we’re trying to accomplish!

I’ve gotten the entire thing set up, but for some reason when a user is logged into the Joomla! frontend and goes to log out this error appears:

Deprecated: Function session_unregister() is deprecated in /home/avena/public_html/WildBrilliancePress/WB_Moodle/auth/joomdle/land_logout.php on line 25

Deprecated: Function session_unregister() is deprecated in /home/avena/public_html/WildBrilliancePress/WB_Moodle/auth/joomdle/land_logout.php on line 26

Warning: Cannot modify header information — headers already sent by (output started at /home/avena/public_html/WildBrilliancePress/WB_Moodle/auth/joomdle/land_logout.php:25) in /home/avena/public_html/WildBrilliancePress/WB_Moodle/auth/joomdle/land_logout.php on line 28

Skip to main content<- This is hidden until «skip» is searched for in the browser’s «find» function

This page should automatically redirect. If nothing is happening please use the continue link below.
(Continue)

Error output, so disabling automatic redirect.

And, of course, no redirection occurs. Clicking the «Continue» link does go to the main page. I’ve checked and the auth_joomdle package is installed, and I have all green checks in the System Check.

Does anyone have any idea how to remedy this? Thank you!

EDIT: I thought I’d also mention what I’m running —

Joomdle 0.82
Joomla! 2.5.7
Moodle 2.3.1
PHP Version 5.3.15

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

10 years 4 months ago

10 years 4 months ago by AVENA.


Topic Author

I fixed it!

Replace this code in land_logout.php on lines 25 and 26:

session_unregister("USER");
session_unregister("SESSION");

with this code:

unset($_SESSION['USER']);
unset($_SESSION['SESSION']);

It works for me, as far as I can tell (although I have no knowledge of php.) If this is wrong or creates another problem I’m not yet aware of, please let me know.

I hope this will help someone else with the same problem!

EDIT:

OR… you can just delete this entire block of code!

session_unregister("USER");
session_unregister("SESSION");

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

10 years 4 months ago

Antonio Durán's Avatar


Antonio Durán

Posts:
7580

Thanks for sharing your solution.
This is already fixed for next release, removing it altoguether like you say.

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

10 years 2 months ago

we’ve encountered this error today too.

Wonder when the new release will come out?

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

10 years 2 months ago

Chris's Avatar

You can manually edit the files as above. At this time, I do not have a date for the next release.

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

  • #1

Hello,

I run moodle on http://theenglishcorner.x10.mx/

Whenever I try to edit some page, I get this message on top of the page:

Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/gs) is not within the allowed path(s): (/home/theengli/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/theengli/domains/theenglishcorner.x10.mx/public_html/mod/assign/feedback/editpdf/classes/pdf.php on line 581

Still I edit the page and press ‘Save’, but instead of going back to the course page automatically as before, I get another page with the following message:

Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/gs) is not within the allowed path(s): (/home/theengli/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/theengli/domains/theenglishcorner.x10.mx/public_html/mod/assign/feedback/editpdf/classes/pdf.php on line 581
Skip to main content
×This page should automatically redirect. If nothing is happening please use the continue link below.
(Continue)
Error output, so disabling automatic redirect.

When I press ‘Continue’, I go back to the course page, and everything seems to be working just fine; yet, I’m worried that something could be off with the site, and it may break down.

What do those messages mean and what can I do to sort it out?

  • #2

Oh, and I’ve just found out I can’t log into my DirectAdmin cpanel again. This is the message I get:

Sign in Successful
Please standby while transfer you to your web hosting account.
An error has occurred forwarding your sign in. Retry

  • #3

Last time I had this problem with cpanel, I lost some changes on my website (some courses I created the day before) after it was fixed, but I created them again.
Is it possible that all the changes I’ve made since Tuesady will be lost again?

Anna


  • #4

I wouldnt know since I don’t know what happened last time to cause them to disappear, but if the error causes problems actually writing the data to the correct storage it could very well be the same now.

As for the error, it is possible that moodle would prefer running on a different php version, but you’d have t check their recommendations. You are currently on version 7.2, which all accounts were automatically placed on with the migrations, but one of the older may work better for your version of moodle.

The login error seem to be widespread, there are a few reports so far, and I have alerted the coder of that page about it.

  • #5

I wouldnt know since I don’t know what happened last time to cause them to disappear

I think I made some changes right before the migration of my account due to that post https://x10hosting.com/community/th…dmin-cpanel-no-statistics.207325/#post-976040
and the backup (?) which was used had been done before those changes. My bad, I should have waited for the account to be fixed instead of rushing to change anything on the website. But now I’m afraid that if the account is fixed again, that old backup will be used again, and all the new data will be lost. Or does it work differently?

As for the error, it is possible that moodle would prefer running on a different php version, but you’d have t check their recommendations. You are currently on version 7.2, which all accounts were automatically placed on with the migrations, but one of the older may work better for your version of moodle.

On your earlier advice from here https://x10hosting.com/community/threads/can-access-neither-cpanel-nor-website.207344/ I switched to 7.0. Maybe it switched back somehow, but I don’t know because there’s no access to the cpanel.

The login error seem to be widespread, there are a few reports so far, and I have alerted the coder of that page about it.

Maybe when this problem is solved, the others will also go away?

Anna


  • #6

I think I made some changes right before the migration of my account due to that post https://x10hosting.com/community/th…dmin-cpanel-no-statistics.207325/#post-976040
and the backup (?) which was used had been done before those changes. My bad, I should have waited for the account to be fixed instead of rushing to change anything on the website. But now I’m afraid that if the account is fixed again, that old backup will be used again, and all the new data will be lost. Or does it work differently?

In that case we simply took the account backup from the old cPanel server and reapplied that backup to the new server so that would have been why it was reverted to the state of that backup. The current login issues is NOT related to a specific account but rather a server error which has been identified so there would be no reason to re-apply a backup.

On your earlier advice from here https://x10hosting.com/community/threads/can-access-neither-cpanel-nor-website.207344/ I switched to 7.0. Maybe it switched back somehow, but I don’t know because there’s no access to the cpanel.

I didn’t actually check on your account what version you are on, but I concluded that you had that from parts of the error you got.

Maybe when this problem is solved, the others will also go away?

The login error would have absolutely nothing to do with the issues on your site, it is a part of the backend system that was the cause of that.

  • #7

The login error would have absolutely nothing to do with the issues on your site, it is a part of the backend system that was the cause of that.

I made such an assumption because Tuesaday to Thursday I also edited some pages and didn’t experience anything unusual. It started only today.But perhaps it’s just a mere coincidence.


Forums


| Mahara Community


anonymous profile picture

Account deleted

Posts: 2

26 September 2013, 17:54

I have been trying tyo connect Moodle 2.5 to Mahara 1.7.2 

I get: 

The key is not a valid SSL key.

In Moodle: Error output, so disabling automatic redirect.

I have made the connection some times before with Moodle 2.0 and Mahara 1.5 and it works. Now I dont know what else can I try. Delete Key in Mahara.  New Mahara installation. Is there any suggestions?  

Kristina Hoeppner's profile picture

Posts: 4541

Re: Mahara/Moodle

29 September 2013, 16:58

Hello Jorge,

Do you have any error messages in your Moodle error log? It seems that Moodle cannot find the SSL key for Mahara. Normally, you don’t have to copy it from Mahara to Moodle if you set up a new networking peer. If you already have your Mahara set up, try to copy the key from Mahara into the appropriate field in Moodle.

Before you do that, check on the Mahara site that you have a key there and that it hasn’t expired yet, see http://manual.mahara.org/en/1.7/administration/config_site.html#networking

Cheers

Kristina

Понравилась статья? Поделить с друзьями:
  • Error output processing capture one
  • Error out of video memory trying to allocate a texture pubg
  • Error out of video memory trying to allocate a rendering resource
  • Error pe077 this declaration has no storage class or type specifier
  • Error pe070 incomplete type is not allowed