Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: need help

  1. #1
    New Pligger Dikkenek's Avatar
    Joined
    Sep 2006
    Posts
    4

    need help

    Hi,
    i try to install the last version of Pligg in local with easyphp 1-8 and i get this error:

    Step 3:


    Creating Tables.
    Creating table: 'blogs'....
    Creating table: 'categories'....
    Creating table: 'comments'....
    Creating table: 'friends'....
    Creating table: 'languages'....
    Creating table: 'links'....
    Creating table: 'trackbacks'....
    Creating table: 'users'....
    Creating table: 'tags'....
    Creating table: 'votes'....
    Creating table: 'pageviews'....
    Adding config table.
    Inserting default categories....
    Creating "god" user....
    Inserting default data into the "config" table....

    Notice: Undefined variable: structure_only in c:\program files\easyphp1-8\www\install\createtables.php on line 304

    Notice: Undefined variable: SQL in c:\program files\easyphp1-8\www\libs\backup\mysql_backup\mysql_backup.class. php on line 298
    Duplicata du champ '1' pour la clef 1


    can you help me please ?

    Dikkenek

  2. #2
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Can you try and delete everything in the database including all tables? It looks like you're trying to install over a database that already contains entries. Hence why you're seeing this " Duplicata du champ '1' pour la clef 1."

    Try deleting all the tables in the database and start over.

  3. #3
    New Pligger Dikkenek's Avatar
    Joined
    Sep 2006
    Posts
    4
    Step 3:


    Creating Tables.
    Creating table: 'blogs'....
    Creating table: 'categories'....
    Creating table: 'comments'....
    Creating table: 'friends'....
    Creating table: 'languages'....
    Creating table: 'links'....
    Creating table: 'trackbacks'....
    Creating table: 'users'....
    Creating table: 'tags'....
    Creating table: 'votes'....
    Creating table: 'pageviews'....
    Adding config table.
    Inserting default categories....
    Creating "god" user....
    Inserting default data into the "config" table....

    Notice: Undefined variable: structure_only in c:\program files\easyphp1-8\www\install\createtables.php on line 304

    Notice: Undefined variable: SQL in c:\program files\easyphp1-8\www\libs\backup\mysql_backup\mysql_backup.class. php on line 298



    If there were no errors during install, you have successfully installed Pligg on your server!

    You may login to the admin panel using the login of "god" and password of "12345" (Open admin panel in new window).

    You should now DELETE the /install directory from your server and set the permissions for libs/dbconnect.php back to 655


    i deleted all the tables in mysql and i have still errors


    Dikkenek

  4. #4
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    can you comment out or take out those lines of code giving errors and try again? Make sure to delete everything in the database again

  5. #5
    New Pligger Dikkenek's Avatar
    Joined
    Sep 2006
    Posts
    4
    i uninstalled easyphp 1-8 ,deleted the folder,reinstalled easyphp,made a new install of pligg and same errors again.

    Thanks for help but i give up.

    Dikkenek

  6. #6
    New Pligger Dikkenek's Avatar
    Joined
    Sep 2006
    Posts
    4
    i uploaded the files on my server and it worked.
    smiles

  7. #7
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Glad it works.

  8. #8
    New Pligger Carth's Avatar
    Joined
    Sep 2006
    Posts
    2

    Exclamation Also getting undefined variable error during install

    Hi, I'm getting a similar error while trying to install on localhost.

    [FONT="System"]Notice: Undefined variable: structure_only in C:\sokkit\site\Pligg\install\createtables.php on line 315

    Notice: Undefined variable: SQL in C:\sokkit\site\Pligg\libs\backup\mysql_backup\mysq l_backup.class.php on line 298[/FONT]

    I tried it last week on my AMD and this week on a brand new fresh P4 system. Clean install, everything new.

    So the admin page is full of errors and my install was unsuccessful. My next step will be to try it on the live server. But I thought you'd want to know.

    Carth's TechGrrl

  9. #9
    New Pligger Carth's Avatar
    Joined
    Sep 2006
    Posts
    2

    Smile Live install works

    My live Pligg install works too!

    I dunno, I think it might be that the CHMOD didn't really happen or happen right on the localhost. Cuz everything else was the same. Just happy I'm up and running now.

    Carth's TechGrrl

  10. #10
    Constant Pligger savant's Avatar
    Joined
    Apr 2006
    Posts
    1,181
    Notices aren't errors, you can tweak php to how much error reporting it should generate.

    Error reports are
    Errors - Actual errors
    Warnings
    Notices - Something a dev might have forgotten, like defining a variable

    on your remote servers, they probably turned down the error reporting to low, so you don't see notices, where as on your local server it's probable set higher.

Page 1 of 2 12 LastLast

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 Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting