We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

error 500 | Forum

Billy Pip
Billy Pip Oct 22 '16
Hi

Page shows below error , how i can fix it :


OW Debug - ExceptionMessage:SQLSTATE[HY000] [2002] No such file or directoryFile:/home/domain/public_html/ow_core/database.phpLine:226Trace:#0 /home/domain/public_html/ow_core/database.php(256): OW_Database->__construct(Array)#1 /home/domain/public_html/ow_core/ow.php(239): OW_Database::getInstance(Array)#2 /home/domain/public_html/ow_core/base_dao.php(47): OW::getDbo()#3 /home/domain/public_html/ow_system_plugins/base/bol/config_dao.php(66): OW_BaseDao->__construct()#4 /home/domain/public_html/ow_system_plugins/base/bol/config_dao.php(55): BOL_ConfigDao->__construct()#5 /home/domain/public_html/ow_system_plugins/base/bol/config_service.php(69): BOL_ConfigDao::getInstance()#6 /home/domain/public_html/ow_system_plugins/base/bol/config_service.php(58): BOL_ConfigService->__construct()#7 /home/domain/public_html/ow_core/config.php(48): BOL_ConfigService::getInstance()#8 /home/domain/public_html/ow_core/config.php(68): OW_Config->__construct()#9 /home/domain/public_html/ow_core/ow.php(176): OW_Config::getInstance()#10 /home/domain/public_html/ow_core/ow.php(106): OW::getConfig()#11 /home/domain/public_html/ow_core/ow.php(151): OW::detectContext()#12 /home/domain/public_html/index.php(47): OW::getApplication()#13 {main}Type:InvalidArgumentExceptionOW Debug - WarningMessage:date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.File:/home/domain/public_html/ow_system_plugins/base/classes/file_log_writer.phpLine:56

Darryl B Leader
Darryl B Oct 22 '16
Ross won't be back until Monday, but have you seen this post on e500?

https://developers.oxwall.com/forum/topic/4661

From your post; Have you set the time settings in the admin panel "admin / settings / general settings in the "Time Settings" section?

This is about all I can think of. Maybe someone else can jump in, if they have experienced the same thing before.
Billy Pip
Billy Pip Oct 22 '16
unfortunately it didnt help

mysql server was off , i turned it on but i see below error message :


OW Debug - NoticeMessage:Use of undefined constant OW_CLOUDFILES_USER - assumed 'OW_CLOUDFILES_USER'File:/home/domain/public_html/ow_system_plugins/base/classes/cloud_storage.phpLine:57OW Debug - NoticeMessage:Use of undefined constant OW_CLOUDFILES_API_KEY - assumed 'OW_CLOUDFILES_API_KEY'File:/home/domain/public_html/ow_system_plugins/base/classes/cloud_storage.phpLine:57OW Debug - ExceptionMessage:Invalid username or access key.File:/home/domain/public_html/ow_libraries/rackspace_cloudfiles/cloudfiles.phpLine:204Trace:#0 /home/domain/public_html/ow_system_plugins/base/classes/cloud_storage.php(58): CF_Authentication->authenticate() #1 /home/domain/public_html/ow_core/ow.php(417): BASE_CLASS_CloudStorage->__construct()
#2 /home/domain/public_html/ow_plugins/virtual_gifts/bol/virtual_gifts_service.php(205): OW::getStorage()
#3 /home/domain/public_html/ow_plugins/virtual_gifts/bol/virtual_gifts_service.php(328): VIRTUALGIFTS_BOL_VirtualGiftsService->getGiftFileUrl('1', '1414427166', 'jpg')
#4 /home/domain/public_html/ow_plugins/virtual_gifts/classes/credits.php(53): VIRTUALGIFTS_BOL_VirtualGiftsService->getTemplateList()
#5 /home/domain/public_html/ow_plugins/virtual_gifts/classes/event_handler.php(465): VIRTUALGIFTS_CLASS_Credits->__construct()
#6 /home/domain/public_html/ow_plugins/virtual_gifts/classes/event_handler.php(444): VIRTUALGIFTS_CLASS_EventHandler->genericInit()
#7 /home/domain/public_html/ow_plugins/virtual_gifts/init.php(38): VIRTUALGIFTS_CLASS_EventHandler->init()
#8 /home/domain/public_html/ow_system_plugins/base/bol/plugin_service.php(689): include_once('/home/domain/pu...')
#9 /home/domain/public_html/ow_core/plugin_manager.php(151): BOL_PluginService->includeScript('/home/domain/pu...')
#10 /home/domain/public_html/ow_core/plugin_manager.php(122): OW_PluginManager->initPlugin(Object(OW_Plugin))
#11 /home/domain/public_html/ow_core/application.php(147): OW_PluginManager->initPlugins()
#12 /home/domain/public_html/index.php(54): OW_Application->init()
#13 {main}Type:AuthenticationException

The Forum post is edited by Billy Pip Oct 22 '16
Darryl B Leader
Darryl B Oct 22 '16
I don't use cloud storage, but did you see this? Maybe it will help. It may end up being something for Ross to look at when he gets back Monday.

https://wiki.oxwall.com/install:cloud_hosting:amazons3
ross Team
ross Oct 24 '16
Topic was moved from General Questions.
ross Team
ross Oct 24 '16
What did you do before this issue started to occur? anything with cloudflare account and gifts plugin? 
Billy Pip
Billy Pip Oct 24 '16
I really dont know what happened with account

i asked hosting and they say :

I do not think so that this issue is related to our changes, because we did not changed anything to your websites. You can try ask your web developer

