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 Issue | Forum

Topic location: Forum home » Support » General Questions
Bob Brown
Bob Brown Oct 16 '15
Hello,

My cron stopped working for one of my oxwall sites, however the others are working, and this one is not allowing registration of any user who trys to register. What could cause this and is there another way to go about cleaninv out the logs and stuff to get cron to resolve? I'm doing this locally.

Regards,
Bobby
Bob Brown
Bob Brown Oct 16 '15
Hello,

None of them links are really helpful in this case, I am running cron locally by cd into path where ow_cron is located and done a pwd and got /var/www/vhosts/gymradio.org/httpdocs/ow_cron  then done a which php and got /usr/bin/php and put the two paths together like so /usr/bin/php /var/www/vhosts/gymradio.org/httpdocs/ow_cron/run.php and put them two paths in the schedule task area with * for all the minutes and hours, and the cron tester feed back still says it can't grab anything from cron even when it used to, and is not allowing any profiles to actually register threw the system.

Regards,
Bobby
Bob Brown
Bob Brown Oct 16 '15
Hello,

Also I done a debug mode and check the ow_logs folder and there is this in the ow_cron error log file as put below.

"[Mon Oct 5 5:54:01 2015] [ow_core_log] [Notice] Message: Undefined index: REQUEST_URI File: /var/www/vhosts/gymradio.org/httpdocs/ow_core/ow.php Line:108
[Mon Oct 5 5:54:01 2015] [ow_core_log] [Exception] Message: `dashboard-BASE_CMP_UserAvatarWidget` is already added to `left` section File: /var/www/vhosts/gymradio.org/httpdocs/ow_system_plugins/base/bol/component_service.php Line:338 Trace: [#0 /var/www/vhosts/gymradio.org/httpdocs/ow_system_plugins/base/init.php(134): BOL_ComponentService->addWidgetToPosition(Object(BOL_ComponentPlace), 'left', 0) | #1 /var/www/vhosts/gymradio.org/httpdocs/ow_core/plugin_manager.php(119): include('/var/www/vhosts...') | #2 /var/www/vhosts/gymradio.org/httpdocs/ow_core/plugin_manager.php(97): OW_PluginManager->initPlugin(Object(OW_SystemPlugin)) | #3 /var/www/vhosts/gymradio.org/httpdocs/ow_cron/run.php(65): OW_PluginManager->initPlugins() | #4 {main}]
[Mon Oct 5 5:55:01 2015] [ow_core_log] [Notice] Message: Undefined index: REQUEST_URI File: /var/www/vhosts/gymradio.org/httpdocs/ow_core/ow.php Line:108
[Mon Oct 5 5:55:01 2015] [ow_core_log] [Exception] Message: `dashboard-BASE_CMP_UserAvatarWidget` is already added to `left` section File: /var/www/vhosts/gymradio.org/httpdocs/ow_system_plugins/base/bol/component_service.php Line:338 Trace: [#0 /var/www/vhosts/gymradio.org/httpdocs/ow_system_plugins/base/init.php(130): BOL_ComponentService->addWidgetToPosition(Object(BOL_ComponentPlace), 'left', 0) | #1 /var/www/vhosts/gymradio.org/httpdocs/ow_core/plugin_manager.php(119): include('/var/www/vhosts...') | #2 /var/www/vhosts/gymradio.org/httpdocs/ow_core/plugin_manager.php(97): OW_PluginManager->initPlugin(Object(OW_SystemPlugin)) | #3 /var/www/vhosts/gymradio.org/httpdocs/ow_cron/run.php(65): OW_PluginManager->initPlugins() | #4 {main}]"

Regards,
Bobby
Bob Brown
Bob Brown Oct 19 '15
Hello,

I have provided a screen shot to show proof that the cron is technically running, but shows that ow oxwall is unable to get the crob job in the cron tester but shows it running just fine in the other site.

Regards,
Bobby
Bob Brown
Bob Brown Oct 20 '15
Hello,

Also I'm getting a really bad error when trying to open or edit anything on the index page or even inside the admin area it doesn't load up the profile questions or complete or process threw any registrations.

Regards,
Bobby
Taissa Team
Taissa Oct 21 '15
Bobby, as I see you have made custom code modification and added the User Avatar widget to Dashboard page. This is the reason which causes the errors you have mentioned in post #4. To fix it you need to rollback the changes.
Concerning your last post, it seems like you are using WYSIWYG third party plugin. To eliminate the cause of the error you need to deactivate all third party plugins.
As to the cron issue, could you provide more details what exactly happens when new user try to register with your site. What the error occurs?  
Bob Brown
Bob Brown Oct 21 '15
Hello Taissa,

I was told in previous versions that was the only way to add the user avtar image back to the user dashboard. Is there a different way to add the current membership and avatar the user is using to the main index page?

Regards,
Bobby
Bob Brown
Bob Brown Oct 21 '15
Hello,

I also have no editor installed

Regards,
Bobby
Taissa Team
Taissa Oct 21 '15
Bobby, if you want to display avatar and user's membership to the main page, currently it's possible by custom code modification only. But modifications should be done correctly.
Concerning the third party plugins, did you deactivate all of them ? Also make sure you have disable mod_security module.
Bob Brown
Bob Brown Oct 21 '15
Hello,

I'm pretty positive that mod_security is turned off on our apache server. Also the third party applications that we bought has nothing to do with these issues, I've already checked into this. The only thing we have done different is remove select account type from the join page, which shouldn't exisit and done that by following direct instructions from our link provided here > http://www.oxwall.org/...um/topic/7676?page=1; . They only thing I can thing of is it is a oxwall system java issue, with implementing other forms of java scripts. However I removed the custom java we where using and the issue still prexisit. Also what would be the modfications to add to the index page because the only things I see to seem fit avaliable on the index page is that there is only the avatar  but it stationed to only be put on the side bar which we do not want. We actually want to align it to the left which is what we was doing with the dashboard. But if it's possible we would do away with the dashboard and just use the index page. However I don't see any custom code modfications being done for display of my membership account type as well as the avatar display in the pane.

Regards,
Bobby
Taissa Team
Taissa Oct 22 '15
Bobby, unfortunately, if we can not reproduce the issue, we can not solve it. Switch to default theme and try to check it once again and if the problem still persists - provide us with the step-by-step instructions on how to reproduce the problem.