Jump to content

[SOLVED] 1.4.9 New Install Probs


Recommended Posts

I just installed 1.4.9 from a fresh download, set it up locally with WAMP and a couple wierd things happen.. first, if I dont type http:// in front of every url, it fails and goes to google trying to use https:// but even more frustrating is when I try to login to the admin panel, it redirects my successful login to a /a/ folder that does not exist. This is after a successful install from scratch, locally.

 

So in summary.. how to stop https forcing and how to stop admin login redirect.

 

Thanks in advance...

Edited by SuperCharlie (see edit history)
Link to comment
Share on other sites

Just to add some more info to this issue.. the version I installed is here.. http://www.prestashop.com/download/old/prestashop_1.4.9.0.zip off the download page here.. http://www.prestashop.com/en/download

I created a database, unzipped the files in a subfolder ,ran the install successfully, removed the install folder and renamed my admin folder. Yay.

My WAMP stuff.. Apache Version : 2.2.17 PHP Version : 5.3.4 Loaded Extensions :

  • Core
  • bcmath
  • calendar
  • com_dotnet
  • ctype
  • date
  • ereg
  • filter
  • ftp
  • hash
  • iconv
  • json
  • SPL
  • odbc
  • pcre
  • Reflection
  • session
  • standard
  • mysqlnd
  • tokenizer
  • zip
  • zlib
  • libxml
  • dom
  • PDO
  • openssl
  • SimpleXML
  • wddx
  • xml
  • xmlreader
  • xmlwriter
  • apache2handler
  • curl
  • gd
  • mbstring
  • mysql
  • mysqli
  • Phar
  • pdo_mysql
  • pdo_sqlite
  • mcrypt
  • mhash
  • xdebug

 

http://localhost/website/store/

redirects to

https://localhost/website/store/

then isnt found and google searches for it in firefox.exiting the website.

 

Attempts to log in to administrator result in a redirect to an invalid folder..

This is the login page even when I type it in without the redirect..

http://localhost/clients/nana%20janet/website/store/admin-nanna/login.php?redirect=a/

This page shows the login form.. when I successfully log in I am redirected here..

http://localhost/clients/nana%20janet/website/store/admin-nanna/a/

Which is a 404

 

Ive opened up all the files in the config folder and dont see a place for root website path but surely I am missing it somewhere or there is some way to set the root website path and to disable the ssl redirects on the front end.

Link to comment
Share on other sites

It seems the problem was probably some spacing in the folder name.. when I changed the foldername to a plain 8 text and then updated the

 

"config/settings.inc.php

define('__PS_BASE_URI__', '/folder_name/');"

 

as above.. it flew.

Lesson.. keep the foldernames simple and flat.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...