need help

- need help
-
New Pligger
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
-
Pligg Developer/Admin
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.
-
New Pligger
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
-
Pligg Developer/Admin
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
-
New Pligger
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
-
New Pligger
i uploaded the files on my server and it worked.
smiles
-
Pligg Developer/Admin
-
New Pligger
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
-
New Pligger
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
-
Constant Pligger
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules