Install problems - Some tables created

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-23-2007, 09:01 PM
New Pligger
 
Join Date: Feb 2007
Posts: 5
I've been looking at other messages and seen other thinks like this, but so far none of the other fixes have worked.

When the tables get created, the page says they all were - but all tables after "links" are not created (verified on the DB, and get errors when the page comes up).

The actual error is the default on the link_field10-15. I'm not a MySQL guy - If I just change the fields from test to varchar(255), all tables DO get created - but I have no idea what that might be doing, downstream. I *DO* have Type=MyISAM on it (Saw that suggestion in another post - I download tonight, so guess that's been changed).

After doing the above mod and creating, I am able to get to the site, but with some various PHP warnings (see below). The probom now is I'm able to log in.. but then it doesn't work. That is, it takes the login (and DOES error if I put in a incorrect password) but then it doesn't appear I'm logged in. Doing Submit New Story just kicks me back to login.

If I create a new user, it looks like I'm logged in (goes to my personal info)... but if I click submit, asks to login again.

So 1) What's the correct fix for the DB create script and 2) Any idea why login isn't working?

I download PHP, MySql, and Pligg this evening (have the latest version). I am currently running on my dev box, which has IIS (and will be targeting it on Windows Server 2003).
Thanks!

(some of the warnings at the bottom of the web page):

PHP Notice: Undefined index: REQUEST_URI in C:\site\pligg\web\libs\smartyvariables.php on line 13 PHP Notice: Undefined index: REQUEST_URI in C:\site\pligg\web\libs\html1.php on line 577 PHP Notice: Undefined index: pretitle in C:\site\pligg\web\templates_c\c_367ca16afe9353a437 8d42ef827135ad.php on line 103 PHP Notice: Undefined index: body_args in C:\site\pligg\web\templates_c\c_367ca16afe9353a437 8d42ef827135ad.php on line 115 PHP Notice: Undefined index: search in C:\site\pligg\web\templates_c\c_630bba0e7a33cb7172 d3f046a8196ad5.php on line 6 PHP Notice: Undefined index: link2 in C:\site\pligg\web\templates_c\c_630bba0e7a33cb7172 d3f046a8196ad5.php on line 126 PHP Notice: Undefined index: text2 in C:\site\pligg\web\templates_c\c_630bba0e7a33cb7172 d3f046a8196ad5.php on line 128 PHP Notice: Undefined index: link3 in
Reply With Quote
  #2 (permalink)  
Old 02-23-2007, 09:21 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
We have never been able to fully test Pligg on IIS so I think it's most likely your problem. I know there are a few people on the forum who were able to do it. There are a few threads about it too.
Reply With Quote
  #3 (permalink)  
Old 02-23-2007, 09:22 PM
New Pligger
 
Join Date: Feb 2007
Posts: 5
Tried using the info here, for IIS: http://www.pligg.com/forum/showthread.php?t=1287

But am now getting:

PHP Fatal error: TPL: [in line 0]: syntax error: file 'yget/generic_main.tpl' does not exist in C:\ratajik\pligg\web\class.template.php on line 898

And
PLIGG_Visual_Login_Error
PHP Notice: Undefined index: persistent in C:\ratajik\pligg\web\login.php on line 32 PHP Notice: Trying to get property of non-object in C:\ratajik\pligg\web\libs\login.php on line 71 PHP Notice: Trying to get property of non-object in C:\ratajik\pligg\web\libs\login.php on line 73 PHP Notice: Use of undefined constant PLIGG_Visual_Login_Error - assumed 'PLIGG_Visual_Login_Error' in C:\ratajik\pligg\web\login.php on line 34 PHP Fatal error: TPL: [in line 0]: syntax error: file 'yget/generic_main.tpl' does not exist in C:\ratajik\pligg\web\class.template.php on line 898

(I assume the new login php's were old, and broke it even more...?)
Reply With Quote
  #4 (permalink)  
Old 02-23-2007, 09:41 PM
New Pligger
 
Join Date: Feb 2007
Posts: 5
I started a new thread specific to IIS (http://www.pligg.com/forum/showthrea...0102#post20102)

Any ideas on the DB create? I started from scratch and just removed the default - do text fields allow defaults in MySQL?

Thanks
Reply With Quote
  #5 (permalink)  
Old 02-27-2007, 01:12 PM
New Pligger
 
Join Date: Feb 2007
Posts: 4
Quote:
Originally Posted by ward99 View Post
I started a new thread specific to IIS (http://www.pligg.com/forum/showthrea...0102#post20102)

Any ideas on the DB create? I started from scratch and just removed the default - do text fields allow defaults in MySQL?
I have one idea. Open file "install/installtables.php" and replace strings

Code:
  `link_field10` text NOT NULL default '',
  `link_field11` text NOT NULL default '',
  `link_field12` text NOT NULL default '',
  `link_field13` text NOT NULL default '',
  `link_field14` text NOT NULL default '',
  `link_field15` text NOT NULL default '',
with strings

Code:
  `link_field10` text NOT NULL,
  `link_field11` text NOT NULL,
  `link_field12` text NOT NULL,
  `link_field13` text NOT NULL,
  `link_field14` text NOT NULL,
  `link_field15` text NOT NULL,
Then try to install Pligg.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS 6.0 W2K3 & Pligg 9.9.5 - Install (Step by Step) yfki Questions and Comments 2 01-12-2009 02:01 AM
Problems with blank page on install of beta 9 VernonK Questions and Comments 6 01-18-2007 01:08 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development