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

Fatal error in /ow_cron/run.php | Forum

Esmoof
Esmoof Feb 9 '13
version 1.5.1 (build 6093)

I'm seeing that cron on my website, is having a problem to run

I see the following error in the browser, when I go to this url:
http://mysite.com/ow_cron/run.php

Fatal error: Call to a member function hasDecorator() on a non-object in /home/esmoof/public_html/ow_core/theme_manager.php on line 186
Ronnel DC
Ronnel DC Feb 9 '13
Mine i am having this one:
[03-Feb-2013 11:58:01 UTC] PHP Fatal error:  Out of memory (allocated 786432) (tried to allocate 7680 bytes) in /home2/myusername/public_html/Sphere/ow_utilities/string.php on line 108
[03-Feb-2013 12:42:02 UTC] PHP Fatal error:  Out of memory (allocated 14680064) (tried to allocate 7680 bytes) in /home2/myusername/public_html/Sphere/ow_system_plugins/base/bol/comment_dao.php on line 131
[06-Feb-2013 10:45:02 UTC] PHP Fatal error:  Out of memory (allocated 7602176) (tried to allocate 30720 bytes) in /home2/myusername/public_html/Sphere/ow_plugins/mailbox/bol/conversation_dao.php on line 366
[06-Feb-2013 11:05:02 UTC] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 79 bytes) in Unknown on line 0
[07-Feb-2013 09:40:01 UTC] PHP Fatal error:  Out of memory (allocated 1572864) (tried to allocate 30720 bytes) in /home2/myusername/public_html/Sphere/ow_core/database.php on line 337
[07-Feb-2013 09:40:01 UTC] PHP Fatal error:  Out of memory (allocated 5242880) (tried to allocate 30720 bytes) in /home2/myusername/public_html/Sphere/ow_system_plugins/base/bol/preference_service.php on line 359
[07-Feb-2013 11:25:02 UTC] PHP Fatal error:  Out of memory (allocated 6029312) (tried to allocate 7680 bytes) in /home2/myusername/public_html/Sphere/ow_plugins/newsfeed/classes/event_handler.php on line 1136
[07-Feb-2013 11:25:02 UTC] PHP Fatal error:  Out of memory (allocated 6553600) (tried to allocate 30720 bytes) in /home2/myusername/public_html/Sphere/ow_plugins/newsfeed/bol/activity_dao.php on line 160
[08-Feb-2013 14:00:02 UTC] PHP Fatal error:  Out of memory (allocated 3932160) (tried to allocate 30720 bytes) in /home2/myusername/public_html/Sphere/ow_libraries/smarty3/sysplugins/smarty_internal_templatebase.php on line 540
[08-Feb-2013 14:00:02 UTC] PHP Fatal error:  Out of memory (allocated 6029312) (tried to allocate 7680 bytes) in /home2/myusername/public_html/Sphere/ow_plugins/newsfeed/classes/event_handler.php on line 1136
[09-Feb-2013 10:35:02 UTC] PHP Fatal error:  Out of memory (allocated 2883584) (tried to allocate 491520 bytes) in /home2/myusername/public_html/Sphere/ow_system_plugins/base/init.php on line 986

Timothy
Timothy Feb 11 '13
At the end of the install it tells me

Please copy and paste this code replacing the existing one into ow_includes/config.php file.
Make sure you do not have any whitespace before and after the code.

<?php

define('OW_URL_HOME', '{$site_url}');

define('OW_DB_HOST', '');
define('OW_DB_PORT', null);
define('OW_DB_USER', '{$db_user}');
define('OW_DB_PASSWORD', '{$db_password}');
define('OW_DB_NAME', '{$db_name}');

define('OW_DB_PREFIX', '{$db_prefix}');

define('OW_DIR_USERFILES', OW_DIR_ROOT.'ow_userfiles'.DS);
define('OW_DIR_STATIC', OW_DIR_ROOT.'ow_static'.DS);
define('OW_URL_STATIC', OW_URL_HOME.'ow_static/');
define('OW_URL_USERFILES', OW_URL_HOME.'ow_userfiles/');
define('OW_DIR_PLUGINFILES', OW_DIR_ROOT.'ow_pluginfiles/');

define('OW_PASSWORD_SALT', '511935f7aa49e');

define('OW_DIR_CORE', OW_DIR_ROOT.'ow_core'.DS);
define('OW_DIR_INC', OW_DIR_ROOT.'ow_includes'.DS);
define('OW_DIR_LIB', OW_DIR_ROOT.'ow_libraries'.DS);
define('OW_DIR_UTIL', OW_DIR_ROOT.'ow_utilities'.DS);
define('OW_DIR_PLUGIN', OW_DIR_ROOT.'ow_plugins'.DS);
define('OW_DIR_THEME', OW_DIR_ROOT.'ow_themes'.DS);
define('OW_DIR_SYSTEM_PLUGIN', OW_DIR_ROOT.'ow_system_plugins'.DS);
define('OW_DIR_SMARTY', OW_DIR_ROOT.'ow_smarty'.DS);

define('OW_USE_CLOUDFILES', false);

if ( defined('OW_CRON') )
{
    define('OW_DEBUG_MODE', false);
    define('OW_DEV_MODE', false);
    define('OW_PROFILER_ENABLE', false);
}
else
{
    /**
    * Make changes in this block if you want to enable DEV mode and DEBUG mode
    */
   
    define('OW_DEBUG_MODE', false);
    define('OW_DEV_MODE', false);
    define('OW_PROFILER_ENABLE', false);
}

Create a cron job that runs ow_cron/run.php once a minute.


Once i do this i get.

The page isn't redirecting properly

          Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
           
          This problem can sometimes be caused by disabling or refusing to accept
    cookies.

and the URL changes to this.
http://animationcave.institutionstudios.com/install/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/%7B$site_url%7D%7B$site_url%7Dinstall/requirements
DeFender
DeFender Feb 19 '13

Quote from Francisco version 1.5.1 (build 6093)

I'm seeing that cron on my website, is having a problem to run

I see the following error in the browser, when I go to this url:
http://mysite.com/ow_cron/run.php

Fatal error: Call to a member function hasDecorator() on a non-object in /home/esmoof/public_html/ow_core/theme_manager.php on line 186

I have had this error too after software autoupdate.
What I did. downloaded 1.5.1 and replaced  run.php

cleared cache
The Forum post is edited by DeFender Feb 19 '13