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

Update to 1.2.4 Errors? | Forum

razzberry
razzberry Oct 20 '11
I apologize ahead of time if someone else has already posted about this issue. I searched the Bug Report's section and didn't quite find this situation.

I had to update to 1.2.4 from 1.1.1(i think it was). There was no auto-update available? So I read up on how to do it manually. I replaced the files where it said to, and figured it would all be spot on. I was wrong...I think.

I got several "OW Debug - Notice", and one "OW Debug - Exception".

Is this normal? If not where did I go wrong? Help please! I'm almost desperate right now. -lol-
razzberry
razzberry Oct 20 '11
omg no!
Everything is gone and it's trying to make me do a complete reinstall. Holy %*#@ I really need some help!
Keelan Leader
Keelan Oct 20 '11
edit your ow_includes/config.php to match your database.
razzberry
razzberry Oct 20 '11
ok i will try that. -crosses my fingers-
razzberry
razzberry Oct 20 '11
<?php

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

define('OW_DEBUG_MODE', false);
define('OW_DEV_MODE', false);
define('OW_INSTALL_PLUGINS', false);
define('OW_PASSWORD_SALT', 'oxwall_salt_SK750');
define('OW_PROFILER_ENABLE', false);

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);


(((thats all thats in it..-feels dumb-)))
razzberry
razzberry Oct 20 '11
and of course I had a horrid comp crash and lost my files. including my last backup for the site.

Does this mean I should just trash it and begin from scratch?

razzberry
razzberry Oct 20 '11
I had no choice but to fully reinstall. Though now I have run into a huge problem. I was setting up the customized profile questions, and the software glitched hard....This is what it says for 'any' page now...OW Debug - ExceptionMessage: Can't generate uri for empty controller/action !
File: /home/raz*/public_html/in-rpc/ow_core/default_route.php
Line: 49
Trace: #0 /home/raz*/public_html/in-rpc/ow_core/router.php(291): OW_DefaultRoute->generateUri(NULL, NULL, Array)
#1 /home/raz*/public_html/in-rpc/ow_core/router.php(277): OW_Router->uriFor(NULL, NULL, Array)
#2 /home/raz*/public_html/in-rpc/ow_system_plugins/base/bol/navigation_service.php(286): OW_Router->urlFor(NULL, NULL)
#3 /home/raz*/public_html/in-rpc/ow_system_plugins/base/components/bottom_menu.php(41): BOL_NavigationService->getMenuItems(Array)
#4 /home/raz*/public_html/in-rpc/ow_core/master_page.php(132): BASE_CMP_BottomMenu->__construct()
#5 /home/raz*/public_html/in-rpc/ow_core/master_page.php(56): OW_MasterPage->init()
#6 /home/raz*/public_html/in-rpc/ow_core/application.php(187): OW_MasterPage->__construct()
#7 /home/raz*/public_html/in-rpc/index.php(43): OW_Application->init()
#8 {main}
Type: InvalidArgumentException
Keelan Leader
Keelan Oct 20 '11
Should look like the below but replace:
define('OW_URL_HOME', 'http://yoursite.com/');

define('OW_DB_HOST', 'localhost');
define('OW_DB_PORT', null);
define('OW_DB_USER', 'YOURDB');
define('OW_DB_PASSWORD', 'DB_PASSWORD');
define('OW_DB_NAME', 'DB_USER');

with your following details.

<?php

define('OW_URL_HOME', 'http://yoursite.com/');

define('OW_DB_HOST', 'localhost');
define('OW_DB_PORT', null);
define('OW_DB_USER', 'YOURDB');
define('OW_DB_PASSWORD', 'DB_PASSWORD');
define('OW_DB_NAME', 'DB_USER');

define('OW_DB_PREFIX', 'ow_');

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', '4e99b51905ce8');

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); 
}
razzberry
razzberry Oct 20 '11
Thank you for going out of your way to try and help. I deleted the folder and decided to begin all over again with a fresh install of 1.2.4