nothing happens after running install-script (General)

by peter.n @, Friday, December 25, 2009, 15:21 (5251 days ago)

Hello everybody

I've tried to install my little forum a few times, but I can't get it working.

After uploading all files I changed the file-permissions as told in the instructions. Next I went to my plesk-account and created the required database. Then I started the install script, but all I get is a blank page.

I'm not sure, if my webspace is not able to run my little forum. This is what I got:
(bighosting, switzerland)

Unix apache hosted, PHP5 with MySQL5 databases, phpMyAdmin, cgi-bin directories, Perl, FTP Access.

I'd be really glad if someone could help me with this...

Thanx

nothing happens after running install-script

by Auge, Saturday, December 26, 2009, 21:48 (5250 days ago) @ peter.n

Hello

After uploading all files I changed the file-permissions as told in the instructions. Next I went to my plesk-account and created the required database. Then I started the install script, but all I get is a blank page.

You got the blank page if you call the install.php? Over the years some peaole had similar problems (or, to be exact: they made the same experiences).

First questions:
All directories and files are submitted to the webserver? All directories (except templates_c, wich should have 0775) have the rights 0755? All files have the rights 0644 (except db_settings.php in config wich should have 0777 during the install process)?

Filezilla lists the permissions (rights) as following:

  • 0755: drwxr-xr-x
  • 0775: drwxrwxr-x
  • 0644: -rw-r--r--
  • 0777: -rwxrwxrwx

I'm not sure, if my webspace is not able to run my little forum. This is what I got:
(bighosting, switzerland)

Unix apache hosted, PHP5 with MySQL5 databases, phpMyAdmin, cgi-bin directories, Perl, FTP Access.

Your Webspace should definetly be able to run mlf2.

Tschö, Auge

thanks, but it's still not working...

by peter.n @, Sunday, December 27, 2009, 22:00 (5249 days ago) @ Auge

Hey Auge, thanks for your help. I keep on writing in English, hoping more people will be able to help me with this.

I just tried again. This is exactly what I did:

1. downloaded my little forum again, unzipped it
2. uploaded all files to /forum using Filezilla
3. set all folders/subfolders to 755
4. set all files to 644
5. set templates_c to 775
6. set db_settings.php in config to 777
7. opened /forum/install
8. entered all required information
9. started the script
10. got these error-messages:

Fehler!

* SQL-Fehler (MySQL: Table 'mlf2_banlists' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_categories' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_entries' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_settings' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_smilies' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_userdata' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_pages' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_useronline' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_logincontrol' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_entries_cache' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_userdata_cache' already exists)
* SQL-Fehler (MySQL: Duplicate entry '1' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '2' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '3' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '4' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '5' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '6' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '1' for key 1)

11. opened Plesk Panel 9.2 in new tab
12. deleted mysql-database
13. created new database
14. went back to old tab, entered new mysql-information and started the script again
15. ended up seeing a blank page again...

Now it doesn't matter if I go to /forum/install or just to /forum, all I get is a blank page. The script seems to be doing something, but I guess it never gets to the end.

Thanx again!

thanks, but it's still not working...

by Auge, Monday, December 28, 2009, 06:08 (5248 days ago) @ peter.n
edited by Auge, Monday, December 28, 2009, 06:24

Hello

I just tried again. This is exactly what I did:

1. downloaded my little forum again, unzipped it
2. uploaded all files to /forum using Filezilla
3. set all folders/subfolders to 755
4. set all files to 644
5. set templates_c to 775
6. set db_settings.php in config to 777
7. opened /forum/install
8. entered all required information
9. started the script

So far, so good.

10. got these error-messages:

Fehler!

