Announcement

Collapse
No announcement yet.

SC V8 + XDebug = Error 500 (Linux)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SC V8 + XDebug = Error 500 (Linux)

    Hi,

    In my new laptop with OpenSuSe I'm trying to configure it with XDebug to debug SC apps.
    I had to build XDebug, and copied to ext folder. Modified php.ini to point and load xdebug extension. SCApache starts, and works. PHPInfo notice XDebug is loaded.. but when I login into SC it crash with an error 500.

    Some idea about what could be the problem?

    Regards.
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

  • #2
    Error 500 is an 'internal server error' and that can have a lot of causes. In general the message cannot be displayed. You could try to set the full debug options on. Check if the XDebug port is free. Look into the apache logs to see if it shows more info. Even a file-rights issue could cause error 500.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Sorry for late reply.

      I understand Albert, but all works but SC. I mean, I can open my generated apps without trouble, error 500 is just when I try to open SC.
      error.log
      Code:
      <br />
      <b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/NetMake/v8/components/apache/ext/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such
       file or directory in <b>Unknown</b> on line <b>0</b><br />
      <br />
      <b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/NetMake/v8/components/apache/ext/pdo_pgsql.so' - /opt/NetMake/v8/components/apache/ext/pdo_pgsql.so: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
      <br />
      <b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/NetMake/v8/components/apache/ext/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
      <br />
      <b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/NetMake/v8/components/apache/ext/pdo_pgsql.so' - /opt/NetMake/v8/components/apache/ext/pdo_pgsql.so: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
      <br />
      <b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/NetMake/v8/components/apache/ext/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
      <br />
      <b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/NetMake/v8/components/apache/ext/pdo_pgsql.so' - /opt/NetMake/v8/components/apache/ext/pdo_pgsql.so: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
      [Tue Jul 14 08:53:48.351500 2015] [mpm_prefork:notice] [pid 1862] AH00173: SIGHUP received.  Attempting to restart
      [Tue Jul 14 08:53:48.400790 2015] [ssl:warn] [pid 1862] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
      [Tue Jul 14 08:53:48.401199 2015] [:notice] [pid 6449] FastCGI: process manager initialized (pid 6449)
      [Tue Jul 14 08:53:48.401370 2015] [:warn] [pid 6449] FastCGI: server "/opt/NetMake/v8/components/apache/cgi-bin/php.fcgi" started (pid 6451)
      [Tue Jul 14 08:53:48.401616 2015] [mpm_prefork:notice] [pid 1862] AH00163: Apache/2.4.6 (Unix) OpenSSL/1.0.1f mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
      [Tue Jul 14 08:53:48.401630 2015] [core:notice] [pid 1862] AH00094: Command line: '/opt/NetMake/v8/components/apache/apachesc8 -d /opt/NetMake/v8/components/apache'
      PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/NetMake/v8/components/apache/ext/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0
      PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/NetMake/v8/components/apache/ext/pdo_pgsql.so' - /opt/NetMake/v8/components/apache/ext/pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
      [Tue Jul 14 08:54:04.670525 2015] [fastcgi:error] [pid 6450] (104)Connection reset by peer: [client ::1:32870] FastCGI: comm with server "/opt/NetMake/v8/components/apache/cgi-bin/php.fcgi" aborted: read failed
      [Tue Jul 14 08:54:04.670567 2015] [fastcgi:error] [pid 6450] [client ::1:32870] FastCGI: incomplete headers (0 bytes) received from server "/opt/NetMake/v8/components/apache/cgi-bin/php.fcgi"
      [Tue Jul 14 08:54:04.831607 2015] [fastcgi:error] [pid 6453] (104)Connection reset by peer: [client ::1:32871] FastCGI: comm with server "/opt/NetMake/v8/components/apache/cgi-bin/php.fcgi" aborted: read failed, referer: http://localhost:88/scriptcase/devel/iface/index.php?rand=3df064416ea1df44
      [Tue Jul 14 08:54:04.831650 2015] [fastcgi:error] [pid 6453] [client ::1:32871] FastCGI: incomplete headers (0 bytes) received from server "/opt/NetMake/v8/components/apache/cgi-bin/php.fcgi", referer: http://localhost:88/scriptcase/devel/iface/index.php?rand=3df064416ea1df44
      access.log
      Code:
      ::1 - - [14/Jul/2015:08:54:04 +0200] "GET /scriptcase/ HTTP/1.1" 302 -
      ::1 - - [14/Jul/2015:08:54:04 +0200] "GET /scriptcase/devel/iface/login.php HTTP/1.1" 500 530
      ::1 - - [14/Jul/2015:08:54:04 +0200] "POST /scriptcase/devel/iface/session_close.php?ajax=true&option=close_session HTTP/1.1" 500 530
      /Giuseppe

      Professional Scriptcase Services
      Some Customers opinions

      Comment


      • #4
        PHP Startup: Unable to load dynamic library '/opt/NetMake/v8/components/apache/ext/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such
        file or directory in <b>Unknown</b> on line <b>0</b><br />
        This smells to me like a bad setup. First please check if that file is even reachable from your webserver. Likely the rights are wrong.
        Turn on all the php logging and all the apache logging and check in the log files.
        Normally when missing a dynamic library the library isnt set in the php ini file. I doubt that you have forgotten that but checking it would be good anyway.

        Comment

        Working...
        X