Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error (#2) while logging in


Saladmoon9

Recommended Posts

After I click login it redirects me to this page showing 

Error (#2)

An internal server error occurred.

The above error occurred while the Web server was processing your request.

Please contact us if you think this is a server error. Thank you.

How to solve this?

 

image.png.9eeb494939758cd14042c8d2bff71484.pngimage.png.c8ba418983a8569844bfec51d05c03a0.png

Link to comment
Share on other sites

19 hours ago, Saladmoon9 said:

Thanks for the log files.

The error happens because you do not configure mail server for php. By default in XAMPP php.ini under Windows it is configured as the following:

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

You can read how to configure SMTP server for XAMPP here: https://stackoverflow.com/questions/15965376/how-to-configure-xampp-to-send-mail-from-localhost

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
On 3/6/2023 at 6:03 AM, faisalhardiansyah said:

I have the same case, what is the solution if it is hosted online

 

10 hours ago, AmsXalim said:

Im facing same issue, every time I login.

Try replacing the file Mail.php as suggested in this comment:

https://www.oscommerce.com/forums/topic/498255-oscv4-website-email-configured-with-smtp-all-emails-get-sent-straight-to-spambox-and-the-website-host-blames-it-on-the-oscv4-engine/?do=findComment&comment=1828889

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...