Page 1 of 1

Problems with March Release:

PostPosted: March 28th, 2012, 5:46 pm
by MisterShow
Code: Select all
Field not found: 'PHP.Core.Reflection.DObject.RuntimeFields'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingFieldException: Field not found: 'PHP.Core.Reflection.DObject.RuntimeFields'.

Source Error:

Line 1114:         $i = 0;
Line 1115:         while ( $i < @mysql_num_fields( $this->result ) ) {
Line 1116:            $this->col_info[$i] = @mysql_fetch_field( $this->result );
Line 1117:            $i++;
Line 1118:         }


Source File: D:\mydomain Release\mydomain.tld\wp-includes\wp-db.php    Line: 1116



this is what i get when i try to setup phalanger with a wordpress multisite on a virtual machine of mine.

the log only returns those warnings to me:
Code: Select all
[28-Mar-2012 19:26:44] CompileWarning: Function 'timezone_identifiers_list' is not supported in D:\mydomain Release\mydomain.tld\wp-includes\functions.php on line 4268, column 12
[28-Mar-2012 19:27:02] CompileWarning: Function 'timezone_identifiers_list' is not supported in D:\mydomain Release\mydomain.tld\wp-includes\functions.php on line 4268, column 12

Re: Problems with March Release:

PostPosted: March 28th, 2012, 5:49 pm
by MisterShow
and for completness my web.config:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<configSections>

      <section name="phpNet" type="PHP.Core.ConfigurationSectionHandler, PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71" />

</configSections>
    <system.webServer>
        <handlers>
            <remove name="PHP52_via_FastCGI" />
            <remove name="PHP52_via_FastCGI1" />
                <add name="PhalangerHandler" path="*.php" verb="*" type="PHP.Core.RequestHandler, PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71" resourceType="Unspecified" preCondition="integratedMode" />
      </handlers>
        <httpErrors>
            <remove statusCode="404" subStatusCode="-1" />
            <error statusCode="404" prefixLanguageFilePath="" path="/index.php?error=404" responseMode="ExecuteURL" />
        </httpErrors>
    </system.webServer>
    <system.web>
        <customErrors mode="Off">
        </customErrors>
    </system.web>
   <phpNet>
      <paths>
         <set name="DynamicWrappers" value=".\Bin\Dynamic"/>
         <set name="Libraries" value=".\Bin"/>
         <set name="ExtManager" value=".\Bin"/>
         <set name="ExtWrappers" value=".\Bin\Wrappers"/>
         <set name="ExtTypeDefs" value=".\Bin\TypeDefs"/>
         <set name="ExtNatives" value=".\Bin\Extensions"/>
      </paths>
      <compiler>
         <set name="EnableStaticInclusions" value="true" />
      </compiler>
      <classLibrary>
         <add assembly="PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb" section="bcl" />
         <add assembly="PhpNetMySql, Version=3.0.0.0,Culture=Neutral,PublicKeyToken=2771987119c16a03" section="mysql" />
         <add assembly="PhpNetMsSql, Version=3.0.0.0,Culture=Neutral,PublicKeyToken=2771987119c16a03" section="mssql" />
         <add assembly="php_xml.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="xml" />
         <add assembly="php_image.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="image" />
         <add assembly="php_zlib.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="zlib" />
      </classLibrary>
      <error-control>
         <set name="DisplayErrors" value="false" phpName="display_errors" />
      </error-control>
      <globalization>
         <set name="PageEncoding" value="utf-8" />
      </globalization>
      <bcl>
         <mailer>
            <!-- SMTP server name used for sending e-mails. -->
            <set name="SmtpServer" value="127.0.0.1" phpName="SMTP" />
            <!-- SMTP server port used for sending e-mails. -->
            <set name="SmtpPort" value="25" phpName="smtp_port" />
            <!-- The default value of "From" header. -->
            <set name="DefaultFromHeader" value="info@phpcompiler.net" phpName="sendmail_from" />
         </mailer>
      </bcl>

   </phpNet>

</configuration>      

i tried loading it from the installed phalanger "version" but i had permission erros. so i actually copied pretty much everything from the new release into my /bin/ folder (except of course the exces and installerdlls and gacutil stuff)
/€ for clairty: i removed rewriting rules cauz of the max post limit

Re: Problems with March Release:

PostPosted: March 28th, 2012, 6:49 pm
by Jakub Misek
You didn't update managed MySql extension. There were changes in the Core that affected related extensions.

Re: Problems with March Release:

PostPosted: March 28th, 2012, 8:50 pm
by MisterShow
thank you that worked, the multisite is running now =)

Lessons learned: the first request takes forever, dont be shy to wait for it.. following request will be WAY faster.

secondly put
Code: Select all
<httpRuntime requestValidationMode="2.0" />
in your web.config or submiting html will not work (asp.net security http://www.asp.net/whitepapers/aspnet4/ ... c256770147 )

thirdly:
Plugins that wont Work: Wp-Minify, unless you include curl
Wp-Filebase: still being evaluated

and lastly... im just going to leave this here:

Code: Select all
<!-- 69 queries in 0.813 seconds, using 0.00MB memory -->
<!-- 87 queries in 1.000 seconds, using 0.00MB memory -->

Wordpress Network, 2 Sites, fully packed around 10 plugins and now hold your breath: caching is turned off.

Re: Problems with March Release:

PostPosted: April 1st, 2012, 9:52 pm
by KendallB
You can solve the first page load problem by doing two things:

1) Pre-compile your web site into a dll so it does not need to compile the pages dynamically the first time it is loaded

2) Run ngen on all the DLL's for your site, so they don't have to be jittered when the site starts up.

If you do the above two things the first page will load almost as fast as the second and third pages.