Jump to content

There is no Redirection to my-account after created account


Recommended Posts

Can anybody help me? I'm  a newbie

 

I've just installed prestashop ver. 1.5.5.0 / theme default, and i "found" 2 problems:

 

1. After an account is created there is no redirection to any page... remain a blank page.

 

2. The same problem remain after a customer is finishing the order

 

there is a way to redirect, in first case to his account, and in the second case, to a page with some text... thx for shoping, your order will be ...?

 

Thank you!

Link to comment
Share on other sites

Server Name

server-0123

cPanel Version

11.38.2 (build 6)

Theme

x3

Apache version

2.2.24

PHP version

5.2.17

MySQL version

5.1.71-rel14.9

Architecture

x86_64

Operating system

linux

Shared IP Address

188.213.205.115

Path to sendmail

/usr/sbin/sendmail

Path to Perl

/usr/bin/perl

Perl version

5.10.1

Kernel version

2.6.32-458.6.2.lve1.2.30.el6.x86_64

cPanel Pro

1.0 (RC1)

Link to comment
Share on other sites

Thank you and sorry for your time!

 

 

http://www.vreauchirie.ro/2/

 

GET /2/ HTTP/1.1

Host: www.vreauchirie.ro

User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20100101 Firefox/23.0

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: ro-ro,ro;q=0.8,en-us;q=0.6,en-gb;q=0.4,en;q=0.2

Accept-Encoding: gzip, deflate

Cookie: 46d50b4ce9bc921e80127f1faec137f8=cWWsD0CWktc%2FQjKNa8oSMF75QWi7s76QEiuedxiIx5V4ZhTmjI9QkvFJjxuntoxzkOfoBOtCQhHBj14OKIyXh9uTV7GLjk8Vt2ymeHiHImWRdVqUYwWus6EDM8dmu%2FV6zQBraRlwuPfpWQ83Y%2F6hKw%3D%3D000105

Connection: keep-alive

 

HTTP/1.1 301 Moved Permanently

Content-Encoding: gzip

Vary: Accept-Encoding

Date: Mon, 02 Sep 2013 10:04:04 GMT

Connection: close

X-Powered-By: PHP/5.2.17

Content-Type: text/html; charset=utf-8

Cache-Control: no-cache

Location: http://www.vreauchirie.ro/2/ro/

Content-Length: 20

----------------------------------------------------------

http://www.vreauchirie.ro/2/ro/

 

GET /2/ro/ HTTP/1.1

Host: www.vreauchirie.ro

User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20100101 Firefox/23.0

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: ro-ro,ro;q=0.8,en-us;q=0.6,en-gb;q=0.4,en;q=0.2

Accept-Encoding: gzip, deflate

Cookie: 46d50b4ce9bc921e80127f1faec137f8=cWWsD0CWktc%2FQjKNa8oSMF75QWi7s76QEiuedxiIx5V4ZhTmjI9QkvFJjxuntoxzkOfoBOtCQhHBj14OKIyXh9uTV7GLjk8Vt2ymeHiHImWRdVqUYwWus6EDM8dmu%2FV6zQBraRlwuPfpWQ83Y%2F6hKw%3D%3D000105

Connection: keep-alive

 

HTTP/1.1 200 OK

Content-Encoding: gzip

Vary: Accept-Encoding

Transfer-Encoding: chunked

Date: Mon, 02 Sep 2013 10:04:04 GMT

Connection: close

X-Powered-By: PHP/5.2.17

Content-Type: text/html; charset=utf-8

P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"

----------------------------------------------------------

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

When i've change config/defines.inc.php set PS_MODE_DEV to true, i get the following error (trying to create a new account costumer):

 

Parse error: syntax error, unexpected T_FUNCTION in /home/vreauch/public_html/2/tools/swift/Swift/Message/Headers.php on line 424

Link to comment
Share on other sites

Weird, here is what I have, from 421 on

      
      if (false !== $p = strpos($encoded_value[$key], $this->LE))
      {
        $encoded_value[$key] = preg_replace_callback("/<([^>]+)>/", array($this, 'prestaShopReplace'), $encoded_value[$key]);
      }
      

Did you upgrade your version? Or are you using a fresh one? In the first case, try replacing the whole tools folder with a fresh one

Link to comment
Share on other sites

and this is what i have starting with 421 till 428

 

if (false !== $p = strpos($encoded_value[$key], $this->LE))

{

$encoded_value[$key] = preg_replace_callback("/<([^>]+)>/",

function ($matches)

{

return str_replace("' . $this->LE . '", "", "<$matches[1]>");

}, $encoded_value[$key]);

}

Link to comment
Share on other sites

×
×
  • Create New...