leelee23 Posted July 29, 2010 Share Posted July 29, 2010 Hi there - wondering if someone would be kind enough to give me some help, as this is really frustrating me!I've just changed from a (quite basic) web host to an actual decent one, and this is causing me some issues. I've followed other forum threads about changing and I've uploaded all of my files into the correct directory (previously it was at "/" but this latest one is "/public_html/") and I can view some images such as /img/loadingAnimation.gif fine so I know the files are there.The issue I have is loading any pages - such as index.php. The other threads mentioned going into the settings.inc and altering the details - but having done this and reloading index.php, all I'm seeing is a blank page and when I view source there is literally nothing there.Here's my current settings.inc:<?phpdefine('__PS_BASE_URI__', '/public_html/');define('_THEME_NAME_', 'prestashop');define('_DB_NAME_', 'example');define('_DB_SERVER_', 'localhost');define('_DB_PREFIX_', 'ps_');define('_DB_TYPE_', 'MySQL');define('_DB_USER_', 'examplename');define('_DB_PASSWD_', 'examplepw');define('_COOKIE_KEY_', '1t94fviKsBDXxAF2TZUQL98mnDnnRV6hYSUXZEVf7AImX1R2obRCwJsO');define('_COOKIE_IV_', '1WfiiVCJ');define('_PS_VERSION_', '1.2.5.0');?>(obviously I've excluded the actual names of the database, username and password for security reasons - but hopefully you'll get the point)Can anyone see anything blindly obviously wrong with this or happen to have any other ideas as to how I could solve this... as it's really really frustrating!!!!!!!Thanks,Lee Link to comment Share on other sites More sharing options...
rocky Posted July 30, 2010 Share Posted July 30, 2010 You should not include public_html in your PS_BASE_URL (unless your customer are entering http://www.yoursite.com/public_html, which is unlikely). You should change it from 'public_html' to '/' (with straight quotes instead of angle quotes). Link to comment Share on other sites More sharing options...
leelee23 Posted August 11, 2010 Author Share Posted August 11, 2010 Hi rocky,Thanks for that.. that seemed to do the trick... as I now see the maintence page as my index.php and can also view images stored further in.. for example within the /img/ folder.The problem I now have is acccessing my admin_access folder... i know the directory can be found as there is a .htpassword in there that asks me for the password - putting proceeding that - i get the following: Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Any ideas why this may be? Is there an additional config file within the admin folder that needs to be changed aswell? It's really confusing me - and there's nothing I can find within the error log! Any help would be greatly appreciated!!!ThanksLee Link to comment Share on other sites More sharing options...
rocky Posted August 12, 2010 Share Posted August 12, 2010 I've never tried using a .htpasswd file to protect the admin folder. I thought just renaming the admin was secure enough. Can you access your renamed admin directory without the .htpasswd file? Link to comment Share on other sites More sharing options...
eltitos Posted August 12, 2010 Share Posted August 12, 2010 hi,If there is a .htpassword then you should have a .htaccess in your admin folder.Try to rename it, then check if you can access to the admin.For more security the .htpassword shouldn't be in the www path if possible Link to comment Share on other sites More sharing options...
leelee23 Posted August 12, 2010 Author Share Posted August 12, 2010 Hi rocky and eltitos,Thanks very much for your input.. for some reason I was convincing myself it can't have been the .htaccess and .htpassword files but on closer inspection the .htaccess link to the directory needed to be changed to reflect the new host - so all is sorted and I can now log in again! Thanks again, much appreciated!! Link to comment Share on other sites More sharing options...
leelee23 Posted August 17, 2010 Author Share Posted August 17, 2010 Apparently there's one other issue I seem to be having after changing servers... none of the Ajax modules are working (checkout, search, carousel etc) I can't see any options within the Admin panel that suggests anything re-activating Ajax - and ideas?Thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now