Page 1 of 1

No Installer

PostPosted: 10:06pm, Thu 17 Jul, 2014
by KyleHarrison
Reading the guide:

What might happen
1. Red lines of warnings about Error 1146 database table does not exist. That's what you want to see! Now go to mydomain.com/lists/admin/ and click the initialise database link.

That click takes you to the first install page and your database is initialised. Now click the main page or configure link on the right hand side, this takes you to the log into admin page, (log in default is admin and (p/w) phplist). Once on the main admin page, you can setup and configure (link) phpList as you require.



The problem is, when I go to /lists/admin, well..

Code: Select all
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist
Database error 1146 while doing query Table 'mailinglist.phplist_config' doesn't exist


with a login form, that doesn't do anything;


Server is powered by Nginx on Ubuntu Server 14.04LTS, MySQL 5.5.37, PHP 5.5.9
The nginx server definition is pointing to the public_html, and the admin is accessed via '/lists/admin'

Did everything the guide said. config.php is edited with the correct connection settings, and is for all intents and purposes ready to go.


It just doesn't recognize that it's not installed yet. Therefore I am never presented with the proposed Initialize Database Link.

Re: No Installer

PostPosted: 7:17am, Thu 07 Aug, 2014
by igabc
Anybody?

Re: No Installer

PostPosted: 1:21pm, Sun 02 Nov, 2014
by monomatic
I have exactly this problem - I have tried to set up phpList several times on CentOS 6.5 without success (it did work fine on CentOS7, but I had difficulty with php-imap and I'd like to run 6.5 anyway).

When accessing /list/admin/ I get a page with phplist header, 'logout' button (I am not logged in), and the rest 'blank' and populated with several "Database error 1146 while doing query Table 'teg_phplist.phplist_config' doesn't exist" messages.

My configuration is correct, have only changed DB details. PHPLint show no syntax errors in config file. Server configuration:
CentOS 6.5 (on Linode)
Apache 2.2.15-39.el6.centos
PHP 5.3.3-40.el6_6 (running apache mod, with php-imap)
MySQL 5.1.73-3.el6_5
PHPList 3.0.10

My access_log shows that /lists/admin/ returns a 500 (as do devtools/firebug), but my error_log does not show anything. Changing "$er = error_reporting(0);" to "$er = error_reporting(E_ALL);" in /lists/admin/index.php does not give me errors in the logs.

There are a number of topics in the forum where people are having (what sounds like) this problem - setup as described in the docs, hit /lists/admin/ to get the installer but nothing happens, database won't initialize, etc. In most of these cases it sounds as if the OP has followed everything perfectly, the responses (quite rightly) try to address possible configuration issues, but I think perhaps it should be considered that there is something amiss in the phpList setup process.

I'm going to try an older version of PHPlist next, but if anyone has any thoughts I think it would help many people.

Thanks.

Re: No Installer

PostPosted: 1:23pm, Mon 09 Mar, 2015
by murphy
I have exactly the same problem on version 3.0.12.
Lots of error messages, and no "web-based installer will walk me through the rest."...

Anyone have a solution? (or alternative to phplist?)

Re: No Installer

PostPosted: 3:10pm, Mon 09 Mar, 2015
by Dragonrider
There isn't " a web based" installer as such. You upload it and set up the config/config.php file as described in the config.php file itself, or by following the docs, but it is a manual install.

The only web-based installers are those that come with servers that include Fantastico or Softicious and the like.

Why you would be getting error 500 messages on version 3.0.12 and the like is unusual as the cause of these errors were due to a couple of lines in the .htaccess file starting php_flag...

These are still there but normally disabled (ie: they are prefixed with a Hash '#' ) as previously most servers allow such php_flag's nowadays they don't, to use them you'd need to create a php.ini file containing line such as these.

Code: Select all
upload_max_filesize 3M
post_max_size 4M


However, be aware that some hosts refuse you the right to create or edit a php.ini file anyway.

Normally once you have manually edited the lists/config/config.php file with your database settings you should be able to initalise your database. If you are using a different directory to install your phplist, for example, phplist instead of lists, you need to add this line to your config.php file

Code: Select all
$pageroot="/phplist";

Re: No Installer

PostPosted: 3:10pm, Wed 11 Mar, 2015
by Dragonrider
Possibly same issue as on Centos?

Re: No Installer

PostPosted: 7:48pm, Sun 22 Mar, 2015
by synthesis
i had the same issue above a long time ago (since upgrade from 3.0.6).
Finally i solve it.. (i hope at least)

i replaced the following line in /admin/index.php
Code: Select all
if (!$ajax) {
  print '<h4 class="pagetitle">'.mb_strtolower($page_title).'</h4>';
}


with this (taken from index.php v.3.0.6.)

Code: Select all
if (!$ajax) {
  print '<h4 class="pagetitle">'.strtolower($page_title).'</h4>';
}


admin login page etc. after that appeared.
hope it helps.