Error: You may have typed the template name wrong or it does not exist.

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-01-2007, 07:38 AM
New Pligger
 
Join Date: Oct 2006
Posts: 14
After install:

Creating database tables...
Creating table: 'categories'...
Creating table: 'comments'...
Creating table: 'friends'...
Creating table: 'links'...
Creating table: 'trackbacks'...
Creating table: 'users'...
Creating table: 'tags'...
Creating table: 'votes'...
Creating table: 'pageviews'....
Creating table: 'config'....
Creating table: 'messages'....
Creating table: 'modules'....
Creating table: 'formulas'....
Creating table: 'Saved Links'....
Creating table: 'Misc Data'....
Creating table: 'Totals'....
Creating 'god' user...
Inserting default categories...
Inserting default modules...
Inserting default formulas...
Inserting default 'totals' data...
Inserting default 'config' data...

Tables were created successfully!

Error: You may have typed the template name wrong or it does not exist. Click here to fix it.

Error: You may have typed the template name wrong or it does not exist. Click here to fix it.

Please fix the above error(s), install halted!



Ok, seems that the template isn't being set. When clicking 'Click here to fix it' you're taken to the admin_config.php page, but this one is completely empty. No output whatsoever.

Anywayz, as the template name isn't being set, I added
Code:
else {
	$thetemp = "yget";
}
after
Code:
if(isset($_COOKIE['template'])){
	$thetemp = $_COOKIE['template'];
}
.

This seems to fix it. you get:

Pligg appears to have installed successfully!

Things to do next:

* chmod "../libs/dbconnect.php" back to 644, we will not need to change this file again.
* DELETE the "./install" directory from your server once you have successfully installed Pligg.
* Login to the admin area (default username: god; default password: 12345)
* Change your password from the default password.
* Configure your installation using the admin area.
* Visit the Pligg Forums if you have any questions.


Looks ok right? Then you go to index.php (or admin_index.php), then you get this error:

Error. The table_prefixconfig table is empty or does not exist

Ok, so the prefix isn't being set. Strange, because it's defined in settings.php.

So changed
Code:
if(!defined("table_prefix")){ define("table_prefix", "pligg_"); }
to
Code:
define("table_prefix", "pligg_");
But then you get a total blank page. NO output. I'm puzzled. What is also strange is that the original settings.ph has 5 lines of code, but after install it only has 1 (include_once mnminclude."settings_from_db.php", so you have to add the other lines by hand.

Would really like to get this to work. Starting to wonder if it's serverconfig.

PHP: 4.3.10
MySQL: 3.23.58
Reply With Quote
  #2 (permalink)  
Old 06-01-2007, 08:37 AM
New Pligger
 
Join Date: Oct 2006
Posts: 14
Ok, most of it seems to be working, but I had to set '$URLMethod' in settings_from_db.php manually.

Also, i'm getting this error:
Warning: Division by zero in /home/httpd/vhosts/shopalize.nl/httpdocs/libs/html1.php on line 210

Looking into that.
Reply With Quote
  #3 (permalink)  
Old 06-02-2007, 02:42 AM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
Check your _config table to see if there are any records in it. If not, download this new installtables.php (right click - save as) file and upload it into your install folder, and run the install again.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Index.php won't open to install nigelnix Questions and Comments 5 02-18-2010 05:59 PM
help:You may have typed the template name wrong or it does not exist llmsn Questions and Comments 8 10-28-2008 12:41 AM
Error: You may have typed the template name wrong or it does not exist. Click here to hantianyu Questions and Comments 4 03-18-2007 11:22 AM
Internal Server Error wagthis Questions and Comments 12 01-16-2007 06:20 PM


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