Osclass forums

Support forums => Themes => Topic started by: Ramesh on September 15, 2013, 04:03:47 pm

Title: Getting function undefined error :osc_base_url()
Post by: Ramesh on September 15, 2013, 04:03:47 pm
Actually am trying to create custom php page in osclass
I have followed all steps shown on osclass docs .
but still my custom php file manage_account.php is showing above error Getting function undefined error :osc_base_url() .
Can any one help me how to use all osclass functions .
.
I need urgent help am stuck in project .
Title: Re: Getting function undefined error :osc_base_url()
Post by: teseo on September 15, 2013, 04:36:59 pm
I think you must include oc-load.php at the start of your new script to be able to use osc_ functions... ???

Code: [Select]
//set include
define('ABS_PATH', dirname(dirname(dirname(dirname(__FILE__)))) . '/');
require_once ABS_PATH . 'oc-load.php';

Regards
Title: Re: Getting function undefined error :osc_base_url()
Post by: Ramesh on September 24, 2013, 01:07:06 am
hi i have solved this issue , now am moving my site from local host to online server , am facing url and other  issues , can u help me how to shift from one server to other .
Title: Re: Getting function undefined error :osc_base_url()
Post by: frosticek on September 27, 2013, 10:29:54 pm
@Ramesh

Can you post your solution and add [Solved] to header?
For moving to another server, copy database & files to new hosting and in config file change login details, you can find many post there on forums how to go.
Title: Re: Getting function undefined error :osc_base_url()
Post by: MouniJose on October 09, 2013, 12:48:33 pm
Now am moving my site from local host to online server.