The Forum post is edited by Billy Pip Oct 24 '16
ross Team
ross Oct 24 '16
What exactly did you do? 
Billy Pip
Billy Pip Oct 24 '16
I did nothing

but my virtualmin couldn't create new virtual server , i told my hosting to fix that issue ago

ross Team
ross Oct 24 '16
disable virtual gifts plugin and see if the issue persists. 
Billy Pip
Billy Pip Oct 24 '16
What page i can login without problem?
Billy Pip
Billy Pip Oct 24 '16
I used http://domain.com/sign-in but this page shows errors and i can't login
ross Team
ross Oct 24 '16
deactivate then via phpmyadmin
Billy Pip
Billy Pip Oct 24 '16

I see below tables in phpmyadmin

ow_virtualgifts_category

ow_virtualgifts_template

ow_virtualgifts_user_gift


But i dont know which one should be inactive and how because there is not any buttom for disabling them



The Forum post is edited by Billy Pip Oct 24 '16
Billy Pip
Billy Pip Oct 24 '16
I renamed them in phpmyadmin , so they should be disable


Below error i see  :


OW Debug - ExceptionMessage:SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pals2.ow_virtualgifts_template' doesn't existFile:/home/domain/public_html/ow_core/database.phpLine:723Trace:#0 /home/domain/public_html/ow_core/database.php(723): PDOStatement->execute()#1 /home/domain/public_html/ow_core/database.php(344): OW_Database->execute('SELECT * FROM o...', Array)#2 /home/domain/public_html/ow_core/base_dao.php(126): OW_Database->queryForObjectList('SELECT * FROM o...', 'VIRTUALGIFTS_BO...', Array, 0, Array)#3 /home/domain/public_html/ow_plugins/virtual_gifts/bol/virtual_gifts_service.php(317): OW_BaseDao->findAll()#4 /home/domain/public_html/ow_plugins/virtual_gifts/classes/credits.php(53): VIRTUALGIFTS_BOL_VirtualGiftsService->getTemplateList()#5 /home/domain/public_html/ow_plugins/virtual_gifts/classes/event_handler.php(465): VIRTUALGIFTS_CLASS_Credits->__construct()#6 /home/domain/public_html/ow_plugins/virtual_gifts/classes/event_handler.php(444): VIRTUALGIFTS_CLASS_EventHandler->genericInit()#7 /home/domain/public_html/ow_plugins/virtual_gifts/init.php(38): VIRTUALGIFTS_CLASS_EventHandler->init()#8 /home/domain/public_html/ow_system_plugins/base/bol/plugin_service.php(689): include_once('/home/domain/pu...')#9 /home/domain/public_html/ow_core/plugin_manager.php(151): BOL_PluginService->includeScript('/home/domain/pu...')#10 /home/domain/public_html/ow_core/plugin_manager.php(122): OW_PluginManager->initPlugin(Object(OW_Plugin))#11 /home/domain/public_html/ow_core/application.php(147): OW_PluginManager->initPlugins()#12 /home/domain/public_html/index.php(54): OW_Application->init()#13 {main}Type:PDOException

ross Team
ross Oct 24 '16
No need to rename any tables, revert the changes you did. 

Go to ow_base_plugin table -> located virtual gifts row in there, in the column isActive put "0" instead of "1" that disables the plugin via admin panel. 

Billy Pip
Billy Pip Oct 25 '16
Hey Rose ,

I did

page shows below error : 


    OW Debug - Notice Message: Use of undefined constant OW_CLOUDFILES_USER - assumed 'OW_CLOUDFILES_USER' File: /home/domain/public_html/ow_system_plugins/base/classes/cloud_storage.php Line: 57 OW Debug - Notice Message: Use of undefined constant OW_CLOUDFILES_API_KEY - assumed 'OW_CLOUDFILES_API_KEY' File: /home/domain/public_html/ow_system_plugins/base/classes/cloud_storage.php Line: 57 OW Debug - Exception Message: Invalid username or access key. File: /home/domain/public_html/ow_libraries/rackspace_cloudfiles/cloudfiles.php Line: 204 Trace: #0 /home/domain/public_html/ow_system_plugins/base/classes/cloud_storage.php(58): CF_Authentication->authenticate() #1 /home/domain/public_html/ow_core/ow.php(417): BASE_CLASS_CloudStorage->__construct() #2 /home/domain/public_html/ow_system_plugins/base/bol/theme_service.php(972): OW::getStorage() #3 /home/domain/public_html/ow_system_plugins/base/bol/theme_service.php(314): BOL_ThemeService->updateCustomCssFile(970) #4 /home/domain/public_html/ow_core/developer_tools.php(159): BOL_ThemeService->processAllThemes() #5 /home/domain/public_html/ow_core/developer_tools.php(129): OW_DeveloperTools->clearThemeCache() #6 /home/domain/public_html/ow_core/developer_tools.php(98): OW_DeveloperTools->refreshEntitiesCache(true) #7 /home/domain/public_html/ow_core/application.php(170): OW_DeveloperTools->init() #8 /home/domain/public_html/index.php(54): OW_Application->init() #9 {main} Type: AuthenticationException

Billy Pip
Billy Pip Oct 26 '16
Any Help ?
ross Team
ross Oct 26 '16
Billy, what do you have in your ow_includes/config.php file for Rackspace cloud? Please send me screenshot in pm 
Billy Pip
Billy Pip Oct 26 '16
ow_user_cloudfiles was true from unknown reasons , I changed it to false and problem gone


Thank you Ross

Pages: 1 2 »