Jump to content

Can't access admin


Guest fly12

Recommended Posts

Thanks alot: here's last 4 lines

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

$glob['rootDir' ] = '/home/allgreen/public_html/allgreenorganics' ;

$glob['rootRel' ] = '' ;

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

Link to comment
Share on other sites

Guest estelle

Okay, well your settings in global.inc.php look fine, so its weird that the URL is changing to .../admin/admin/...

Perhaps delete the admin directory from the root directory of your server (or just rename it). Then upload the admin directory again.

Link to comment
Share on other sites

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

$glob['rootDir' ] = '/home/allgreen/public_html/allgreenorganics' ;

$glob['rootRel' ] = '' ;

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

I assume your cart is in root directory public_html or your url would be http://www.allgreenorganics/allgreenorganics.com so delete the red part unless your url really is http://www.allgreenorganics/allgreenorganics.com. In which case leave the red part and change your url.

Link to comment
Share on other sites

  • 6 months later...
Guest WESH-UK

Hi All

I have just tried to move one of our clients stores from .co.uk/store to just .co.uk/ (Moved the store to the root web directory of public_html and now when we try to log into the admin section it doesnt work properly.

I have been reading other peoples issues with this and have tried editing the global.inc.php but all we get is a very basic login page and once you login we now get:

Warning: strpos(): Empty delimiter. in /home/blessedb/public_html/admin/includes/auth.inc.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /home/blessedb/public_html/admin/includes/auth.inc.php:46) in /home/blessedb/public_html/admin/includes/auth.inc.php on line 48

Here is our global.inc.php with the essentials obviously hidden:

<?php

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

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

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

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

$glob['dbprefix' ] = '' ;

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

$glob['rootDir' ] = '/home/blessedb/public_html/' ;

$glob['rootRel' ] = '' ;

$glob['storeURL' ] = 'http://www.blessedbeautiful.co.uk' ;

?>

Everything else is working fine, you can actually browser the website and buy stuff but the admin section seems all messed up.

I have also tried deleting the admin folder and re-uploading it again which didnt resolve anything.

What exactly does the 'rootRel' and 'installed' mean anyway?

Any help with this would be hugely appreciated as this store is now live.

Many Thanks

Richard :sourcerer:

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...