Go Back   Pligg Forum > Pligg Help > Installation and Upgrade Help
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-01-2007, 05:38 AM
phlexus phlexus is offline
New Pligger
 
Join Date: Oct 2006
Posts: 14
Downloads: 3
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Error: You may have typed the template name wrong or it does not exist.

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
Sponsored Links
Check out the New Modules at the Pligg Pro Shop.
  #2 (permalink)  
Old 06-01-2007, 06:37 AM
phlexus phlexus is offline
New Pligger
 
Join Date: Oct 2006
Posts: 14
Downloads: 3
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
update

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, 12:42 AM
AshDigg's Avatar
AshDigg AshDigg is offline
Mayor of PliggVille
 
Join Date: Dec 2005
Posts: 1,623
Downloads: 34
Uploads: 10
Thanks: 237
Thanked 346 Times in 207 Posts
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.
__________________
- Ash
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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
help:You may have typed the template name wrong or it does not exist llmsn Installation and Upgrade Help 4 03-17-2008 07:31 PM
template name wrong or it does not exist. Click here to fix it. pagetronic General Help 22 02-14-2008 02:01 PM
Error: You may have typed the template name wrong or it does not exist. Click here to hantianyu Installation and Upgrade Help 4 03-18-2007 09:22 AM
Internal Server Error wagthis Bug Report 12 01-16-2007 04:20 PM
How to make / change a template in Pligg Beta 7 jimbeam General Help 0 12-05-2006 12:19 PM


LinkBacks Enabled by vBSEO 3.0.0