Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7

Thread: Forum help

  1. #1
    Regular Coder
    Join Date
    Dec 2005
    Posts
    346
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Forum help

    I have on my old computer phpDev running & on my desktop I have apache friends running. Both run just fine on each computer, but I am trying to merge all info off my old computer to my new one. PhpDev came w/InvisionBoard which I copied the files over & the MySQL file to my new computer. I can access the forum on my local host on my old computer, but I can't on my new computer. I already ran the sm_install.php file & entered all the db related info. I can't get help at InvisionBoard since this was a free copy provided w/PhpDev & can't get help from the phpdev forum since it has been dead since 2004. I hope someone might be able to help me.

    I can only access certain pages in the form on my new computer. Some pages just show a blank screen w/no error codes displayed. If I type in the URL localhost/forum/ the forum will load, but if I try to view pages it gives blank pages. I can view the My Account page, Help, Member List & Search pages.

    Has anyone else had this problem?

  • #2
    Regular Coder
    Join Date
    Dec 2005
    Posts
    346
    Thanks
    1
    Thanked 0 Times in 0 Posts
    If this is the wrong section let me know or if you know of another forum that I might get an answer on let me know that.

  • #3
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    I'm guessing no one has responded because no one has had a similar problem. Try checking your error logs.

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    You are referring to the same software installed on both computers correct? So two copies of the forum software?
    Assuming this is the case, and no type of corruption occured during the transfer, coupled with the pages you can access, I'd almost say your looking at a straight forward configuration issue. Depending on the age of the forum software you are incorperating, it could be something as simple as register_globals directives. The register_globals were heavily relied on until about version 4.3.x... ish of php, and at around this time companies began incorperating the superglobal variables.
    Starting on the easiest possibility first - I'd check the versions of php, and if necessary (though I hate to recommend this option) enable your register_globals. If your problem is still not solved, you may need an older verion of MySQL, assuming thats the db you are incorperating. MySQL 5.0 is far more strict and picky than the older versions of MySQL. The OS you are using can also play a huge factor in these problems.

    Good luck mate, I hope that the solution is simply a configuration issue.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #5
    Regular Coder
    Join Date
    Dec 2005
    Posts
    346
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Fou-Lu View Post
    You are referring to the same software installed on both computers correct? So two copies of the forum software?
    Assuming this is the case, and no type of corruption occured during the transfer, coupled with the pages you can access, I'd almost say your looking at a straight forward configuration issue. Depending on the age of the forum software you are incorperating, it could be something as simple as register_globals directives. The register_globals were heavily relied on until about version 4.3.x... ish of php, and at around this time companies began incorperating the superglobal variables.
    Starting on the easiest possibility first - I'd check the versions of php, and if necessary (though I hate to recommend this option) enable your register_globals. If your problem is still not solved, you may need an older verion of MySQL, assuming thats the db you are incorperating. MySQL 5.0 is far more strict and picky than the older versions of MySQL. The OS you are using can also play a huge factor in these problems.

    Good luck mate, I hope that the solution is simply a configuration issue.
    I was looking over the two servers...I am running PHP Version 5.2.0 on desktop & PHP Version 4.2.3 on my older laptop. I tried turning on the register_globals my inserting this code below into a HTACCESS File
    PHP Code:
    php_flag register_globals on 
    I have turned register_globals off & on & still same problem. The version of Invision Board is v1.0.1

  • #6
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Hmm, I'm not super great at the apache directives on that one. I would personally go straight for the php.ini. The differences in the versions are a lot though, and you mentioned that the software came with the original (the 4.2.3 I'm assuming) and due to the age of the version, I'd almost bet it is something along those lines.
    To the best of my knowledge, there is nothing currently in version 4.2.3 that is not currently in version 5.x. I believe everything has been kept for backwards compatability. But, superglobals were released as of version 4.2.0.
    Try enabling a error_reporting(E_ALL); on a page you want to access. See if any warnings/exceptions/fatal errors come up. We may be able to solve it quicker through that.
    Alternatively, you can probably dump a copy of a recently accessed access log from apache, I believe those show php errors.

    Oh, one thing I almost forgot. Are you running both of these as modules? Or is it possible that one is being run as a CGI? Generally this is not a problem, but there are a few integration specific methods. Error reporting will definitly show those.

    Get back to me!
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #7
    Regular Coder
    Join Date
    Dec 2005
    Posts
    346
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Fou-Lu View Post
    Hmm, I'm not super great at the apache directives on that one. I would personally go straight for the php.ini. The differences in the versions are a lot though, and you mentioned that the software came with the original (the 4.2.3 I'm assuming) and due to the age of the version, I'd almost bet it is something along those lines.
    To the best of my knowledge, there is nothing currently in version 4.2.3 that is not currently in version 5.x. I believe everything has been kept for backwards compatability. But, superglobals were released as of version 4.2.0.
    Try enabling a error_reporting(E_ALL); on a page you want to access. See if any warnings/exceptions/fatal errors come up. We may be able to solve it quicker through that.
    Alternatively, you can probably dump a copy of a recently accessed access log from apache, I believe those show php errors.

    Oh, one thing I almost forgot. Are you running both of these as modules? Or is it possible that one is being run as a CGI? Generally this is not a problem, but there are a few integration specific methods. Error reporting will definitly show those.

    Get back to me!
    Thanks for your help. You were correct in saying it was something w/the php versions. I was reading docs w/Apache Friends software...they have built in a switch program that will let you switch from PHP 4 to PHP 5 & back again. I switched to PHP 4 & everything works just fine. Sorry about not getting back to you sooner, but I have been sick the last couple of days.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •