[Solved] curl vs file_get_contents

  • Robert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago - 13 years 9 months ago #1 by Robert
[Solved] curl vs file_get_contents was created by Robert
file_get_contents - redirect with user name, token (in address)
cUrl - redirect without user name and token (in address)

but
file_get_contents has problem with Itemid
please follow the link:
metafrasis.pl/index.php/pl/detale-a1
and go to the course


this is error link
metafrasis.pl/index.php/pl/?option=com_j...%20byte%20index%20-1
Last edit: 13 years 9 months ago by Antonio Durán.
The topic has been locked.
More
13 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: curl vs file_get_contents
Hi.

I could not understand your problem, please explain with more detail.
The topic has been locked.
  • Robert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #3 by Robert
Replied by Robert on topic Re: curl vs file_get_contents
I use file_get_contents.
When I click :
Get To The Course button then it redirect me to the moodle.
There is white screen :
if page is not redirect please click following LINK.
When I click "redirect Me" it go to the Moodle

But in the LINK is some error message.

&ItemId=".....Error XML-RPC....column -1"

BR & thanks
The topic has been locked.
More
13 years 9 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: curl vs file_get_contents
Do you have all green in joomdle system check?
The topic has been locked.
  • Robert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago - 13 years 9 months ago #5 by Robert
Replied by Robert on topic Re: curl vs file_get_contents
Joomdle Web Services X Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle

this is red


but I put : metafrasis.pl
in moodle > joomdle > joomla url
br&thanx
Last edit: 13 years 9 months ago by Robert.
The topic has been locked.
More
13 years 9 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: curl vs file_get_contents
You need to fix that before trying anything else.

Did you enter default lang in Joomdle's config in Moodle? You need to enter pl.
The topic has been locked.
  • Robert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #7 by Robert
Replied by Robert on topic Re: curl vs file_get_contents
Antonio... I have no words...

Thank You.:)

I start to investigating the web page from today:)

BR
Robert
The topic has been locked.