Search


Hot Tags

Forum Neo22s » Open Classifieds

? missing posts in the forum ?

(6 posts)

No tags yet.


  1. nelloxa
    Member

    Hello Chema
    I followed up on the topic "Installation - solved ?" discussing a couple bugs in the 1.5.3 installation (a GET rather than POST, a missing DB config line if admin password is empty) but they are not on the forum anymore.

    Did you get them ?

    Posted 2 months ago #
  2. Chema
    Key Master

    here, no? http://forum.neo22s.com/topic/installation-solved#post-412

    Posted 2 months ago #
  3. nelloxa
    Member

    No
    I posted a couple of messages today as an answer to that topic.
    Are they really lost ?

    Posted 2 months ago #
  4. nelloxa
    Member

    In a nutshell :
    ___________________________
    If you let a blank password for connecting to the DB, the install_config.php file does not contain a line to initialize "DB_PASS" => the connection does not work
    ___________________________

    There is a variable passed via GET instead of POST (but I cannot find it right now, sorry)

    ___________________________

    in ocdb.php :

    function db_connect(){
    if (!mysql_connect(DB_HOST,DB_USER,DB_PASS)){
    ocSqlError(mysql_error());
    exit();
    }
    mysql_select_db(DB_NAME);
    mysql_query('SET NAMES utf8');
    }

    the line :
    mysql_select_db(DB_NAME);
    is useless since the DB is already selected, and it crashes my Apache. Can you delete it?
    Also: can you change the

    if (!mysql_connect(DB_HOST,DB_USER,DB_PASS)){

    in order to have something like :

    $MyHandle = mysql_connect(DB_HOST,DB_USER,DB_PASS)
    if (!$MyHandle)){

    PHP on Windows likes it better

    ________________________________

    The first patch I posted on the other topic (concerning the handle for a DB connection that also crashes Apache) has not been applied.

    Cheers

    Posted 2 months ago #
  5. Chema
    Key Master

    I was moving the server maybe got lost.

    I will check what you say so.

    regards

    Posted 2 months ago #
  6. Chema
    Key Master

    mysql_select_db(DB_NAME); I can't remove it since not everybody has it as default, you can havve more DB over the same user passwords

    About the handle is done ;)

    Posted 2 months ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

Top Footer
Follow me