Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2005
    Location
    Australia
    Posts
    110
    Plugin Contributions
    1

    Default 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
    Cheers all,

    Gruntre69

    WayCool
    Zen is Way Cool too!

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default 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

  3. #3
    Join Date
    Aug 2005
    Location
    Australia
    Posts
    110
    Plugin Contributions
    1

    Default 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)???
    Cheers all,

    Gruntre69

    WayCool
    Zen is Way Cool too!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Create account not working

    Quote Originally Posted by gruntre69 View Post
    [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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2005
    Location
    Australia
    Posts
    110
    Plugin Contributions
    1

    Default 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.
    Cheers all,

    Gruntre69

    WayCool
    Zen is Way Cool too!

 

 

Similar Threads

  1. Please Help! Create account not working!
    By Sellerz in forum General Questions
    Replies: 3
    Last Post: 5 Jan 2013, 12:02 AM
  2. Create account not working?
    By Johnnyh in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 2 Jan 2012, 12:01 AM
  3. Create Account Not Working
    By kconklin in forum Managing Customers and Orders
    Replies: 10
    Last Post: 10 May 2010, 04:33 AM
  4. Create Account not working properly
    By Kazzy in forum General Questions
    Replies: 8
    Last Post: 6 Apr 2010, 12:32 AM
  5. Urgent! Create Account not working.
    By dropbop in forum General Questions
    Replies: 7
    Last Post: 16 Oct 2009, 06:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg