cjdeal Posted October 31, 2010 Share Posted October 31, 2010 Hi guys, i seem to be having a few problems configuring PS. i have tried a lot of suggestions on here which didnt really help unfortunately ok the run down ...im currently with a host using windows ... i currently have more than 1 domain pointing to my host which i use a htacess rewrite rule to point to the right folder in my hosting account.i installed PS in a /prestashop folder prior to pointing the htaccess rewrite ... i configured everything and added all product informtion in PS and everything was working properly ... upon going to trial PS live i configured htacess file to rewrite domain to appropriate folder ...so far so good ...then i added rewriting rules to htaccess filei have updated ps uri in settings.inc to "/" instead of "/prestashop/" which was the original by installerchecked Front end and was loading ok however when trying to log in to BO, upon submitting form it will return to the form again ... after some investigation and looking in the cookies i discovered that PS was saving cookies in wrong path i.e /prestashop/admin***/ hence not recognising that i was already logged in .... because it should be saved in /admin***upon some tweaks in the login page and init.php ( $cookie-> new $cookie ) i managed to save cookie in the right path and can log in to back office. which i know this is a quick fix which for sure will probably affect somewhere else...so back office was ok for tab selection but when i went to update a record , a file not found page would populate ..the address was wrong as was pointing to www.domain.com/prestashop/admi***/....... instead it should be www.domain.com/admin***/ ...the problem is that the ps_base_uri seems to be pointing to the /prestashop folderie www.domain.com/admin*** is actually pointing to www.domain/prestashop/admin***/?.........if anyone has any solutions could you help ..kind regards Link to comment Share on other sites More sharing options...
Recommended Posts