Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Join Date
    Jun 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Create User account - Getting 500 Error

    Complaining about an invalid email address would be just fine - but yes, failing to spot the invalid input and display a meaningful message (rather than a 500 error) is a bug.

    Of course, I'm not certain there is such a bug in this case. It could be a configuration error. Although this was a clean installation with no modifications. It might be worth others checking their stores to see if something similar occurs.

    zyper - thanks for that, I'll give your suggestion a try! I'm glad to hear you found a resolution to your problem too!!

    (BTW - I posted earlier as scarter2. I forgot I already had this account)

  2. #12
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

    Default Re: Create User account - Getting 500 Error

    Quote Originally Posted by zpyder View Post
    I'm having a major problem with users trying to create an account.

    When someone goes to checkout and they are a new user they are asked to complete a create account form. When they submit the form, the user gets a 500 error page. The user account is actually created, and they can then log in, but this certainly won't work for business. I need to resolve this issue quickly, either by fixing the resulting page or by not requiring the user to create an account.

    Any help would be greatly appreciated!

    thanks,
    matt
    Hi,
    I am having this same problem but I am using a valid email address and have received the welcome email. The account was created but I still got a http 500 error when submitted my information. This was not always the case but started about a week ago.

    I have checked the email settings and it is set to send PHP.
    This is already confusing/putting off customers so I need to try and fix it as soon as possible. Does anyone know which file might be missing or need editing?

    Any help greatly appreciated.

  3. #13
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

    Default Re: Create User account - Getting 500 Error

    Hello,
    It has been suggested to me that it is simply an incorrect address in the code but i don't know where and as I don't understant php it is impossible to spot.

    Has anyone found a solution?

  4. #14
    Join Date
    Dec 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: Create User account - Getting 500 Error

    Hi beep,

    Well it has been a long time since I had this issue now, but as you know mine was fixed by changing the email configuration to PHP. You said you set yours to PHP... If we are/were encountering the same issue, my only guess is that maybe yours shouldn't be PHP but something else. Just a guess, it's been a while!

    Best of luck!

  5. #15
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

    Default Re: Create User account - Getting 500 Error

    Hi zpyder,
    Thanks. As suggested I tried some other settings and it has made no difference. I don't know if i'd mentioned it but email has always been set to PHP and about 2 weeks ago it was working fine.

    I thought maybe the problem was that it was redirecting to the wrong location as the welcome email is sending ok. I compared the files named create_ account from the current online files and from the initial installation files. They are identical. It seems that somewhere in the script for the create account function there must be a redirect address as 'create_account' instead of myurl/store/index.php?main_page=create_account_success. If I past this address directly into the browser the create account sucess page does in fact exhist, it seems that it's just not being pointed to correctly.

    Any ideas?
    My site is here if you want to take a look

  6. #16
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Create User account - Getting 500 Error

    Quote Originally Posted by beep View Post
    This was not always the case but started about a week ago.
    Quote Originally Posted by beep View Post
    about 2 weeks ago it was working fine
    The most common root cause behind such statements is that something got changed on the webserver:
    - maybe something *you* did?
    - maybe something *your hosting company* did? (maybe they added/updated some mod_security rules?)

    Quote Originally Posted by beep View Post
    got a http 500 error when submitted my information. This was not always the case but started about a week ago.
    Have you looked at your server's apache errorlogs to see the actual error message which triggered the 500 message? That's the golden key.
    Have you talked to your hosting company about it? What was their response?
    If you can't access your own errorlogs, ask the hosting company for that information. And, while you're at it, ask them to look at the mod_security error logs, since that's most likely where you'll find the actual rule that's being triggered ... which will give you clues to how to avoid the security trap. Maybe the host is being too tight on rules.
    .

    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.

  7. #17
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

    Default Re: Create User account - Getting 500 Error

    Thanks DrByte,
    I checked the error log and it says 'http://www.myurl/store/index.php?main_page=login&zenid=********(removed)****** page does not exist'.

    I spoke to my host and they have made no changes to my security settings. They beleive it is a problem with the script and so cannot help.

    It may well have been something I did but I have uploaded a backup from before to problem occurred and it didnt revert back to it's former state. I have compared the template files to the original zen cart download and the create account template files are identicle.
    I am confused as to why it looks like is it just redirecting to the wrong location, as the emails and create account process work fine.

    Sorry if I am being dim but i do not understand PHP so it is quite difficult for me.

    Any help greatly appreciated.

  8. #18
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Create User account - Getting 500 Error

    Going directly to your main_page=create_account takes forever. It's not clear "why".

    The problems you describe are very unusual. Thus, it seems like something is damaged. Common causes of unexplainable behaviours include:
    - something interrupting normal operations because of hosting server configuration (but of course your host says they're not the cuplrit ... as always)
    - something damaged in your database. Maybe your database needs some cleaning? If your hosting control panel is cPanel, go into your list of MySQL databases, and click the "Repair this database" option to have it go through and repair all your tables in case they need it. Otherwise repair each table one at a time using phpMyAdmin's "operations" tab. Your hosting company should be able to help with the best approach for their server setup.
    - something damaged in your PHP files. I recommend a full compare of everything, by downloading everything from your webserver, and comparing those files against a backup, or even against originals, using a tool like WinMerge, as discussed here: http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    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.

  9. #19
    Join Date
    Dec 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: Create User account - Getting 500 Error

    Quote Originally Posted by beep View Post
    Thanks DrByte,
    I checked the error log and it says 'http://www.myurl/store/index.php?main_page=login&zenid=********(removed)****** page does not exist'.
    What I find odd about this is that "Page does not exist" should not manifest as a 500 Server Error - that should be a "404 Not Found" error...

    Just my initial reaction.

    matt

  10. #20
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

    Default Re: Create User account - Getting 500 Error

    Hello, some friends gave me a hand...

    The issue was that an error 500 (internal server error) page was appearing after submitting the new account details. However, the new account was created correctly and the welcome email was sent out.

    We isolated the issue to the create_account.php file. I commented out the section directly after sending the welcome email, about sending out additional emails that didn't seem essential in this case. The next line of code was the redirect to the create_account_success page. This now executed successfully and the user goes to the Account created successfully page.

    We're slightly concerned that this is a 'quick fix' and whether something else should be changed. I am now obviosly no longer cc'd into the new customer's welcome emails.

    I was unable to find a way to repair the mySQL database from the admin options so this is still outstanding.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Create User account from Admin
    By niccol in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 17 Feb 2012, 05:46 PM
  2. Create Account PHP 500 error
    By karimm in forum General Questions
    Replies: 12
    Last Post: 30 Sep 2010, 06:48 PM
  3. HTTP 500 Error on Create An Account
    By Clue5377 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 18 Aug 2008, 02:06 AM
  4. User Cannot Create Account. HELP!
    By yxw168 in forum General Questions
    Replies: 3
    Last Post: 19 Feb 2007, 08:24 PM
  5. Create user account
    By yorkc in forum Managing Customers and Orders
    Replies: 8
    Last Post: 4 Feb 2007, 03:35 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