i get this message Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in
/home2/stan/public_html/birthfamily.co.uk/ow_core/singleton.php on line 13
i get this message Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in
/home2/stan/public_html/birthfamily.co.uk/ow_core/singleton.php on line 13Make sure you are running php ver.5.5. Each time I have seen this error posted it wound up being the php ver. So far anyway.I have changed my php to 5.5 now i get this
Error details:Type:ExceptionMessage:SQLSTATE[42S22]: Column not found: 1054 Unknown column 'key' in 'where clause'File:/home2/peter64/public_html/birthfamily.co.uk/ow_core/database.phpLine:723Trace:#0 /home2/peter64/public_html/birthfamily.co.uk/ow_core/database.php(723): PDOStatement->execute() #1 /home2/peter64/public_html/birthfamily.co.uk/ow_core/database.php(308): OW_Database->execute('SELECT * FROM o...', Array) #2 /home2/peter64/public_html/birthfamily.co.uk/ow_core/base_dao.php(114): OW_Database->queryForObject('SELECT * FROM o...', 'BOL_Theme', Array, 86400, Array) #3 /home2/peter64/public_html/birthfamily.co.uk/ow_system_plugins/base/bol/theme_dao.php(111): OW_BaseDao->findObjectByExample(Object(OW_Example), 86400, Array) #4 /home2/peter64/public_html/birthfamily.co.uk/ow_system_plugins/base/bol/theme_service.php(485): BOL_ThemeDao->findByKey('simplicity') #5 /home2/peter64/public_html/birthfamily.co.uk/ow_core/theme_manager.php(66): BOL_ThemeService->getThemeObjectByKey('simplicity', false) #6 /home2/peter64/public_html/birthfamily.co.uk/ow_core/application.php(154): OW_ThemeManager->initDefaultTheme(false) #7 /home2/peter64/public_html/birthfamily.co.uk/index.php(54): OW_Application->init() #8 {main}
How do i fix this ?
https://developers.oxwall.com/forum/topic/48394
wait this one has the same error and line number check this out
https://developers.oxwall.com/forum/topic/44215?&page=5
Pete, you must re-update software. Your update failed halfway due to incorrect PHP version. Fixing errors one by one will take ages.Thank Aliya
Simply downgrade your software version and check for updates.
To downgrade version, change version in ow_version.xml file.
Then also change version and build in ow_base_config database table.
Then in Admin panel click "Check updates". Updates will appear again and you will simply need to re-update core platform and plugins.
Alternative way:
- manually upack latest update pack.
- downgrade version and build in ow_base_config
- call for database update via www.sitename.com/ow_updates URL.
- then update plugins in regular way from Admin Panel