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

i get this error now | Forum

Pete
Pete Aug 3 '16
i have just tried to update my website   ,not updated it for many months 



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
The Forum post is edited by Pete Aug 3 '16
Darryl B Leader
Darryl B Aug 3 '16
Make 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.
Pete
Pete Aug 3 '16
i well take a look in in my control panel   Thanks .
Pete
Pete Aug 3 '16

Quote from Darryl B Make 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   ?

The Forum post is edited by Pete Aug 3 '16
dave Leader
dave Aug 3 '16
pete try here does this help.. 


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



The Forum post is edited by dave Aug 3 '16
Aliya Team
Aliya Aug 4 '16
Pete, you must re-update software. Your update failed halfway due to incorrect PHP version. Fixing errors one by one will take ages.

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
The Forum post is edited by Aliya Aug 4 '16
Pete
Pete Aug 4 '16

Quote from Aliya Pete, you must re-update software. Your update failed halfway due to incorrect PHP version. Fixing errors one by one will take ages.

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
Thank  Aliya    
Aliya Team
Aliya Aug 4 '16
let us know how things go.