Menu

do any version work with php5?

Help
W4Designs
2009-09-01
2012-06-07
  • W4Designs

    W4Designs - 2009-09-01

    I have tried all version running on one of my hosting accounts (we'll call this hosting company 1) that is running php5 and get mysql errors. If if copy my exact installation over to another hosting company (we'll call this hosting company 2) running php4, and change the config.php to connect to the DB on hosting company 2, it works flawlessly.

    These are some of the errors I get on hosting company 1 trying version 5 of the PHP Address Book:
    Warning: Cannot modify header information - headers already sent by (output started at /home4/trophyhu/public_html/dealerlist5/config/config.php:1) in /home4/trophyhu/public_html/dealerlist5/include/dbconnect.php on line 19

    Warning: Cannot modify header information - headers already sent by (output started at /home4/trophyhu/public_html/dealerlist5/config/config.php:1) in /home4/trophyhu/public_html/dealerlist5/include/dbconnect.php on line 20

    Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home4/trophyhu/public_html/dealerlist5/index.php on line 60

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home4/trophyhu/public_html/dealerlist5/index.php on line 111

     
    • W4Designs

      W4Designs - 2009-09-09

      Well my hosting company must have been having PHP problems somehow as now version 5.0 of the address book is working fine with PHP5.

      Thanks for following up with me.

      Buster

       
    • chatelao

      chatelao - 2009-09-09

      Did you ever check, if there are leading / trailing spaces or hidden charaters (UTF-BOMs or similar) in your files?

       
    • chatelao

      chatelao - 2009-09-03

      Thanks for the message, I will try to reproduce it in a about one week. (My marriage tomorrow and the honeymoon has a little bit higher priority now :-).

       
      • chatelao

        chatelao - 2009-09-09
        • Which version of the php-addressbook do you use?
        • Which kind of error do you get on the screen?

        => On my server MySQL5/PHP5 works fine.

         
    • W4Designs

      W4Designs - 2009-09-03

      That would be awesome. This is the greatest little app that I've been usign for awhile. However a new hosting company I just went with only has PHP5 so I can't use my list. I feel like a man walking around with no underwear on without my address book.

      Thanks so much! And congrats on the wedding!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.