Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nanogallery2: Could not retrieve Google data. #14

Closed
beamkiller opened this issue Apr 24, 2018 · 11 comments
Closed

nanogallery2: Could not retrieve Google data. #14

beamkiller opened this issue Apr 24, 2018 · 11 comments

Comments

@beamkiller
Copy link

Hi,

Everything worked on the webpage I created for my friend, but now she got this error where the gallery is called. Nothing has changed or modified.

nanogallery2: Could not retrieve Google data. Error: parsererror, SyntaxError: Unexpected token < readyState=4 getResponseHeader=function (a){var b;if(2===t){if(!j){j={};while(b=Cc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b} getAllResponseHeaders=function (){return 2===t?f:null} setRequestHeader=function (a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this} overrideMimeType=function (a){return t||(k.mimeType=a),this} statusCode=function (a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this} abort=function (a){var b=a||u;return i&&i.abort(b),x(0,b),this} state=function (){return c}

Thanks for the help.
Regards,
Peter.

@Kris-B
Copy link
Member

Kris-B commented Apr 24, 2018

Hi peter,
can you give me the URL of your page?

@beamkiller
Copy link
Author

beamkiller commented Apr 24, 2018

Hi, sure. It's: http://anitasvorenovainteriors.com/projects.html

@Kris-B
Copy link
Member

Kris-B commented Apr 26, 2018

can you provide the content of the file nanogp/admin/config.php ?

@beamkiller
Copy link
Author

beamkiller commented Apr 26, 2018

It's:

<?php $cfg_client_id = 'xxx83-jcbnn64l97uah0m7i3crec9tgnuvqj8b.apps.googleusercontent.com'; $cfg_client_secret = 'xxxdqjc4wjAdDb2l0vsw9z'; $cfg_max_accounts = 1; $cfg_log = true; $albums_filter = ['sauvegarde', 'backup', 'automatické','real']; ?>

@Kris-B
Copy link
Member

Kris-B commented Apr 26, 2018

did you change anything in this file recently ?

@Kris-B
Copy link
Member

Kris-B commented Apr 30, 2018

any update ?

@beamkiller
Copy link
Author

beamkiller commented Apr 30, 2018

Hi,

no i did not changed anything. The webpage was up almost a year. No changes in nanogp or nanogallery parts :(

I recently changed the cfg_log to see if there is some error but this was only after the error but no log files either 🗡

@Kris-B
Copy link
Member

Kris-B commented May 7, 2018

calling your nanogp server returns error: Parse error: syntax error, unexpected '[' in /home/mw009800/anitasvorenovainteriors_com/nanogp/admin/config.php on line 6

Did you or your hosting provider changed the PHP version on this server?

@beamkiller
Copy link
Author

No PHP change, there is and was PHP 5.2

@Kris-B
Copy link
Member

Kris-B commented May 10, 2018

can you update to PHP v5.4 ?

@beamkiller
Copy link
Author

I have updated to PHP 5.6. Issue resolved :). Thanks 👍

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

No branches or pull requests

2 participants