Post by smwilson » Fri Oct 05, 2012 5:44 am

I am having several issues with re-directs not working.

in particular when I click register on the home page and register an account and click submit, I get a blank screen.

my domain is shop.abbeystationery.com

After registration I should be redirected to this link

http://shop.abbeystationery.com/index.p ... nt/success (which works)

which confirms the successful registration, instead I am getting redirected to

http://shop.abbeystationery.com/index.p ... t/register (which is the same page as the registration form is based)

However instead of returning to a form I get a blank screen.

I have checked register.tpl, register.php, config.php etc etc and cant seem to find out why the page isnt redirecting. It is obviously an issue since i migrated the site to a new host because shop.realityslab.com (the original site) the redirects work fine and it is the same files.

I'm sure this is a very basic problem but I just cannot find out why it isn't redirecting.

on a different note

I am also having a similar issue whereby after a successful transaction using worldpay I am not being redirected back to the site (instead I am being stuck on the worldpay site) I also know the redirection address which will allow it to do it, it is
http://shop.abbeystationery.com/index.p ... y/callback

but again the redirection fails. (if you click on the worldpay redirection link it will actually work although it appears opencart isn't accepting redirects.

I can only assume the issues are related and It's driving me crazy :drunk:

any help or ideas would be appreciated

Update

my register.php file mentions the redirect as $this->redirect($this->url->link('account/success'));

it's possible a variable set somehwere which is wrong which isn't allow the redirect to work?

Sam

New member

Posts

Joined
Tue Dec 20, 2011 7:05 pm

Post by SXGuy » Fri Oct 05, 2012 3:23 pm

have you checked your config.php and admin/config.php files to make sure you have correctly set up the new url paths?

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by smwilson » Fri Oct 05, 2012 5:49 pm

Ok the admin/config could potentially be wrong (at least it looks messy)

I have attached the code (wthout the db details at the bottom.)

<?php
// HTTP
define('HTTP_SERVER', 'http://shop.abbeystationery.com/admin/');
define('HTTP_CATALOG', 'http://shop.abbeystationery.com/');
define('HTTP_IMAGE', 'http://shop.abbeystationery.com/image/');

// HTTPS
define('HTTPS_SERVER', 'http://shop.abbeystationery.com/admin/');
define('HTTPS_IMAGE', 'http://shop.abbeystationery.com/image/');

// DIR
define('DIR_APPLICATION', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\admin/');
define('DIR_SYSTEM', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\system/');
define('DIR_DATABASE', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\system/database/');
define('DIR_LANGUAGE', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\admin/language/');
define('DIR_TEMPLATE', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\admin/view/template/');
define('DIR_CONFIG', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\system/config/');
define('DIR_IMAGE', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\image/');
define('DIR_CACHE', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\system/cache/');
define('DIR_DOWNLOAD', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\download/');
define('DIR_LOGS', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\system/logs/');
define('DIR_CATALOG', '\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com\shop.abbeystationery.com\wwwroot\catalog/');

New member

Posts

Joined
Tue Dec 20, 2011 7:05 pm

Post by smwilson » Fri Oct 05, 2012 5:50 pm

What is "\\\\FH-Filesrv1\FH-Webcluster\Sites\abbeystationery.com" is the hosting path wrong?

New member

Posts

Joined
Tue Dec 20, 2011 7:05 pm

Post by smwilson » Fri Oct 05, 2012 10:01 pm

I will pay for a fix, if someones up for it :-[

New member

Posts

Joined
Tue Dec 20, 2011 7:05 pm

Post by ghondor » Tue Jun 04, 2013 4:53 am

i have the same issue. Blank page after registration form. I spent whole day but nothing!. i will inform you if i resolve.

Newbie

Posts

Joined
Tue Jun 04, 2013 4:50 am

Post by ghondor » Tue Jun 04, 2013 6:03 am

Heey, i got it!!
I checked error logs and found that:
Warning: fsockopen() [function.fsockopen]: unable to connect to mail.yahoo.com:587 (Connection timed out) in /home/aydinlat.com/httpdocs/system/library/mail.php on line 153Notice: Error: Connection timed out (110) in /home/aydinlat.com/httpdocs/system/library/mail.php on line 156

This means a typical mail error, i rechecked my mail settings and it is ok now.

The blank page probably means there is an error thats stopping the page from loading but not showing because you turned it from displaying. check your php error logs as well.

ps: Where is my money :D

Newbie

Posts

Joined
Tue Jun 04, 2013 4:50 am
Who is online

Users browsing this forum: No registered users and 121 guests