Installed fine but the login page is blank

(9 posts) (2 voices)
  1. abstractniche, Member

    Hi MyDBR team,

    I've installed using the wizard on Ubuntu. Everything installed correctly.

    tools/troubleshoot reports

    ionCube Loader OK
    MySQL Support OK
    Microsoft SQL Server / Sybase ASE / SQL Anywhere support not installed
    ChartDirector support not installed

    and I can see the MySql database and tables have all been created fine.

    Initially I got these errors:
    >>>Warning: Attempt to assign property of non-object in /usr/local/stopchoc/webroot/mydbr/lib/localization.php on line 110
    >>>Warning: Cannot modify header information - headers already sent by (output started at /usr/local/stopchoc/webroot/mydbr/lib/localization.php:110) in /usr/local/stopchoc/webroot/mydbr/lib/utils.php on line 2930

    and several similar ones, so in php.ini I put output_buffering = On and restarted apache

    Now if I go to mydbr/login.php I get the Graphic and Continue to login button which when clicked goes to mydbr/index.php?a=login however no data is sent to the browser (blank page) and I get

    Chrome says :- Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
    Firefox:- The connection to the server was reset while the page was loading

    If I go to mydbr/install/loader.php I get a page with a red header that says:

    Before you can start using myDBR the ionCube loader needs to be installed on your server. myDBR is a compiled application that can only function with the ionCube loader installed
    File causing this error message was: /mydbr/install/loader.php
    You have ionCube loader installed. Version: 4.2.2. You may still want to check that you have the lastest version installed.

    And the page /ioncube/loader-wizard.php says:
    Loader Installed
    The ionCube Loader version 4.2.2 for PHP 5.2 is already installed and encoded files should run without problems.

    phpinfo says:

    PHP Version 5.2.4-2ubuntu5.15

    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.

    Any ideas

    Andrew

  2. abstractniche, Member

    Forgot to add that this is the line in php.ini.

    zend_extension = /usr/lib/php5/20060613+lfs/ioncube_loader_lin_5.2.so

  3. abstractniche, Member

    A little bit more info:

    An encrypted test script ran ok

    When going to /mydbr/index.php I get the following in the apache error log

    [Wed Apr 17 12:39:27 2013] [error] [client 10.35.10.87] PHP Warning: Attempt to assign property of non-object in /usr/local/stopchoc/webroot/mydbr/lib/localization.php on line 110,
    [Wed Apr 17 12:39:28 2013] [notice] child pid 29874 exit signal Segmentation fault (11)

    pid 29874 was an apache2 process

    repeatedly trying to reload the index.php page repeats the errors in the error log

  4. myDBR Team, Key Master

    That sounds bit weird. What is the PHP version you are using?

    Also, could you please check that *ALL* files under mydbr-directory belong to web server.

    --
    myDBR Team

  5. abstractniche, Member

    PHP Version 5.2.4-2ubuntu5.15

    all files under mydbr are:

    -rwxr-xr-- 1 www-data root

    folders are:

    drwxr-xr-x 2 www-data root

    ps aux | hrep -i apache says:
    root 29871 0.0 0.2 21688 7376 ? Ss 12:38 0:00 /usr/sbin/apache2 -k start
    www-data 29876 0.0 0.1 21688 4912 ? S 12:38 0:00 /usr/sbin/apache2 -k start
    www-data 29877 0.0 0.1 21688 4924 ? S 12:38 0:00 /usr/sbin/apache2 -k start
    www-data 29878 0.0 0.1 21688 4928 ? S 12:38 0:00 /usr/sbin/apache2 -k start
    www-data 29892 0.0 0.1 21688 4908 ? S 12:39 0:00 /usr/sbin/apache2 -k start
    www-data 29894 0.0 0.1 21688 4908 ? S 12:39 0:00 /usr/sbin/apache2 -k start
    www-data 29907 0.0 0.1 21688 4908 ? S 12:40 0:00 /usr/sbin/apache2 -k start
    www-data 30056 0.0 0.1 21688 4920 ? S 13:06 0:00 /usr/sbin/apache2 -k start

    then you reload index.php and this appears in the error file

    [Wed Apr 17 14:17:46 2013] [notice] child pid 29892 exit signal Segmentation fault (11)

    Andrew

  6. myDBR Team, Key Master

    What is your error_reporting setting in php.ini?

    --
    myDBR Team

  7. abstractniche, Member

    error_reporting = E_ALL & ~E_NOTICE

    This appears in my php error log file:
    [17-Apr-2013 15:58:02] PHP Warning: Attempt to assign property of non-object in /usr/local/stopchoc/webroot/mydbr/lib/localization.php on line 110

    Both that and the segmentation error appear in the apache log

  8. myDBR Team, Key Master

    What happens is that myDBR creates a PHP object and assigns a value to the objects member variable.

    For some reason in your environment the object is not created resulting the warning and then subsequently the segmentation error. The reason for this is unclear as we have double checked the code and we have not seen this happen before. Something in your environment is causing this.

    Could you delete the mydbr-id cookie from the browser so we know that a new session is created. This is related to the object creation. Also, just temporarily disable PHP warning and see if you still get the segmentation fault.

    If any of the actions do not help, we can see if we could add some more checks to the code to help finding out the cause for this.

    --
    myDBR Team

  9. myDBR Team, Key Master

    You could try a new build if that would help. The build contains contains more checks to the session handling as it looks that there is something in your environment what causes sessions/session variable not to behave correctly.

    --
    myDBR Team


Reply

You must log in to post.