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

Cron is not loading. Get 500 error[Solved] | Forum

Dirk
Dirk May 20 '15
System: Platform version 1.7.3 (build 8710)

PHP: 5.4


When try to open this URI:https://hardstyleunited.com/ow_cron/run.php


I get :


Error 500
Internal Server Error.
If you are the site admin, click here for details (+)



The cron job is like this:

SMinHDMMDWCommand*****wget -q -O /dev/null http://hardstyleunited.com/ow_cron/run.php


Please help me since I am stuck on this one.



The Forum post is edited by ross May 20 '15
ross Team
ross May 20 '15
Enable debug mode. 

Go to ow_cron folder , I believe there should be some error log if you have this error, copy the error related to the time you went here: https://hardstyleunited.com/ow_cron/run.php

If there's no error log, check ow_log folder and do the same. 

Dirk
Dirk May 20 '15
[Wed May 20 12:11:05 2015] [ow_core_log] [Exception] Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 0, 1' at line 1 File: /var/www/vhosts/hardstyleunited.com/httpdocs/ow_core/database.php Line:707 Trace: [#0 /var/www/vhosts/hardstyleunited.com/httpdocs/ow_core/database.php(707): PDOStatement->execute() | #1 /var/www/vhosts/hardstyleunited.com/httpdocs/ow_core/database.php(305): OW_Database->execute('SELECT * FROM o...', Array) | #2 /var/www/vhosts/hardstyleunited.com/httpdocs/ow_core/base_dao.php(114): OW_Database->queryForObject('SELECT * FROM o...', 'SPSEO_BOL_Url', Array, 0, Array) | #3 /var/www/vhosts/hardstyleunited.com/httpdocs/ow_plugins/spseo/bol/url_dao.php(51): OW_BaseDao->findObjectByExample(Object(OW_Example)) | #4 /var/www/vhosts/hardstyleunited.com/httpdocs/ow_plugins/spseo/bol/url_service.php(45): SPSEO_BOL_UrlDao->findByUri(NULL) | #5 /var/www/vhosts/hardstyleunited.com/httpdocs/ow_plugins/spseo/bol/service.php(193): SPSEO_BOL_UrlService->findByUri(NULL) | #6 /var/www/vhosts/hardstyleunited.com/httpdocs/ow_plugins/spseo/classes/event_handler.php(90): SPSEO_BOL_Service->handleRoutes() | #7 [internal function]: SPSEO_CLASS_EventHandler->onBeforeRouting(Object(OW_Event)) | #8 /var/www/vhosts/hardstyleunited.com/httpdocs/ow_core/event_manager.php(222): call_user_func(Array, Object(OW_Event)) | #9 /var/www/vhosts/hardstyleunited.com/httpdocs/ow_cron/run.php(67): OW_EventManager->trigger(Object(OW_Event)) | #10 {main}]
ross Team
ross May 20 '15
disable this plugin: spseo and try again
Dirk
Dirk May 20 '15
Worked. Thanks a bit stupid of me not seeing this. Probably the moment of panic XD
ross Team
ross May 20 '15
Great. I'm going to mark this thread as Solved then. 
Teo
Teo May 20 '15
Same problem , thanks ross
ross Team
ross May 21 '15
Teo have you resolved your issue or not?
If not please provide the text or screenshot of the error?
Teo
Teo May 21 '15
Ross i disable spseo plugin as you said and the problem gone

The new update have the same problem so i keep it inactive for now



ross Team
ross May 21 '15
Ok, thanks for letting us know. Contact plugin developer to resolve the issue with the cron. 
Dirk
Dirk May 22 '15
The issue should be solved.. See comments from developer.