Guest fly12 Posted November 25, 2005 Share Posted November 25, 2005 I've managed to install the latest version of cubecart and the store looks great. But I can't access the admin - says page does not exist. I type in www.website.com/admin and it comes up as http://www.website.com/admin/admin/login.p...admin/index.php. Page does not exist. Does anyone know how to fix this?? Thanks! Quote Link to comment Share on other sites More sharing options...
roban Posted November 25, 2005 Share Posted November 25, 2005 Please post your includes/global.inc Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 25, 2005 Share Posted November 25, 2005 Yep, you have an incorrect URL in includes/global.inc.php. Just post the last 3 or 4 lines (because we don't want to see your database login details ) Quote Link to comment Share on other sites More sharing options...
Guest fly12 Posted November 25, 2005 Share Posted November 25, 2005 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' ; Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 25, 2005 Share Posted November 25, 2005 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. Quote Link to comment Share on other sites More sharing options...
roban Posted November 25, 2005 Share Posted November 25, 2005 Is your store in the root directory or in a directory named 'cart' or somesuch. Give us the url of your store please Quote Link to comment Share on other sites More sharing options...
Guest fly12 Posted November 25, 2005 Share Posted November 25, 2005 Thanks. The URL is http://www.allgreenorganics.com. The files are in the root directory now - I moved them from the directory /store in the file manager. I have deleted and uploaded again but with the same problem. I appreciate the help. Quote Link to comment Share on other sites More sharing options...
roban Posted November 25, 2005 Share Posted November 25, 2005 $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. Quote Link to comment Share on other sites More sharing options...
Guest fly12 Posted November 25, 2005 Share Posted November 25, 2005 thanks, tried both but still not working!! Quote Link to comment Share on other sites More sharing options...
Guest fly12 Posted November 25, 2005 Share Posted November 25, 2005 Thank you for all your help, it is working now. Cheers! Quote Link to comment Share on other sites More sharing options...
Guest WESH-UK Posted May 26, 2006 Share Posted May 26, 2006 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: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.