<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: errors in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24712#M12128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The administrator account info is still admin/admin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2006 17:34:41 GMT</pubDate>
    <dc:creator>mojo-jojo</dc:creator>
    <dc:date>2006-03-03T17:34:41Z</dc:date>
    <item>
      <title>errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24703#M12119</link>
      <description>I am trying to use the PHP Webservices examples that come with the source distribution.&amp;nbsp; I've configured everything right as far as I can tell but when I try to exectute the script simple.php I get the following errors in my log.[Tue Feb 28 18:15:45 2006] [error] [client 10.0.0.90] An error was enco</description>
      <pubDate>Wed, 01 Mar 2006 00:25:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24703#M12119</guid>
      <dc:creator>mojo-jojo</dc:creator>
      <dc:date>2006-03-01T00:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24704#M12120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In release 1.2 we added the timestamp action to the Security header in order to support .NET.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like the timestamp being added to the header is considered to be expired when it arrives at the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you check that your PHP server and your Alfresco server have the same system time?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If they don't and you can't change it or they are the same let me know and I'll dig deeper.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2006 10:40:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24704#M12120</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2006-03-01T10:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24705#M12121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They are both running on the same server. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2006 16:37:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24705#M12121</guid>
      <dc:creator>mojo-jojo</dc:creator>
      <dc:date>2006-03-01T16:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24706#M12122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok,&amp;nbsp; would you mind trying something for me to see if it resolves your problem ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open \alfresco\webservice\WebServiceUtils.php&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;$createdDate = date("Y-m-d\TH:i:s\Z");&lt;BR /&gt;$expiresDate = date("Y-m-d\TH:i:s\Z", mktime(date("H")+1, date("i"), date("s"), date("m"), date("d"), date("Y")));&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and replace it with &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;$createdDate = date("Y-m-d\TH:i:s\Z", mktime(date("H")+24, date("i"), date("s"), date("m"), date("d"), date("Y")));&lt;BR /&gt;$expiresDate = date("Y-m-d\TH:i:s\Z", mktime(date("H")+25, date("i"), date("s"), date("m"), date("d"), date("Y")));&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Save the file and try again.&amp;nbsp; Let me know how you get on,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 14:23:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24706#M12122</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2006-03-02T14:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24707#M12123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay I replaced those two lines of code and then I tried executing simple.php again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the messages from error_log&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;[Thu Mar 02 11:02:41 2006] [error] [client 10.0.0.90] An error was encountered when calling web service: WSDoAllReceiver: security processing failed (actions number mismatch)&lt;BR /&gt;[Thu Mar 02 11:02:41 2006] [error] [client 10.0.0.90] PHP Notice:&amp;nbsp; Undefined variable: result_set in /home/httpd/html/alfresco-php/simple.php on line 50&lt;BR /&gt;[Thu Mar 02 11:02:41 2006] [error] [client 10.0.0.90] PHP Fatal error:&amp;nbsp; Call to a member function id() on a non-object in /home/httpd/html/alfresco-php/simple.php on line 50&lt;BR /&gt;[Thu Mar 02 11:02:41 2006] [error] [client 10.0.0.90] PHP Notice:&amp;nbsp; Uninitialized string offset:&amp;nbsp; 213 in /opt/alfresco-php/alfresco/tag/TagFramework.php on line 249&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;That last line repeats a bunch of times.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 17:06:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24707#M12123</guid>
      <dc:creator>mojo-jojo</dc:creator>
      <dc:date>2006-03-02T17:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24708#M12124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you running this against a 1.2 final release Alfresco server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes then have you also updated your PHP client to 1.2?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 17:22:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24708#M12124</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2006-03-02T17:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24709#M12125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay I wasn't running Alfresco server 1.2.0 final.&amp;nbsp; I upgraded the server and php stuff to 1.2.0.&amp;nbsp; Then I tried running simple.php without modifying WebServiceUtils.php and I got the same error that I was getting earlier.&amp;nbsp; So I changed the two lines of code in WebServiceUtils.php again and I get this instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;[Thu Mar 02 12:08:18 2006] [error] [client 10.0.0.90] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 18:11:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24709#M12125</guid>
      <dc:creator>mojo-jojo</dc:creator>
      <dc:date>2006-03-02T18:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24710#M12126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay maybe there is just a problem with simple.php. I was able to run browse/index.php just fine.&amp;nbsp; I'll keep you updated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 18:27:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24710#M12126</guid>
      <dc:creator>mojo-jojo</dc:creator>
      <dc:date>2006-03-02T18:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24711#M12127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Simple.php has the admin/admin user credentials coded into it.&amp;nbsp; If you've updated your admin password you'll need to update simple.php.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if this is causing the issue, but it worth checking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 09:47:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24711#M12127</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2006-03-03T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24712#M12128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The administrator account info is still admin/admin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 17:34:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors/m-p/24712#M12128</guid>
      <dc:creator>mojo-jojo</dc:creator>
      <dc:date>2006-03-03T17:34:41Z</dc:date>
    </item>
  </channel>
</rss>

