HTTP ERROR 500 or white screen on Installation issue

Nenad Radoja Posted in Technical Support 8 years ago

Hallo all. I have an issue with ossn installation. I can install it with no problem on xamp on local machine, but when I try to install it on VPS I am always failing on third step with HTTP ERROR 500 or simply white screen.

However, I meet all requirements, and have no idea what can go wrong. Here is some warning and notices from error log:

[Thu Aug 11 12:51:30.186481 2016] [:error] [pid 31651] [client 89.216.119.105:42139] PHP Fatal error: Uncaught exception 'OssnDatabaseException' with message 'Table 'ossn.ossnsitesettings' doesn't exist
SELECT * FROM ossnsitesettings ; ' in /home/inerquest/www/public_html/classes/OssnDatabase.php:77
Stack trace:

0 /home/inerquest/www/public_html/classes/OssnDatabase.php(175): OssnDatabase->execute()

1 /home/inerquest/www/public_html/classes/OssnSite.php(35): OssnDatabase->select(Array, true)

2 /home/inerquest/www/public_html/libraries/ossn.lib.system.php(29): OssnSite->getAllSettings()

3 /home/inerquest/www/publichtml/system/start.php(41): includeonce('/home/inerquest...')

4 /home/inerquest/www/publichtml/index.php(11): requireonce('/home/inerquest...')

5 {main}

thrown in /home/inerquest/www/publichtml/classes/OssnDatabase.php on line 77
[Thu Aug 11 12:59:50.959616 2016] [:error] [pid 31659] [client 89.216.119.105:44072] PHP Notice: A session had already been started - ignoring session
start() in /home/inerquest/www/publichtml/system/start.php on line 11, referer: http://www.inerquest.com/installation/?page=settings
[Thu Aug 11 13:00:33.344421 2016] [:error] [pid 31650] [client 89.216.119.105:44270] PHP Notice: A session had already been started - ignoring session
start() in /home/inerquest/www/publichtml/system/start.php on line 11
[Thu Aug 11 13:11:42.424594 2016] [:error] [pid 31649] [client 180.76.15.147:35741] PHP Warning: mysqli::mysqli(): (42000/1049): Unknown database 'ossn' in /home/inerquest/www/public
html/classes/OssnDatabase.php on line 20
[Thu Aug 11 13:11:42.424646 2016] [:error] [pid 31649] [client 180.76.15.147:35741] PHP Fatal error: Call to a member function setcharset() on boolean in /home/inerquest/www/publichtml/classes/OssnDatabase.php on line 73
[Thu Aug 11 13:31:47.929836 2016] [:error] [pid 31649] [client 89.216.119.105:51565] PHP Warning: fileputcontents(/home/inerquest/www/publichtml/.htaccess): failed to open stream: Permission denied in /home/inerquest/www/publichtml/installation/libraries/ossn.install.php on line 232
[Thu Aug 11 13:31:48.183807 2016] [:error] [pid 31779] [client 144.76.69.99:33154] script '/home/inerquest/www/publichtml/rewrite.php' not found or unable to stat
[Thu Aug 11 13:34:55.696770 2016] [:error] [pid 31778] [client 89.216.119.105:52454] PHP Warning: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on '144.76.69.99' (111) in /home/inerquest/www/public
html/installation/classes/OssnInstall.php on line 291, referer: http://www.inerquest.com/installation/?page=settings
[Thu Aug 11 13:34:55.696808 2016] [:error] [pid 31778] [client 89.216.119.105:52454] PHP Warning: Creating default object from empty value in /home/inerquest/www/publichtml/installation/classes/OssnInstall.php on line 293, referer: http://www.inerquest.com/installation/?page=settings
[Thu Aug 11 13:35:56.326007 2016] [:error] [pid 31551] [client 89.216.119.105:52593] PHP Notice: A session had already been started - ignoring session
start() in /home/inerquest/www/publichtml/system/start.php on line 11, referer: http://www.inerquest.com/installation/?page=settings
[Thu Aug 11 13:36:57.158365 2016] [:error] [pid 31489] [client 89.216.119.105:52724] PHP Notice: A session had already been started - ignoring session
start() in /home/inerquest/www/public_html/system/start.php on line 11

This is log from last few times I tried to install.

I'll be very appreciate on any help or advice.

N

Replies
German Michael Zülsdorff Replied 7 years ago
  1. Ossn never had a class named ossnBase - the correct class name is OssnBase
  2. Ossn has no file named ossnDatabase.php - the correct filename is OssnDatabase.php
  3. the class OssnBase is referenced on line 12 of OssnDatabase.php - not on line 8

Unzip the Ossn 4.6 installation package on your local PC and compare to the files on your server.
It very much looks like a corrupted installation.

us Yode Henry Replied 7 years ago

PHP Fatal error: Class 'ossnBase' not found in /home/public_html/ossn.com/classes/ossnDatabase.php on line 8

The Database was created but it will not create the Account part
http://ossn.com/installation/?page=account Blank page always but the Database was populated so what am I doing wrong? I have 11 tables created for me by this installation what am I doing wrong
Please I need Help

rs Nenad Radoja Replied 8 years ago

It looks like php mcrypt was missing. I install it and everything now works perfect.
Thanks for support.

Regards

Indonesian Arsalan Shah Replied 8 years ago

The error also indicates that unable to connect to database. Did you installed curl, php mcrypt and php openssl ?

rs Nenad Radoja Replied 8 years ago

Thanks Arsalan for your fast response.

I am trying to install new fresh copy of ossn so my database is empty on beginning of installation process. I suppose that during the installation script should populate database tables and other data that I am inserting during install. So, I am not importing anything. Please, let me know if I am missing something.

Thanks.

Indonesian Arsalan Shah Replied 8 years ago

The error mean the database is incomplete make sure you imported database correctly.