Jump to content

Root Directory


Guest gonzo2008

Recommended Posts

Guest gonzo2008

When i go to my cubecart site www.mysitedomain.com the address bar will still have the domain intact www.mysitedomain.com, but when i go to my admin area www.mysitedomain.com/admin and put the login information and clic login, the address bar changes to www.mysitedomain.mydefaultdomain.com/admin/index.php

My default domain is the first domain i used when i bought the hosting package. Now i have around 10 domains and this is the first time i see this happen.

This is giving me problem with my SSL Ceritificate. When i enable SSL and try to enter my admin area there is a no page found error.

Hope you understan the issue and help me out. I already sent this info to both, cubecart and lunarpages techs.

Thanks

Link to comment
Share on other sites

Guest gonzo2008

Can you post your includes/global.inc file. Leave out the password stuff.

Here it is.

<?php

$glob['dbdatabase'] = 'esqui4_cube';

$glob['dbhost'] = 'localhost';

$glob['dbpassword'] = '';

$glob['dbprefix'] = '';

$glob['dbusername'] = 'esqui4';

$glob['installed'] = '1';

$glob['rootDir'] = '/home/esqui4/public_html/fafufa';

$glob['rootRel'] = '/';

$glob['storeURL'] = 'https://www.fafufa.com';

?>

Thanks man

Link to comment
Share on other sites

Guest gonzo2008

$glob['storeURL'] = 'https://www.fafufa.com';

should be

$glob['storeURL'] = 'http://www.fafufa.com';

I really dont know what is the problem. Before it was https I had http. Lunarpages says that they dont see a problem in their system and cubecart helpdesk dont see one either. I believe that there is something in the script causing but i just dont know

This is what i get when i type fafufa.com/admin

http://fafufa.esquinanica.com/admin/

What else can it be??

Thank for your support

Link to comment
Share on other sites

Guest gonzo2008

CubeCart helpdesk fixed the problem that i was not able to enter my admin because of root problems along with my SSL.

This is for the people like me new on this.

Your setting should be like this in includes/global.inc.php:

<?php

$glob['dbdatabase'] = 'esqui4_cube';

$glob['dbhost'] = 'localhost';

$glob['dbpassword'] = 'yourpassword';

$glob['dbprefix'] = '';

$glob['dbusername'] = 'esqui4';

$glob['installed'] = '1';

$glob['rootDir'] = '/home/esqui4/public_html/folder where your store reside/';

$glob['rootRel'] = '/';

$glob['storeURL'] = 'http://www.yourdomain.com';

?>

For your SSL settings in your CubeCart Admin Panel shold be like this if you have a Dedicated IP:

In the first bloc type the slash sign: /

Address of your store: https://www.yourdomain.com

Why i was having problem accesing the admin area with the SSL activated because i never place the / in the first block...simple ahh..., but a lot of people overlook that.

Link to comment
Share on other sites

Guest virtual

Can someone help with my propblem?

Just performing a first time test install on my hosted website and getting the following when running the admin tool:

Warning: main(config.inc.php): failed to open stream: No such file or directory in /home/.sites/101/site208/web/store/language/en/lang.inc.php on line 2976

Warning: main(): Failed opening 'config.inc.php' for inclusion (include_path='') in /home/.sites/101/site208/web/store/language/en/lang.inc.php on line 2976

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/.sites/101/site208/web/store/language/en/lang.inc.php:2976) in /home/.sites/101/site208/web/store/admin/includes/auth.inc.php on line 44

I have followed all instructions and even re-installed.. played about with the global.inc.php file below, with no joy...

<?

php $glob['dbdatabase'] = 'virtual_lifestyles_com';

$glob['dbhost'] = 'mysql.lcn.com';

$glob['dbpassword'] = 'password';

$glob['dbprefix'] = '';

$glob['dbusername'] = 'username';

$glob['installed'] = '1';

$glob['rootDir'] = '/home/.sites/101/site208/web/store'; this was set by default

$glob['rootRel'] = '/store/';

$glob['storeURL'] = 'http://www.virtual-lifestyles.com/store';

?>

Appreciate any help..

Link to comment
Share on other sites

Guest gonzo2008

Still having problems?? I thought that in the dbhost line should be written only "localhost" or "mysql"

Leave blank rootRel

Can someone help with my propblem?

Just performing a first time test install on my hosted website and getting the following when running the admin tool:

Warning: main(config.inc.php): failed to open stream: No such file or directory in /home/.sites/101/site208/web/store/language/en/lang.inc.php on line 2976

Warning: main(): Failed opening 'config.inc.php' for inclusion (include_path='') in /home/.sites/101/site208/web/store/language/en/lang.inc.php on line 2976

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/.sites/101/site208/web/store/language/en/lang.inc.php:2976) in /home/.sites/101/site208/web/store/admin/includes/auth.inc.php on line 44

I have followed all instructions and even re-installed.. played about with the global.inc.php file below, with no joy...

<?

php $glob['dbdatabase'] = 'virtual_lifestyles_com';

$glob['dbhost'] = 'mysql.lcn.com';

$glob['dbpassword'] = 'password';

$glob['dbprefix'] = '';

$glob['dbusername'] = 'username';

$glob['installed'] = '1';

$glob['rootDir'] = '/home/.sites/101/site208/web/store'; this was set by default

$glob['rootRel'] = '/store/';

$glob['storeURL'] = 'http://www.virtual-lifestyles.com/store';

?>

Appreciate any help..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...