Forums / General Questions / Create account not working

Create account not working

Locked
Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Feb 2010, 07:58
#1
gruntre69 avatar

gruntre69

Zen Follower

Join Date:
Aug 2005
Posts:
103
Plugin Contributions:
0

Create account not working

I've cloned an existing 1.3.7 shop and changed the template. I thought I had it working correctly but for some reason when submitting the blank create account page it just reloads the page and fails to arrive at create account success.

I've had a good read on this forum and checked all the create account files I can find and cant seem to find the answer.
I've run the debugging tool and here are the results.

[22-Feb-2010 07:35:00] PHP Warning: main(includes/modules/create_account.php): failed to open stream: No such file or directory in /hsphere/local/home/waycool/totalcontrol.com.au/includes/modules/pages/create_account/header_php.php on line 17
[22-Feb-2010 07:35:00] PHP Warning: main(includes/modules/create_account.php): failed to open stream: No such file or directory in /hsphere/local/home/waycool/totalcontrol.com.au/includes/modules/pages/create_account/header_php.php on line 17
[22-Feb-2010 07:35:00] PHP Warning: main(includes/modules/create_account.php): failed to open stream: No such file or directory in /hsphere/local/home/waycool/totalcontrol.com.au/includes/modules/pages/create_account/header_php.php on line 17
[22-Feb-2010 07:35:00] PHP Warning: main(): Failed opening 'includes/modules/create_account.php' for inclusion (include_path='.:/hsphere/shared/apache/libexec/php4ext/php/') in /hsphere/local/home/waycool/totalcontrol.com.au/includes/modules/pages/create_account/header_php.php on line 17


My header_php file is identical to the working site and line 17 is:
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CREATE_ACCOUNT));

I have no idea where to go from here but feel that I'm very close to an answer and that it is likely a missing file or error with an upload.

Everything else on the site works correctly including log in for existing customers and checkout.

Any ideas would be greatly appreciated!

Cheers
22 Feb 2010, 08:27
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Posts:
3,427
Plugin Contributions:
2

Re: Create account not working

Take a look at your cloned configure.php files (one in catalog/includes the other in admin/includes) and compare the server address in the cloned files to the actual location of your clone on your server.

This might give you a clue

Frank
22 Feb 2010, 09:19
#3
gruntre69 avatar

gruntre69

Zen Follower

Join Date:
Aug 2005
Posts:
103
Plugin Contributions:
0

Re: Create account not working

Thanks Frank. I'm fairly certain that those 2 configure files are correct as the paths were adjusted for the location of the cloned site which is on the same hosting account in a subdirectory. I played around for a bit getting them correct and thought I had everything working. I didn't actuall check the create account process.

I was hoping that the data from the error log would be helpful to somebody who knows more about Zen structure.

Can anybody tell me where to look for this zen_get_module_directory(FILENAME_CREATE_ACCOUNT)???
22 Feb 2010, 09:41
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Create account not working

gruntre69:

[22-Feb-2010 07:35:00] PHP Warning: main(includes/modules/create_account.php): failed to open stream: No such file or directory in ...


The error messages usually tell you what's wrong, as it does in this case.
Namely, your /includes/modules/create_account.php file doesn't exist on the server.
Or, if it does exist, then you've got its permissions set differently than everything else.
22 Feb 2010, 10:33
#5
gruntre69 avatar

gruntre69

Zen Follower

Join Date:
Aug 2005
Posts:
103
Plugin Contributions:
0

Re: Create account not working

Thanks for this Dr Byte, you are a legend and your help is invaluable. The fact that you give your time to so many people is so greatly appreciated by myself and I'm sure many others.

It turned out that the /includes/modules/create_account.php was actually in a custom template folde under modules but I had not renameded it for the new template name when I cloned the site. A simple folder name change sorted this out and now is all working.

Thanks again for the awesome community service.