FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Tokan error & 401 fatal error while running google analytics API code on dedicated server
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Tokan error & 401 fatal error while running google analytics API code on dedicated server [message #169733 is a reply to message #169725] Fri, 24 September 2010 09:10 Go to previous message
Helmut Chang is currently offline  Helmut Chang
Messages: 22
Registered: September 2010
Karma:
Junior Member
Am 24.09.2010 08:25, schrieb neha rathi:

> My trying a code to get page visits of all domains of my google
> analytics account. My code is running properly on local xampp server&
> i am getting visits for all domains but when i run the same code on
> dedicated server. It gives me error as
>
> 401
> Fatal error: Uncaught exception 'Exception' with message 'Permission
> Denied -

Read the message: It says, that an exception has been thrown, that you
didn't catch and handle (which is bad coding style).

And the message says: '401 Permission Denied', which means: your
dedicated server is not allowed to:

> googleanalytics.class.php(195): GoogleAnalytics->_postTo('https://
^^^^^^^
> www.goo...', Array, Array)

post to the google analytics url.

I'd say, one of the Array parameters of above method call contains
authentification credentials and those seem to be wrong.

Helmut
[Message index]
 
Read Message
Read Message
Previous Topic: Syntax for array?
Next Topic: [ANN] Release of XMLmind XSL-FO Converter v4.4.1
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 02:34:43 GMT 2024

Total time taken to generate the page: 0.04776 seconds