You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
I've put in a ticket that I changed the url from a sub domain to a full domain and haven't gotten any response.
Is there something in the DB i can change or what .I need this fixed and now the site is showing an error on the home page???
File: /Site_private/core/CORE_App/CORE_App.php Line: 211 Error Number: 256
It was fine before i just couldn't get into the admin.
Last edited by Anthonypi (12-18-2010 20:14:29)
Offline
A license issue will not affect the front side of CCP. What is the URL of the site with the problem?
Offline
http://alohamystics.com/ i have a holding page there now so the error doesn't show..
here's the page with the error
http://alohamystics.com/indexS.php
I tried to rerun the installer but the license issue wouldn't let the installer get past step 5
Last edited by Anthonypi (12-19-2010 15:42:27)
Offline
The logic around your error says that the URL you are calling does not define an App and the default app is not found so you have problems beyond licensing. Have you changed anything in the DB or config files manually?
// +--
// | We need to figure out if the app requested is valid and handle setting
// | up the default app (if it's not) and running it's functions.
// +--
$app = ($this->globals('core.app') ? $this->globals('core.app') : '');
if ($this->globals('core_cgi.app')) {$app = $this->globals('core_cgi.app');}
$result = $this->load_app($app,1);
// +--
// | Make sure we have a result set.
// +--
if (($this->IsError($result)) || (empty($result))) {
if ($this->debug) {$this->debugger("exec: A component could not be loaded for the {$interface} interface. A default component is not available.");}
$errstr = $this->globals('core_settings.core.lang.NOAPPLICATION');
trigger_error($errstr,E_USER_ERROR);
} // End of if statement.
Offline
Yeah I have.. I changed all the urls in the DB from ...domain.com/Site to just ../domain.com when i moved the site from the subdirectory Site, in the ecom_product table and cms_html table htmlcontent field only to fix links everything worked fine after i did that..
I also mad a few changes in the config, but ran the installer since then , and again it worked fine after. Until the last time i ran the installer.
Where should i look for a bad url in the DB or Config?
I changed the index page back so it loads by default to check the error now.
Last edited by Anthonypi (12-19-2010 18:32:56)
Offline
Post the contents of your public and private config files less any usernames/passwords.
Offline
config public:
$config['core.password'] = '';
$config['core.path_public'] = '/home2/secureh2/public_html/alohamystics.com';
$config['core.path_private'] = '/home2/secureh2/public_html/alohamystics.com/Site_private';
$config['core.script_frontend'] = 'index.php';
$config['core.script_backend'] = 'admin.php';
private;
<?php
$config['core.password_copy'] = '';
$config['core.url_nonssl'] = 'http://www.alohamystics.com';
$config['core.url_ssl'] = 'http://www.alohamystics.com';
$config['core.port_ssl'] = '443';
$config['core.cookie_domain_nonssl'] = 'alohamystics.com';
$config['core.cookie_path_nonssl'] = '/';
$config['core.cookie_domain_ssl'] = 'alohamystics.com';
$config['core.cookie_path_ssl'] = '/';
$config['core.reg_lickey'] = 'X-p9t1e98y1qhjx35lx2f4';
$config['core.reg_fname'] = '';
$config['core.reg_lname'] = '';
$config['core.reg_email'] = '';
$config['core.cryptkey'] = '';
$config['core.db_dbtype'] = 'mysql';
$config['core.db_hostname'] = '';
$config['core.db_dbname'] = '';
$config['core.db_username'] = '';
$config['core.db_password'] = '';
$config['core.curl_proxyurl'] = '';
$config['core.curl_proxyuser'] = '';
$config['core.curl_proxypass'] = '';
$config['core.curl_proxyhttp'] = '';
$config['core.curl_proxyhttps'] = '';
$config['core.mail_mailtype'] = 'smtp';
$config['core.mail_sendmail'] = '';
$config['core.mail_host'] = 'localhost';
$config['core.mail_port'] = '25';
$config['core.mail_user'] = '';
$config['core.mail_pass'] = '';
$config['core.install_pearsource'] = '1';
$config['core.install_pear'] = '1';
$config['core.install_core'] = '1';
$config['core.install_apps'] = '1';
$config['core.install_db'] = '1';
?>
Offline
At first glance, here is one correction that you need:
$config['core.cookie_domain_nonssl'] = '.alohamystics.com';
$config['core.cookie_path_nonssl'] = '/';
$config['core.cookie_domain_ssl'] = '.alohamystics.com';
$config['core.cookie_path_ssl'] = '/';
Offline
Ok.. change it to what?
Last edited by Anthonypi (12-19-2010 18:48:19)
Offline
I already changed it. Note the . before the domain in the cookie settings
Offline
Oh ok..
Offline
BTW i can access the admin ok just cant login due to the license issue.
Offline
Remove the ccp files from the subdomain and the license issue should be resolved.
Offline
I already did that. nothing is in the subdomain. It was actually just an alias used to access the domain before the DNS was changed to point to the server.. Everything is in the root public_html diretcory. The site was in a sub directory, and i moved it to the root. The site is in the public_html directory, and the private stuff is in Site_private.
When i first ran the installer I used alohamystics.securehostinghawaii.net (the alias) to build the site on a new server. Then changed the Name Servers to point to the new server, and changed all the urls to alohamystics.com, I ran the installer again and got the licensing isssue.
Last edited by Anthonypi (12-19-2010 19:32:23)
Offline
i put up the index.html page so use wwwalohamystics.com/index.php thanks for the help btw
Offline
Bump!
Offline
Thanks for the help. I ran the installer with the license issue resolved and the error is gone. Site seems to be ok.
Anthony
Offline
Pages: 1