Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Suddenly a server error


Ken_Shea

Recommended Posts

Had Osc V4.x installed for testing on the server

The link https://otsov4.xx.ontargetsportsonline.com/admin/login had loaded admin backend previously but now does not and get this error

Any suggestions?

Thank you

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.

Link to comment
Share on other sites

Did get this back from web host,

Sadly I'm clueless :(

I have checked this for you and it appears that the error in question is originating from the Yii framework that's used by the website.
 

Link to comment
Share on other sites

On 3/4/2023 at 6:32 PM, Ken_Shea said:

Had Osc V4.x installed for testing on the server

The link https://otsov4.xx.ontargetsportsonline.com/admin/login had loaded admin backend previously but now does not and get this error

Any suggestions?

Could you send me the log files from here: lib/backend/runtime/logs/*.log

You probably don't have your email set up.

 

Link to comment
Share on other sites

Thank you for looking into this

I did change the server which host the live web site and the V4 OSC testing.

I had to change the live site previous mail from SMPT  to sendmail due to not receiving order confirmation emails.

Had not tried V4 for some time so not sure if this email change could have caused the V4 problem when it had been working, just mentioning it in case it might be a factor.

 

 

app.log list.log sql_error.log

Link to comment
Share on other sites

21 hours ago, Ken_Shea said:

The error occurs because your database losses the base language constant. It seems you deleted languages or something like that.

If you are still testing and don't fill in the database, I recommend that you reinstall osCommerce

21 hours ago, Ken_Shea said:

just reverted sendmail back to smtp, cleared browser cache, cleared server cache tried the link provided, still get the error.

We are writing the manual for setting up the email sending. You can read this thread for now: https://www.oscommerce.com/forums/topic/498267-smtp-w-tls-on-separate-mail-server-osc-v4/

Link to comment
Share on other sites

I did delete all products using the available option to "Delete all demo products" but it did function after that.

It errors out now before entering the login page.

Before reinstalling believe it might be wise to just wait a couple months in hopes of further issues being found and corrected.

Link to comment
Share on other sites

2 hours ago, pandrei said:

@Ken_Shea

I've attached the file with all English translation constants. If you did not change the default language, just run it by mysql or PhpAdmin and error should gone.

translations411.sql 721.4 kB · 0 downloads

Pandrei, thank you however....... :)

What is meant by "run" in PhPadmin?

The Web Host wasn't sure either a bit more how to might help clear up the ?'s.

Wish I could afford to hire a developer at each need but that's not possible.

Link to comment
Share on other sites

3 hours ago, Ken_Shea said:

Pandrei, thank you however....... :)

What is meant by "run" in PhPadmin?

The Web Host wasn't sure either a bit more how to might help clear up the ?'s.

Wish I could afford to hire a developer at each need but that's not possible.

As I said earlier, the main part of database was corrupted. It seems you deleted the main language or something like that.

There is no easy solution for this case. So, I recommend that you reinstall osCommerce.

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...