Post by iiwiinl » Sat Aug 29, 2020 5:20 pm

After downloading 2 language packs from the OpecCart store

I got the following error attach/ Internal Server Error

anyone knows what's wrong here?

Newbie

Posts

Joined
Sat Aug 29, 2020 5:16 pm

Post by straightlight » Sat Aug 29, 2020 11:02 pm

- OC version
- Error / Server Access Logs.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by iiwiinl » Sat Aug 29, 2020 11:43 pm

Thanks... But what this actually means?!?

Newbie

Posts

Joined
Sat Aug 29, 2020 5:16 pm

Post by khnaz35 » Sat Aug 29, 2020 11:59 pm

iiwiinl wrote:
Sat Aug 29, 2020 11:43 pm
Thanks... But what this actually means?!?
What is your opencart version?
What is your error log or Server side error shows?

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by iiwiinl » Sun Aug 30, 2020 12:52 am

Thanks!
3.1.4

What is your error log or Server side error shows? - where can i found this?

Newbie

Posts

Joined
Sat Aug 29, 2020 5:16 pm

Post by khnaz35 » Sun Aug 30, 2020 1:00 am

iiwiinl wrote:
Sun Aug 30, 2020 12:52 am
Thanks!
3.1.4

What is your error log or Server side error shows? - where can i found this?
here https://prnt.sc/u82ybk

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by iiwiinl » Sun Aug 30, 2020 1:04 am

Something on my PHP?

2020-08-28 19:52:40 - PHP Warning: mysqli::__construct(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/joaotoscano/public_html/sickfy.com/system/library/db/mysqli.php on line 7
2020-08-28 19:52:40 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/joaotoscano/public_html/sickfy.com/system/library/db/mysqli.php on line 10
2020-08-28 19:52:40 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/joaotoscano/public_html/sickfy.com/system/library/db/mysqli.php on line 10

Newbie

Posts

Joined
Sat Aug 29, 2020 5:16 pm

Post by khnaz35 » Sun Aug 30, 2020 1:11 am

iiwiinl wrote:
Sun Aug 30, 2020 1:04 am
Something on my PHP?

2020-08-28 19:52:40 - PHP Warning: mysqli::__construct(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/joaotoscano/public_html/sickfy.com/system/library/db/mysqli.php on line 7
2020-08-28 19:52:40 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/joaotoscano/public_html/sickfy.com/system/library/db/mysqli.php on line 10
2020-08-28 19:52:40 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/joaotoscano/public_html/sickfy.com/system/library/db/mysqli.php on line 10
Your demo site DB doesn't seems to be connected with your site.
Check your username, password in both config files.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by iiwiinl » Sun Aug 30, 2020 1:17 am

If the site DB (that's hosted in GoDaddy) wasn't connected some things such as the popup newsletter pictures that i've changed there will not show up .. s this correct?

Newbie

Posts

Joined
Sat Aug 29, 2020 5:16 pm

Post by khnaz35 » Sun Aug 30, 2020 1:23 am

iiwiinl wrote:
Sun Aug 30, 2020 1:17 am
If the site DB (that's hosted in GoDaddy) wasn't connected some things such as the popup newsletter pictures that i've changed there will not show up .. s this correct?
I didn't see any attachment in your message.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by iiwiinl » Sun Aug 30, 2020 1:26 am

apologies ... config files .. which ones?

Newbie

Posts

Joined
Sat Aug 29, 2020 5:16 pm

Post by khnaz35 » Sun Aug 30, 2020 1:28 am

Check both
Where did you created your sub directory and in admin as well.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by iiwiinl » Sun Aug 30, 2020 1:58 am

you mean the config.php file?

Newbie

Posts

Joined
Sat Aug 29, 2020 5:16 pm

Post by khnaz35 » Sun Aug 30, 2020 2:39 am

Yes!

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by iiwiinl » Sun Aug 30, 2020 4:41 am

You mentioned 2 config files

One is the one i can find in the file manager im ny control panel from GoDaddy. Where's the other?

Newbie

Posts

Joined
Sat Aug 29, 2020 5:16 pm

Post by by mona » Sun Aug 30, 2020 5:00 am

Welcome to Opencart

Please have a quick read to understand the basics of the filing structure.
https://isenselabs.com/posts/opencart-theme-development
http://docs.opencart.com/en-gb/developer/module/

You have two config files
they should be
root/config.php
root/admin/config.php

DO NOT POST ANY PASSWORDS OR CONFIDENTIAL INFORMATION

root means
public_html/sickfy.com/
public_html/sickfy.com

In addition there are some other things, but as a rule ..
At the bottom of your admin screen there is a version number : ALWAYS QUOTE IT ON A POST

and be aware that we will help you to the best of our ability with Opencart (which the issue above does appear to be Opencart), but Journal support is https://support.journal-theme.com (which relates to your other posting) .. people may respond if they happen to know, but do not take it personally.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 6 guests