Login or Register

RSS IconRecent posts in this topic

avatar
thirstyg on May 23. 2007. 9:44 pm
I woke up this morning to find a fatal error for my aC installation...(why do these things always happen at night?) Anyways, I turned on debug and this is what the server gave me:


Warning: simplexml_load_file(http://www.activecollab.com/versions.xml) [function.simplexml-load-file]: failed to open stream: Connection timed out in /home/content/F/f/p/Ffprous/html/clients/application/models/versons_feed/VersionsFeed.class.php on line 113

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://www.activecollab.com/versions.xml" in /home/content/F/f/p/Ffprous/html/clients/application/models/versons_feed/VersionsFeed.class.php on line 113
Error (DBQueryError)
Query failed with message 'MySQL server has gone away'
Error params:
File: /home/content/F/f/p/Ffprous/html/clients/environment/library/database/adapters/AbstractDBAdapter.class.php
Line: 371
Sql: SELECT * FROM `ac_config_options` WHERE `name` = 'file_storage_adapter'
Error number: 2006
Error message: MySQL server has gone away
Backtrace:
#0 /home/content/F/f/p/Ffprous/html/clients/environment/library/database/adapters/AbstractDBAdapter.class.php(289): AbstractDBAdapter->prepareAndExecute('SELECT * FROM `...', NULL)
#1 /home/content/F/f/p/Ffprous/html/clients/environment/library/database/DB.class.php(171): AbstractDBAdapter->executeAll('SELECT * FROM `...', NULL)
#2 /home/content/F/f/p/Ffprous/html/clients/environment/classes/dataaccess/DataManager.class.php(182): DB::executeAll('SELECT * FROM `...')
#3 /home/content/F/f/p/Ffprous/html/clients/application/models/config_options/base/BaseConfigOptions.class.php(101): DataManager->find(Array)
#4 /home/content/F/f/p/Ffprous/html/clients/environment/classes/dataaccess/DataManager.class.php(223): BaseConfigOptions->find(Array)
#5 /home/content/F/f/p/Ffprous/html/clients/application/models/config_options/base/BaseConfigOptions.class.php(135): DataManager->findOne(Array)
#6 /home/content/F/f/p/Ffprous/html/clients/application/models/config_options/base/BaseConfigOptions.class.php(137): BaseConfigOptions->findOne(Array)
#7 /home/content/F/f/p/Ffprous/html/clients/application/models/config_options/ConfigOptions.class.php(67): BaseConfigOptions::findOne(Array)
#8 /home/content/F/f/p/Ffprous/html/clients/application/models/config_options/ConfigOptions.class.php(53): ConfigOptions::getByName('file_storage_ad...')
#9 /home/content/F/f/p/Ffprous/html/clients/application/functions.php(283): ConfigOptions::getOptionValue('file_storage_ad...', 'mysql')
#10 /home/content/F/f/p/Ffprous/html/clients/application/application.php(27): config_option('file_storage_ad...', 'mysql')
#11 /home/content/F/f/p/Ffprous/html/clients/init.php(125): require_once('/home/content/F...')
#12 /home/content/F/f/p/Ffprous/html/clients/index.php(9): require('/home/content/F...')
#13 {main}
Autoglobal varibles:
$_GET:
$_POST:
$_COOKIE: Array (
['__utmz'] => (string) '18879599.1179616685.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)'
['__utma'] => (string) '18879599.942834755.1179616685.1179892444.1179955351.12'
['__utmb'] => (string) '18879599'
['__utmc'] => (string) '18879599'
['PHPSESSID'] => (string) '69bcv86clbpbsj70mfon396176'
)
$_SESSION:
Execution time:
Total execution time: 60.427885 seconds
avatar Staff
Ilija Studen on May 29. 2007. 6:56 am
Problem was SimpleXML. For all of you who experience similar problems - if activeCollab hangs and dies after 30 or 60 seconds (or any long period of time) try turning off version checking:

1. Open database using phpMyAdmin
2. Open table config_options and find option with name upgrade_check_enabled
3. Set its value to 0 and save the record
activeCollab Team Member
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic