Go Back   Pligg CMS Forum > Pligg Help > Installation and Upgrade Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-23-2006, 01:05 PM
Dikkenek's Avatar
New Pligger
 
Join Date: Sep 2006
Location: Luxembourg
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #2 (permalink)  
Old 09-23-2006, 01:28 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
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.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 09-23-2006, 01:44 PM
Dikkenek's Avatar
New Pligger
 
Join Date: Sep 2006
Location: Luxembourg
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4 (permalink)  
Old 09-23-2006, 01:54 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
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
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #5 (permalink)  
Old 09-24-2006, 04:07 AM
Dikkenek's Avatar
New Pligger
 
Join Date: Sep 2006
Location: Luxembourg
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #6 (permalink)  
Old 09-24-2006, 10:45 AM
Dikkenek's Avatar
New Pligger
 
Join Date: Sep 2006
Location: Luxembourg
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
i uploaded the files on my server and it worked.
smiles
Reply With Quote
  #7 (permalink)  
Old 09-24-2006, 10:46 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Glad it works.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #8 (permalink)  
Old 10-20-2006, 04:56 PM
New Pligger
 
Join Date: Sep 2006
Posts: 2
Thanks: 4
Thanked 0 Times in 0 Posts
Exclamation Also getting undefined variable error during install

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

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


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
Reply With Quote
  #9 (permalink)  
Old 10-26-2006, 11:36 AM
New Pligger
 
Join Date: Sep 2006
Posts: 2
Thanks: 4
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #10 (permalink)  
Old 10-26-2006, 01:26 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
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.
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Search Engine Friendly URLs by vBSEO 3.2.0