Author Topic: Can't install - 500 Internal Server Error  (Read 14317 times)

JungMin

  • Newbie
  • *
  • Posts: 5
    • View Profile
Can't install - 500 Internal Server Error
« on: October 09, 2008, 09:24:17 am »
I know i just haven't done something properly, but I can't even begin to get opengoo to install.  XAMPP is installed and working properly (i think anyways).  I have a website up and running and EyeOS also.  But I want to give this a go for a bit.

I can't even start the installation process.  If I point my browser at any index.php file in the opengoo folder, I get the '500 Internal Server Error'.

I have the newest release of XAMPP for Mac OS X 0.7.4 installed on Leopard OSX 10.5.4.

I'm sure there is some easy explanation as to what I am doing wrong, but I can't figure it out.

Any ideas??
Cheers.
« Last Edit: October 09, 2008, 09:26:12 am by JungMin »

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Can't install - 500 Internal Server Error
« Reply #1 on: October 09, 2008, 02:35:20 pm »
Any "special" configuration in any relevant .htaccess file ?

xtender

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Can't install - 500 Internal Server Error
« Reply #2 on: October 10, 2008, 04:54:15 am »
Set "memory_limit=32" in php.ini

JungMin

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Can't install - 500 Internal Server Error
« Reply #3 on: October 10, 2008, 10:45:00 am »
Any "special" configuration in any relevant .htaccess file ?

No, but there was a .htaccess file in the ~/opengoo.  So I deleted it and it worked straight away.  Maybe deleting it was a bad idea??

Now I get to the login screen, but after logging in I just get a blank page.  http://xxx.com/opengoo/index.php?c=dashboard&a=index

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Can't install - 500 Internal Server Error
« Reply #4 on: October 10, 2008, 04:36:45 pm »
Deleting htaccess should be no problem.
Set debug mode to true in opengoo/config/config.php
And let us know more. ..
Marcos

JungMin

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Can't install - 500 Internal Server Error
« Reply #5 on: October 12, 2008, 09:53:26 am »
Looks like its running out of memory...

Code: [Select]
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19456 bytes) in /Applications/xampp/xamppfiles/htdocs/opengoo/application/models/project_tasks/ProjectTask.class.php on line 1044
I changed the memory limit in php.ini to 16M and it seems to work now (should that be enough??).  I have only added a new user so far, but thats much further than the blank screen!!! 

Thanks for the point in the right direction.  Lots to learn with the sort of stuff!!!  :)

EDIT:  Maybe I should start a new thread, not sure....

I tried to save a new word document, but it didnt seem to work.  I tried to upload a document but no luck there either.  One of the posts here suggested switching from FileSystem to Database file management.  I did that, but now when I try and login, i get this big ol' message....

Code: [Select]
Query failed with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND show_in_parents = 1) ORDER BY updated_on DESC LIMIT 0, 5' at line 1'
Error params:
File: /Applications/xampp/xamppfiles/htdocs/opengoo/environment/library/database/adapters/AbstractDBAdapter.class.php
Line: 371
Sql: SELECT * FROM `opg_project_charts` WHERE (project_id in () AND show_in_parents = 1) ORDER BY updated_on DESC LIMIT 0, 5
Error number: 1064
Error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND show_in_parents = 1) ORDER BY updated_on DESC LIMIT 0, 5' at line 1
Backtrace:
#0 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/library/database/adapters/AbstractDBAdapter.class.php(289): AbstractDBAdapter->prepareAndExecute('SELECT * FROM `...', NULL)
#1 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/library/database/DB.class.php(194): AbstractDBAdapter->executeAll('SELECT * FROM `...', NULL)
#2 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/dataaccess/DataManager.class.php(182): DB::executeAll('SELECT * FROM `...')
#3 /Applications/xampp/xamppfiles/htdocs/opengoo/application/models/project_charts/base/BaseProjectCharts.class.php(109): DataManager->find(Array)
#4 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/dataaccess/DataManager.class.php(210): BaseProjectCharts->find(Array)
#5 /Applications/xampp/xamppfiles/htdocs/opengoo/application/models/project_charts/base/BaseProjectCharts.class.php(126): DataManager->findAll(Array)
#6 /Applications/xampp/xamppfiles/htdocs/opengoo/application/models/project_charts/base/BaseProjectCharts.class.php(128): BaseProjectCharts->findAll(Array)
#7 /Applications/xampp/xamppfiles/htdocs/opengoo/application/controllers/DashboardController.class.php(56): BaseProjectCharts->findAll(Array)
#8 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/controller/Controller.class.php(69): DashboardController->index()
#9 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/controller/PageController.class.php(62): Controller->execute('index')
#10 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/Env.class.php(152): PageController->execute('index')
#11 /Applications/xampp/xamppfiles/htdocs/opengoo/init.php(150): Env::executeAction('dashboard', 'index')
#12 /Applications/xampp/xamppfiles/htdocs/opengoo/index.php(9): require('/Applications/x...')
#13 {main}
Autoglobal varibles:
$_GET: Array (
  ['c'] => (string) 'dashboard'
  ['a'] => (string) 'index'
)
$_POST:
$_COOKIE: Array (
  ['PHPSESSID'] => (string) '824e0b41ed9ae3631997275669156eac'
  ['id'] => (string) '2'
  ['token'] => (string) 'a8bc2436c90f7136c3fd86d70a8c69c939616a11'
)
$_SESSION: Array (
  ['cal_version'] => true
  ['cal_month'] => (string) '10'
  ['cal_year'] => (string) '2008'
  ['cal_day'] => (string) '12'
  ['cal_loginfailed'] => (int)0
  ['cal_user'] => (string) 'Rob'
  ['cal_userid'] => (int)2
)
« Last Edit: October 12, 2008, 10:13:37 am by JungMin »

xtender

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Can't install - 500 Internal Server Error
« Reply #6 on: October 12, 2008, 11:21:43 pm »
cabeza, memory limit by default equal 8M, but need for clear new opengoo about 10, may be you will add note about this in installation Warnings?

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Can't install - 500 Internal Server Error
« Reply #7 on: October 12, 2008, 11:53:47 pm »
Xtender,
 Thanks for the info, I'll add the warning.
JungMin,
  I'll take a look at your issue (it's looks like a typo: "opg_project_charts" should be "og_project_charts" )
Thanks to both,
Marcos

JungMin

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Can't install - 500 Internal Server Error
« Reply #8 on: October 13, 2008, 12:15:56 am »
Sorry....that spelling mistake was my fault, not yours.

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Can't install - 500 Internal Server Error
« Reply #9 on: October 13, 2008, 06:52:51 pm »