Just Trying

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Activity

  • Just Trying replied on the discussion topic White page only on "Administration" - fresh setup in the group Elgg Technical Support
    Just a note first, the lack of error display in Elgg is frustrating. The problem: This is my first go at using/installing elgg and although most of it looks fantastic, I've found some frustration with getting white pages after the initial...
    • I just couple of hours ago went through the same hassle of having no php errors while getting white page. I discovered the .htaccess turned off the display_errors. Open the .htaccess file and search for the line:

              php_value display_errors 0

      Change it to this:

              # php_value display_errors 0

      And you'll get the PHP error messages.

       

    • Ah, no... the problem was that I gave my initial user the username "admin".  That should be restricted somehow... that's a stupid problem to even be allowed to have.

      Anyway, thanks for "Just Trying". :)

  • Hi, I downloaded elgg 1.5. I did set up all the stuff requested in tech requirements (created the mysql database and username, tested it is able to access, tested that apache2 mod_rewrite works, etc. etc.). As elgg wasn't able to write into...
    • Jededitor, which external pages and php files you mean? For me, it is sure the elgg php files get picked up. When either settings.php or .htaccess is missing (I did the experiment with renaming temporarily either of them), I get the page that says correspondingly, what I am missing. From that I can conlcude with certainty three things:

      1. the index.php gets picked up
      2. the settings.php gets picked up
      3. the .htaccess file is found

      It is just, that if both settings.php and .htaccess are in place, I get the empty white screen.

       

    • I narrowed down to the line of code in site initialization, where the death happens. It is in database.php, function establish_db_link($dblinkname = "readwrite"), the line:

                          // Connect to database

                              if (!$dblink[$dblinkname] = mysql_connect($CONFIG->dbhost, $CONFIG->dbuser, $CONFIG->dbpass, true))

      It just drops there. No catchable exception is thrown, nothing comes to apache error.log, it just cuts here. The execution of the code don't reach beyond that line. That's it.

      The $dblinkname has the value "readwrite", the variables that go as arguments to mysql_connect contain exact proper values as ought to be -- I tested with mysql command-line terminal -- those host, user and pass are valid credentials. If I copy that mysql_connect command with the same parameter values to a separate php-file with only this line, and run it from command-line through php, it works.

      Any idea, how to debug it further?

       

    • Got it fixed. I discovered the .htaccess turned off the display_errors. Turning it back on helped me further -- the error said the function was undefined. Googling the error message, I found that I had to uncomment the line in php.ini file to load mysql extension. That solved it.

  • Hi, I downloaded elgg 1.5. I did set up all the stuff requested in tech requirements (created the mysql database and username, tested it is able to access, tested that apache2 mod_rewrite works, etc. etc.). As elgg wasn't able to write into...
    • Jededitor, which external pages and php files you mean? For me, it is sure the elgg php files get picked up. When either settings.php or .htaccess is missing (I did the experiment with renaming temporarily either of them), I get the page that says correspondingly, what I am missing. From that I can conlcude with certainty three things:

      1. the index.php gets picked up
      2. the settings.php gets picked up
      3. the .htaccess file is found

      It is just, that if both settings.php and .htaccess are in place, I get the empty white screen.

       

    • I narrowed down to the line of code in site initialization, where the death happens. It is in database.php, function establish_db_link($dblinkname = "readwrite"), the line:

                          // Connect to database

                              if (!$dblink[$dblinkname] = mysql_connect($CONFIG->dbhost, $CONFIG->dbuser, $CONFIG->dbpass, true))

      It just drops there. No catchable exception is thrown, nothing comes to apache error.log, it just cuts here. The execution of the code don't reach beyond that line. That's it.

      The $dblinkname has the value "readwrite", the variables that go as arguments to mysql_connect contain exact proper values as ought to be -- I tested with mysql command-line terminal -- those host, user and pass are valid credentials. If I copy that mysql_connect command with the same parameter values to a separate php-file with only this line, and run it from command-line through php, it works.

      Any idea, how to debug it further?

       

    • Got it fixed. I discovered the .htaccess turned off the display_errors. Turning it back on helped me further -- the error said the function was undefined. Googling the error message, I found that I had to uncomment the line in php.ini file to load mysql extension. That solved it.

  • Hi, I downloaded elgg 1.5. I did set up all the stuff requested in tech requirements (created the mysql database and username, tested it is able to access, tested that apache2 mod_rewrite works, etc. etc.). As elgg wasn't able to write into...
    • Jededitor, which external pages and php files you mean? For me, it is sure the elgg php files get picked up. When either settings.php or .htaccess is missing (I did the experiment with renaming temporarily either of them), I get the page that says correspondingly, what I am missing. From that I can conlcude with certainty three things:

      1. the index.php gets picked up
      2. the settings.php gets picked up
      3. the .htaccess file is found

      It is just, that if both settings.php and .htaccess are in place, I get the empty white screen.

       

    • I narrowed down to the line of code in site initialization, where the death happens. It is in database.php, function establish_db_link($dblinkname = "readwrite"), the line:

                          // Connect to database

                              if (!$dblink[$dblinkname] = mysql_connect($CONFIG->dbhost, $CONFIG->dbuser, $CONFIG->dbpass, true))

      It just drops there. No catchable exception is thrown, nothing comes to apache error.log, it just cuts here. The execution of the code don't reach beyond that line. That's it.

      The $dblinkname has the value "readwrite", the variables that go as arguments to mysql_connect contain exact proper values as ought to be -- I tested with mysql command-line terminal -- those host, user and pass are valid credentials. If I copy that mysql_connect command with the same parameter values to a separate php-file with only this line, and run it from command-line through php, it works.

      Any idea, how to debug it further?

       

    • Got it fixed. I discovered the .htaccess turned off the display_errors. Turning it back on helped me further -- the error said the function was undefined. Googling the error message, I found that I had to uncomment the line in php.ini file to load mysql extension. That solved it.

  • Hi, I downloaded elgg 1.5. I did set up all the stuff requested in tech requirements (created the mysql database and username, tested it is able to access, tested that apache2 mod_rewrite works, etc. etc.). As elgg wasn't able to write into...
    • Jededitor, which external pages and php files you mean? For me, it is sure the elgg php files get picked up. When either settings.php or .htaccess is missing (I did the experiment with renaming temporarily either of them), I get the page that says correspondingly, what I am missing. From that I can conlcude with certainty three things:

      1. the index.php gets picked up
      2. the settings.php gets picked up
      3. the .htaccess file is found

      It is just, that if both settings.php and .htaccess are in place, I get the empty white screen.

       

    • I narrowed down to the line of code in site initialization, where the death happens. It is in database.php, function establish_db_link($dblinkname = "readwrite"), the line:

                          // Connect to database

                              if (!$dblink[$dblinkname] = mysql_connect($CONFIG->dbhost, $CONFIG->dbuser, $CONFIG->dbpass, true))

      It just drops there. No catchable exception is thrown, nothing comes to apache error.log, it just cuts here. The execution of the code don't reach beyond that line. That's it.

      The $dblinkname has the value "readwrite", the variables that go as arguments to mysql_connect contain exact proper values as ought to be -- I tested with mysql command-line terminal -- those host, user and pass are valid credentials. If I copy that mysql_connect command with the same parameter values to a separate php-file with only this line, and run it from command-line through php, it works.

      Any idea, how to debug it further?

       

    • Got it fixed. I discovered the .htaccess turned off the display_errors. Turning it back on helped me further -- the error said the function was undefined. Googling the error message, I found that I had to uncomment the line in php.ini file to load mysql extension. That solved it.

  • Hi, I downloaded elgg 1.5. I did set up all the stuff requested in tech requirements (created the mysql database and username, tested it is able to access, tested that apache2 mod_rewrite works, etc. etc.). As elgg wasn't able to write into...
    • Jededitor, which external pages and php files you mean? For me, it is sure the elgg php files get picked up. When either settings.php or .htaccess is missing (I did the experiment with renaming temporarily either of them), I get the page that says correspondingly, what I am missing. From that I can conlcude with certainty three things:

      1. the index.php gets picked up
      2. the settings.php gets picked up
      3. the .htaccess file is found

      It is just, that if both settings.php and .htaccess are in place, I get the empty white screen.

       

    • I narrowed down to the line of code in site initialization, where the death happens. It is in database.php, function establish_db_link($dblinkname = "readwrite"), the line:

                          // Connect to database

                              if (!$dblink[$dblinkname] = mysql_connect($CONFIG->dbhost, $CONFIG->dbuser, $CONFIG->dbpass, true))

      It just drops there. No catchable exception is thrown, nothing comes to apache error.log, it just cuts here. The execution of the code don't reach beyond that line. That's it.

      The $dblinkname has the value "readwrite", the variables that go as arguments to mysql_connect contain exact proper values as ought to be -- I tested with mysql command-line terminal -- those host, user and pass are valid credentials. If I copy that mysql_connect command with the same parameter values to a separate php-file with only this line, and run it from command-line through php, it works.

      Any idea, how to debug it further?

       

    • Got it fixed. I discovered the .htaccess turned off the display_errors. Turning it back on helped me further -- the error said the function was undefined. Googling the error message, I found that I had to uncomment the line in php.ini file to load mysql extension. That solved it.