* SQL-Fehler (MySQL: Table 'mlf2_banlists' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_categories' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_entries' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_settings' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_smilies' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_userdata' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_pages' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_useronline' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_logincontrol' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_entries_cache' already exists)
* SQL-Fehler (MySQL: Table 'mlf2_userdata_cache' already exists)
* SQL-Fehler (MySQL: Duplicate entry '1' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '2' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '3' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '4' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '5' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '6' for key 1)
* SQL-Fehler (MySQL: Duplicate entry '1' for key 1)

Ok, The script does it's job during the first installation.

11. opened Plesk Panel 9.2 in new tab
12. deleted mysql-database
13. created new database
14. went back to old tab, entered new mysql-information and started the script again
15. ended up seeing a blank page again...

The database tables will be created. Maybe there is another error wich causes the trouble.

Please enter the following code to the first lines of the install/index.php right after the comment block with the copyright information.

ini_set('display_errors', 1);
error_reporting(E_ALL);

If there is any PHP error, it should be shown at the screen.

Tschö, Auge

still blank page

by peter.n @, Monday, December 28, 2009, 09:29 (5248 days ago) @ Auge

Moin Auge

Please enter the following code to the first lines of the install/index.php right after the comment block with the copyright information.

ini_set('display_errors', 1);
error_reporting(E_ALL);

If there is any PHP error, it should be shown at the screen.

1. I downloaded install/index.php
2. I added the two lines
3. I upped it again
4. If I try to open /forum/install/index.php I get redirected to /forum
5. /forum is a blank page

Thanx again for helping me!!
Ich hoffe, du hattest schöne Festtage...!

Gruss
Peter

still blank page

by Auge, Monday, December 28, 2009, 18:41 (5248 days ago) @ peter.n

Hello Peter

1. I downloaded install/index.php
2. I added the two lines
3. I upped it again
4. If I try to open /forum/install/index.php I get redirected to /forum

You deinstalled the forum before you did this? The install script looks for the existence of the settings table in the database (forum/install/index.php, line 59 and following) to decide if the forum is already installed or not. If it is, you will be redirected to forum/ (like noticed).

Ich hoffe, du hattest schöne Festtage...!

Als Atheist ist das für mich nicht so spannend, aber die Hoffnung gilt natürlich auch allen anderen. :-)

Tschö, Auge

still blank page

by kees, Saturday, January 02, 2010, 15:36 (5243 days ago) @ Auge

Had the same problem

subdirectory templates_c (CHMOD 777)did the trick to me to show up the forum

really did the trick!

by peter.n, Monday, January 04, 2010, 13:35 (5241 days ago) @ kees

Had the same problem

subdirectory templates_c (CHMOD 777)did the trick to me to show up the forum

its working now - thanx for your help! Maybe the install-instructions should be updated...

Avatar

really did the trick!

by Alex ⌂, Monday, January 04, 2010, 15:12 (5241 days ago) @ peter.n

Maybe the install-instructions should be updated...

Documentation / Installation:

Depending on your server configuration the write permissions of the subdirectory templates_c (CHMOD 770/775) and the file config/db_settings.php (CHMOD 666) might need to be changed in order that they are writable by the script

Something similar is also displayed before running the installation process.

Alex

really did the trick!

by peter.n, Tuesday, January 12, 2010, 21:43 (5233 days ago) @ Alex

yes, and I followed all instructions, but

templates_c (CHMOD 770/775)

didn't work at all, only 777 (not mentioned during install) did the trick.

But now I'm stuck with the next problem: I set the registration to "only by admin" and sent access-information to two test-users, but they never received any mail... Any ideas on this?

Thanx.

Avatar

really did the trick!

by Auge ⌂, Wednesday, January 13, 2010, 16:02 (5232 days ago) @ peter.n

Hello

But now I'm stuck with the next problem: I set the registration to "only by admin" and sent access-information to two test-users, but they never received any mail... Any ideas on this?

Do you test your forum on a public server or on a local server at home? The forum uses the PHP function mail wich gives an email to the email server that is declared in the php.ini. If there is no or a not reachable emailserver declared, the email will not be sended.

You can use the function phpinfo that gives you various information i.e. these from the php.ini to clarify the state for sending emails.

Tschö, Auge

Avatar

really did the trick!

by Alex ⌂, Wednesday, January 13, 2010, 17:00 (5232 days ago) @ peter.n

didn't work at all, only 777 (not mentioned during install) did the trick.

OK, I'll add this!

But now I'm stuck with the next problem: I set the registration to "only by admin" and sent access-information to two test-users, but they never received any mail... Any ideas on this?

See FAQ.

Alex

RSS Feed of thread