Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Script stopped working: Could not parse for GALX or gxf token #28

Open
civilordergone opened this issue May 27, 2018 · 2 comments
Open

Comments

@civilordergone
Copy link

The script was working earlier but stopped.. It throws this error now.

An uncaught Exception was encountered
Type: Exception

Message: Could not parse for GALX or gxf token. Inputs from page: array ( )

Filename: /usr/share/nginx/html/application/libraries/Gv_lib.php

Line Number: 55

Backtrace:

File: /usr/share/nginx/html/application/libraries/Gv_lib.php
Line: 159
Function: _logIn

File: /usr/share/nginx/html/application/controllers/Notification.php
Line: 42
Function: sendSMS

File: /usr/share/nginx/html/index.php
Line: 292
Function: require_once

..It might have something to do with this:

curl https://accounts.google.com/signin/challenge/sl/password
<HTML>
<HEAD>
<TITLE>Moved Temporarily</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Moved Temporarily</H1>
The document has moved <A HREF="https://accounts.google.com/ServiceLogin">here</A>.
</BODY>
</HTML>

I've tried setting the post sign-in $URL to be: https://accounts.google.com/signin/v1/lookup to no avail.

@jamenlang
Copy link
Contributor

i submitted a pull request to 'fix' this

@programmer007007
Copy link

hi jamenlang i have tried your code as well now it gets stuck on line 73 :
$html = curl_exec($this->_ch);
Flow location : After password is submitted to google & just before we call that "grandcenteral" url.
It now redirects to this error:
The browser that you're using doesn't support JavaScript, or has JavaScript turned off
And i guess it destroy the session created so after that line nothing works as expected.

Have u been able to fix it ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants