1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problems do not finish , now i will eat my head (phptriad and phpnuke)

Discussion in 'Web Development & Web Hosting' started by kobem, Sep 8, 2007.

  1. kobem

    kobem Megabyte Poster

    791
    1
    50
    here are the steps i followed (it is Turkish but you may
    understand by looking at pictures)

    phptriad set up
    [​IMG]

    now running apache exe
    [​IMG]

    then now see running apache
    [​IMG]

    now go to C:\apache\mysql\bin then running mysqladmin.exe
    [​IMG]



    REST COMES IN NEW THREAD
     
    Certifications: CCNA
  2. kobem

    kobem Megabyte Poster

    791
    1
    50
    here is the username and password section
    [​IMG]

    look at apache is running and it is green(
    [​IMG]

    now here is the big part - phpnuke installation

    for this i downloaded phpnuke 8 but pictures tell for the 7 version

    look at the address bar and we are creating a database that has a name "nuke"
    [​IMG]


    now the "nuke" appears on the left side of the page


    again same address but we do different things and in this pic
    we call the "nuke.sql" in phpnuke8/sql/nuke.sql then press OK
    [​IMG]


    we are doing same things again in this pic
    [​IMG]

    14.gif file is not needed because we already browse it

    now we have to find the "html" folder in phpnuke 8 main folder
    [​IMG]



    REST COMES IN NEW THREAD
     
    Certifications: CCNA
  3. kobem

    kobem Megabyte Poster

    791
    1
    50
    then copy the "html" folder into c:\apache\htdocs like below
    [​IMG]

    now the biggest problem comes , here is the config.php file
    [​IMG]


    now we have to configure this file and make this by
    editing with a text editor such as Word (remember we named
    the database "nuke" and changing it in config.php to nuke now)
    [​IMG]


    $dbhost = "localhost"; (Bu kısım sabit olarak kalacak )
    $dbuname = "root"; (phptriad ile möyle kalsın )
    $dbpass = ""; (Boş kalsın )
    $dbname = "nuke"; (Database adı )
    $prefix = "nuke"; (Bu kısımda sabit olarak kalır )
    $user_prefix = "nuke"; (Bu kısımda sabit olarak kalır )
    $dbtype = "MySQL"; (Biz MySQL kullanarak Php Nuke kullandığımız için bu kısımda sabit )

    $sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9"; (7.0 versiyonunda çıkan bu bölümü orta yerde herhangi bir kelime yazarak değiştirin ) misterno :- ) olarak değiştirdim

    Şimdilik bu değiştirdiğimiz Dosyayı ctrl+s ile kaydedelim. OK

    first problem : do we have to change the $sitekey here?


    AND WHEN I WRITE http://localhost/html TO BROWSER IT SHOWS ME A BLANK PAGE!!!

    NOT THE PAGE BELOW
    [​IMG]




    except this it shows the http://localhost and phpmyadmin pages

    please help!!!!!!!
     
    Certifications: CCNA
  4. BosonMichael
    Highly Decorated Member Award

    BosonMichael Yottabyte Poster

    19,136
    462
    374
    [​IMG] :morebeer :popcorn

    I thought you already asked this in another thread... adding graphics isn't going to help... :p
     
    Certifications: CISSP, MCSE+I, MCSE: Security, MCSE: Messaging, MCDST, MCDBA, MCTS, OCP, CCNP, CCDP, CCNA Security, CCNA Voice, CNE, SCSA, Security+, Linux+, Server+, Network+, A+
    WIP: Just about everything!
  5. kobem

    kobem Megabyte Poster

    791
    1
    50
    no , this is phptriad and phpnuke including apache NOT php5 and APACHE
     
    Certifications: CCNA
  6. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,623
    115
    224
    That's a whole buch of stuff to install at once!

    I would normaly have paused at each point to make sure it worked.

    It isn't clear from your thread, but did you get Apache to run on it's own before installing the rest?

    The PHP-Nuke site has a page on the sitekey - if you use the issued default then you are open to hacks.

    Does MySQL work? Try it from the command prompt.

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  7. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,623
    115
    224
    That's a rather old copy of Apache!

    Looking up PHP Triad and PHP-Nuke I see that Triad has changed its name and Nuke has moved several versions on - so you are running fairly old software.

    In particular - the contents of httpd.conf changed quite a bit between 1.3 and 2

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  8. kobem

    kobem Megabyte Poster

    791
    1
    50
    HEY WAIT MAN !

    PLEASE LOOK AT THESE

    blankpage (anormal)
    [​IMG]

    localhostpage
    [​IMG]

    phpmyadminpage
    [​IMG]

    and there is an index.html which gives same result with http://localhost

    1-WHY BLANK PAGE ? IS EVERYTHING OK?

    ALSO

    2-WHERE SHOULD I WRITE PHP FILES NOW ? IN NOTEPAD
    THEN .PHP EXTENSION ? AND WHAT IS THE NAME OF THE FOLDER FOR SAVING PHP FILES NOW?
     
    Certifications: CCNA
  9. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,623
    115
    224
    All three packages being mentioned here are quite old - as I said....
    Dunno. What is in that folder? If nothing then a blank page might be expected.
    You put the PHP files in the correct place for the site you want to create. So if you want to have your site at http://localhost/ then replace the index file as mentioned on that page.
    Yes - they will need a php extension (usualy).

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  10. kobem

    kobem Megabyte Poster

    791
    1
    50
    man , it displays the php files on the browser
    for ex. http://localhost/phpinfo.php

    BUT WHEN I CREATE A PHP FILE SUCH AS myworld.php
    IT SHOWS THE WHOLE PAGE CODE not the result !
     
    Certifications: CCNA
  11. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,623
    115
    224
    In which case you are getting the php code wrong.

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  12. kobem

    kobem Megabyte Poster

    791
    1
    50
    what do u wanna say ?

    http://localhost/phpinfo.php is in c:\apache\htdocs\phpinfo.php

    for ex. i create helloworld.php at the same place

    c:\apache\htdocs\helloworld.php BUT IT ONLY SHOWS
    CODES WHY?
     
    Certifications: CCNA
  13. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,623
    115
    224
    I am assuming the phpinfo.php script works, but the helloworld.php doesn't.

    Without seeing these scripts it is hard to say, but the likelyhood is that the helloworld script has an error of some sort.

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  14. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111

    Attached Files:

    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  15. kobem

    kobem Megabyte Poster

    791
    1
    50
    Certifications: CCNA
  16. kobem

    kobem Megabyte Poster

    791
    1
    50


    HEY MAN IT WORKS , THE FILE YOU SENT SHOWS THE RESULT !

    BUT WHY DOESN'T IT SHOW MINE ? I CREATE THE HELLOWORLD.PHP WITH NOTEPAD THEN SAVE IT AS .PHP
    AND I PUT SAME LOCATION

    c:\apache\htdocs BUT MINE DOESN'T WORK WHY?

    also when i create mine it looks like notepad document
     
    Certifications: CCNA
  17. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    make sure you are selecting all files in the drop down box when creating php files or you will end up with something like helloworld.php.txt and better still if you got xp hiding known extentions the file will look like helloworld.php <-- really a text file with .php in the filename not extension. see pic below
     

    Attached Files:

    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  18. ffreeloader

    ffreeloader Terabyte Poster

    3,661
    106
    167
    In addition to this advice I would advise using a good editor designed for creating web pages. In the following link is a download link for a Windows version of Kompozer, a very nice little free wysiwyg editor for html and php pages. It's multi-platform, will run on either Linux or Windows, and it's pretty nifty.

    Here is a link to the home page for the program from Kompozer grew out of. It's called Nvu, but development on it has pretty much ground to a halt, and all new development is going forward in Kompozer.

    http://www.nvu.com/

    Here is the download link for Kompozer.

    http://sourceforge.net/project/showfiles.php?group_id=170132&package_id=194013&release_id=530986
     
    Certifications: MCSE, MCDBA, CCNA, A+
    WIP: LPIC 1
  19. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111

    Attached Files:

    • test.zip
      File size:
      224 bytes
      Views:
      3
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  20. kobem

    kobem Megabyte Poster

    791
    1
    50
    man yes , now it looks like a php file

    YOU THOUGHT RIGHT , THANKS MAN!


    I MAKE THE FORMAT PHP BUT WHILE SAVING IF I DON'T
    CHOOSE EXCEPT TXT IT DOES PHP.TXT


    I PAY ATTENTION ABOUT IMAGE FORMATS NORMALLY
    BUT I DIDN'T SEE THIS FOR PHP FILES
     
    Certifications: CCNA

Share This Page

Loading...