Results 1 to 5 of 5
  1. #1
    New Pligger ButtNutt's Avatar
    Joined
    Jul 2006
    Posts
    3
    Thanks
    Received:0
    Given: 0

    Pligg IIS install (fixing Pligg for IIS)

    Ok, so we have set up Pligg, but are not able to pull up
    http://localhost/pligg/admin_index.php

    0. Fix the php.ini to include mysql support
    You need to find the
    c:\windows\php.ini line 600 (I think) and turn
    ;extension=php_msql.dll
    into
    extension=php_msql.dll

    I also copied the php_mysql.dll from the c:\php\ext folder to the c:\php
    *thx to drk for this

    1. Fix Login files
    It was explained to me by AshDigg that this is because the login.php files (one in the root dir and one in the libs dir) are redirecting before they set the cookie and this is bad.

    Here are the new login files.
    rootlogin.php

    libslogin.php

    you will need to put the rootlogin in the pligg root folder and rename it to login.php
    get the libslogin and rename it login.php and put it in the libs folder.

    You should now be able to log in as U:god P:12345 and get to the admin console

    2. You will need to fix html1.php and smartyvariables.php
    There are lines in there that read
    $_SERVER['REQUEST_URI']
    change them to
    $_SERVER['SCRIPT_NAME']
    That fixes the errors on the page. There are 3 changes in html1.php and one on line 6 in smartyvariables.php

    3. Create the missing links table
    Links doesnt get created because of a bug. Enclosed is the sql script file you will need to run with the mySql Query Browser against your pligg database
    createlinkstable.sql
    It should create your missing "links" table

    4. Current errors not working
    You cant attach a new story and get an "incorrect key" issue

    You cant add a new user as the captcha isint working. In your c:\windows\php.ini, there is a place to tell it where to find extensions. It needs to use gd2.dll I think to draw the jpg. Not sure how to get this working yet.

    None of the redirects work correctly. For example you cannot go to http://localhost/pligg/admin and expect it to work. You have to explicitly state the location of the file you need
    http://localhost/pligg/login.php for it to work correctly

    The templates do not work correctly

    These fixes should at least get you running around in the pligg files for IIS as opposed to stopping you cold.

    Much thanks to AshDigg for the help. That dude rocks.

  2. #2
    drk
    drk is offline
    New Pligger drk's Avatar
    Joined
    Jul 2006
    Posts
    10
    Thanks
    Received:0
    Given: 0
    Good work - I got as far as finding out that I couldn't get admin_index.php to run and decided that 5am was not the best time to try and fix it.

    Woke up this morning and Lo! More information

    I'm off to implements this see what happens

  3. #3
    drk
    drk is offline
    New Pligger drk's Avatar
    Joined
    Jul 2006
    Posts
    10
    Thanks
    Received:0
    Given: 0
    I did all this and I still get a 404 when trying to access the admin_index.php

    One thing - are we using php_msql.dll or php_mysql.dll? (you mention both) - I changed extension=php_mysql and copied php_mysql.dll to the c:\php folder to get this far.

    Weirdly when I added php_msql.dll as well it kept warning me that it couldn't find the .dll - even though it was in c:\php ..

  4. #4
    New Pligger ButtNutt's Avatar
    Joined
    Jul 2006
    Posts
    3
    Thanks
    Received:0
    Given: 0
    It was explained to me that admin_index.php wont work because of the login issue. If you "login" using the new files then it should work, but you will need to go directly to it i.e.
    http://localhost/pligg/admin_index.php

    Hope this helps

  5. #5
    drk
    drk is offline
    New Pligger drk's Avatar
    Joined
    Jul 2006
    Posts
    10
    Thanks
    Received:0
    Given: 0
    I tried using the login.php directly and got this:

    Warning: Smarty::include(templates_c\%%F8^F84^F843866E%%gen eric_main.tpl.php) [function.include]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\pligg\Smarty.class.php on line 1258

    Warning: Smarty::include() [function.include]: Failed opening 'templates_c\%%F8^F84^F843866E%%generic_main.tpl.p hp' for inclusion (include_path='.;C:\php5\pear') in c:\Inetpub\wwwroot\pligg\Smarty.class.php on line 1258

    Examination of my templates_c directory shows there is no file of this name

    Could somebody please list what files are supposed to be in the templates_c directory and post a sample generic_main.tpl.php

    thanks in advance

Similar Threads

  1. Pligg will not install--
    By jhbolin in forum Questions & Comments
    Replies: 8
    Last Post: 06-10-2012, 04:41 PM
  2. How can i install my Pligg cms
    By mrsrose in forum Questions & Comments
    Replies: 0
    Last Post: 07-27-2009, 09:59 AM
  3. Paid job for fixing pligg
    By Peter in forum Questions & Comments
    Replies: 4
    Last Post: 05-26-2008, 07:16 AM
  4. Fixing Problem reporting
    By dwg in forum Questions & Comments
    Replies: 7
    Last Post: 07-28-2006, 07:51 AM
  5. can you help me to install pligg?please
    By autumnstone in forum Questions & Comments
    Replies: 7
    Last Post: 06-07-2006, 03:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg