Codoforum related discussions
XAMPP Apache crash

I just installed Codoforum on my local machine. I'm running Windows 7 64bit with Xampp 1.8.1.
The installation went fine and using the admin panel works, but whenever I try to load the frontend my Apache crashes.

Apache HTTP Server has stopped working

Any ideas?

I just installed Codoforum on my local machine. I'm running Windows 7 64bit with Xampp 1.8.1. The installation went fine and using the admin panel works, but whenever I try to load the frontend my Apache crashes. > Apache HTTP Server has stopped working Any ideas?

Little update. When I comment out line 858 in routes.php,
Request::start(), Apache doesn't crash. But the screen stays blank also.

So where to go from here?

Little update. When I comment out line **858** in _routes.php_, ```` Request::start() ````, Apache doesn't crash. But the screen stays blank also. So where to go from here?

Hi,

Can you check your server error logs for any errors related to codoforum?

Hi, Can you check your server error logs for any errors related to codoforum?

Here's an outtake from my PHP error log. I tried reinstalling Codoforum and these errors were from during the installation judging from the timestamps.

[14-Jul-2015 18:43:19 UTC] PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.codo_sessions' doesn't exist' in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php:36
Stack trace:
#0 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(36): PDO->query('DELETE FROM cod...')
#1 [internal function]: CODOF\Session\Session->open('D:\xampp\tmp', 'PHPSESSID')
#2 D:\xampp\htdocs\codoforum\sys\CODOF\Util.php(84): session_start()
#3 D:\xampp\htdocs\codoforum\sys\load.php(64): CODOF\Util::start_session()
#4 D:\xampp\htdocs\codoforum\index.php(19): require('D:\xampp\htdocs...')
#5 {main}
  thrown in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php on line 36

[14-Jul-2015 18:43:19 UTC] PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.codo_sessions' doesn't exist' in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php:57
Stack trace:
#0 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(57): PDO->prepare('SELECT session_...')
#1 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(76): CODOF\Session\Session->read('42esq2dpen2cd2i...')
#2 [internal function]: CODOF\Session\Session->write('42esq2dpen2cd2i...', '')
#3 [internal function]: session_write_close()
#4 {main}
  thrown in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php on line 57

[14-Jul-2015 18:43:19 UTC] PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.codo_sessions' doesn't exist' in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php:36
Stack trace:
#0 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(36): PDO->query('DELETE FROM cod...')
#1 [internal function]: CODOF\Session\Session->open('D:\xampp\tmp', 'PHPSESSID')
#2 D:\xampp\htdocs\codoforum\sys\CODOF\Util.php(84): session_start()
#3 D:\xampp\htdocs\codoforum\sys\load.php(64): CODOF\Util::start_session()
#4 D:\xampp\htdocs\codoforum\index.php(19): require('D:\xampp\htdocs...')
#5 {main}
  thrown in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php on line 36

[14-Jul-2015 18:43:19 UTC] PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.codo_sessions' doesn't exist' in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php:57
Stack trace:
#0 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(57): PDO->prepare('SELECT session_...')
#1 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(76): CODOF\Session\Session->read('4i1pqhdf6t772up...')
#2 [internal function]: CODOF\Session\Session->write('4i1pqhdf6t772up...', '')
#3 [internal function]: session_write_close()
#4 {main}
  thrown in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php on line 57

It seems like it tries to use database 'test', while my database name is 'codoforum'. The database exists and is set in sites/default/config.php.

Here's an outtake from my PHP error log. I tried reinstalling Codoforum and these errors were from during the installation judging from the timestamps. ```` [14-Jul-2015 18:43:19 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.codo_sessions' doesn't exist' in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php:36 Stack trace: #0 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(36): PDO->query('DELETE FROM cod...') #1 [internal function]: CODOF\Session\Session->open('D:\xampp\tmp', 'PHPSESSID') #2 D:\xampp\htdocs\codoforum\sys\CODOF\Util.php(84): session_start() #3 D:\xampp\htdocs\codoforum\sys\load.php(64): CODOF\Util::start_session() #4 D:\xampp\htdocs\codoforum\index.php(19): require('D:\xampp\htdocs...') #5 {main} thrown in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php on line 36 [14-Jul-2015 18:43:19 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.codo_sessions' doesn't exist' in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php:57 Stack trace: #0 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(57): PDO->prepare('SELECT session_...') #1 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(76): CODOF\Session\Session->read('42esq2dpen2cd2i...') #2 [internal function]: CODOF\Session\Session->write('42esq2dpen2cd2i...', '') #3 [internal function]: session_write_close() #4 {main} thrown in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php on line 57 [14-Jul-2015 18:43:19 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.codo_sessions' doesn't exist' in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php:36 Stack trace: #0 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(36): PDO->query('DELETE FROM cod...') #1 [internal function]: CODOF\Session\Session->open('D:\xampp\tmp', 'PHPSESSID') #2 D:\xampp\htdocs\codoforum\sys\CODOF\Util.php(84): session_start() #3 D:\xampp\htdocs\codoforum\sys\load.php(64): CODOF\Util::start_session() #4 D:\xampp\htdocs\codoforum\index.php(19): require('D:\xampp\htdocs...') #5 {main} thrown in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php on line 36 [14-Jul-2015 18:43:19 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.codo_sessions' doesn't exist' in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php:57 Stack trace: #0 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(57): PDO->prepare('SELECT session_...') #1 D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php(76): CODOF\Session\Session->read('4i1pqhdf6t772up...') #2 [internal function]: CODOF\Session\Session->write('4i1pqhdf6t772up...', '') #3 [internal function]: session_write_close() #4 {main} thrown in D:\xampp\htdocs\codoforum\sys\CODOF\Session\Session.php on line 57 ```` It seems like it tries to use database 'test', while my database name is 'codoforum'. The database exists and is set in sites/default/config.php.
edited Jul 15 '15 at 6:50 pm

Hi,

Can you check again if the database is really 'codoforum' in sites/default/config.php ?

It looks like the database is set as 'test' in the config.php file .

Hi, Can you check again if the database is really 'codoforum' in sites/default/config.php ? It looks like the database is set as 'test' in the config.php file .

Here is the literal config array.

$config = array (
  'driver' => 'mysql',
  'host' => 'localhost',
  'database' => 'codoforum',
  'username' => 'root',
  'password' => '',
  'prefix' => '',
  'charset' => 'utf8',
  'collation' => 'utf8_unicode_ci',
);
Here is the literal config array. ```` $config = array ( 'driver' => 'mysql', 'host' => 'localhost', 'database' => 'codoforum', 'username' => 'root', 'password' => '', 'prefix' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', ); ````
717
6
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft