Post by Jawabri » Thu Oct 05, 2017 6:07 pm

Hello All,

I have installed Opencart for my website, and it was working perfectly! suddenly my site stopped and it started giving the following error if I try to access the homepage:
Notice: Error: Could not load config default! in /hermes/bosnacweb02/bosnacweb02ae/b2006/ipg.bloozarcom/99symbols/system/library/config.php on line 63

anyone can help please ?

Newbie

Posts

Joined
Thu Oct 05, 2017 6:01 pm

Post by yodapt » Thu Oct 05, 2017 10:36 pm

Check if this file exists : system/config/default.php

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by Jawabri » Sat Oct 07, 2017 4:37 pm

Yes it is there !

Newbie

Posts

Joined
Thu Oct 05, 2017 6:01 pm

Post by bumcarks » Sat Oct 07, 2017 4:52 pm

Please check the file exist system/library/config.php

New member

Posts

Joined
Sun Oct 01, 2017 5:34 pm


Post by Jawabri » Sat Oct 07, 2017 5:52 pm

Yes it is also there, I didnt touch anything, it was working perfectly !

Newbie

Posts

Joined
Thu Oct 05, 2017 6:01 pm

Post by straightlight » Sat Oct 07, 2017 8:56 pm

This issue may be caused by FTP uploads whether the transfer was not completed or the files were uploaded with the wrong file header mode. Reupload all files (without deleting any files but by simply replacing them) through your host's file manager console with the ZIP file and make a backup of your config.php and admin/config.php file before you do so. Clear your browsing cache and the Opencart cache. Re-upload your config.php file and admin/config.php file. Reload the platform.

This should resolved the problem.

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 rymann76 » Tue Oct 31, 2017 9:05 pm

Hello,
So just wanting to make sure the correct fix to this problem is to reinstall my version of open cart 3.0.2.0? This would be the only solution to the error

"Notice: Error: Could not load config default! in /home/xxxxxxx/public_html/system/library/config.php on line 63"

Thank You

Newbie

Posts

Joined
Sun Apr 13, 2014 12:48 am

Post by straightlight » Tue Oct 31, 2017 9:10 pm

There is nowhere to be said that Opencart needs to be completely reinstalled on this topic. However, if the system/config/default.php file does exist on your FTP, then the issue is with the setting database table. You may have missing entries. From PHPMyAdmin, in the setting table, ensure to have the: theme key defined to default. If the key exists but is defined to something else than default, ensure this custom theme actually exist on the server. If it does exist and the catalog/view/theme/default folder does not exist, re-upload that folder name to your server at that location. If the default folder name is there but the theme key in the setting has a different value than default, change it back to default .

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 straightlight » Tue Oct 31, 2017 9:26 pm

In addition, ensure in your layout table that you have the default theme as well as the config_theme key in your setting table that is defined to default (if not defined to something else already). If defined to something else and the config_theme key does exist, switch the value back to: default .

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 rymann76 » Tue Oct 31, 2017 9:56 pm

Hi,
Thanks for the info. In PHPmyadmin under appearance and settings section the theme is set to pmahomme with the other option being original. Not sure if this is what you are referring to, please excuse my ignorance.

Thank you for your time

Newbie

Posts

Joined
Sun Apr 13, 2014 12:48 am

Post by straightlight » Tue Oct 31, 2017 10:05 pm

Rename the pmahomme back to default and clear the browser cache. Then, close the browser, re-enter the admin store and see if the error message persists. Also ensure to have read my above's instructions to the letter before re-entering into the admin.

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 rymann76 » Fri Nov 03, 2017 6:39 am

Hello,
So this is what I have. The default folder is located in the catalog/view/theme/default within my cpanel. The options I have in PHPmyadmin are the pmahomme version mentioned earlier and original no default option. So I need to rename the pmahomme theme to default is this correct? I am searching online how to make this change back to the default theme as this is all new to me. Thanks, againg for your help.
Ryan

Newbie

Posts

Joined
Sun Apr 13, 2014 12:48 am

Post by straightlight » Fri Nov 03, 2017 6:45 am

No, the default folder should remain as is. You just need to ensure that the pmahomme folder also exist as a custom theme folder in the catalog/view/theme folder but from the database, ensure to rename the pmahomme back to default.

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 straightlight » Thu Mar 22, 2018 1:59 am

Thanks to the forum user: rhorne regarding pnahomme. This seem to be a PHPMyAdmin skin and not an Opencart theme. However, the provided steps on the above are valid regarding the keys and the values to look for where the default theme can be reloaded without having the error message on the topic subject in order to regain control of the store.

So to add, the pnahomme theme subject is off-topic based on the reported error message Opencart provides in this case.

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
Who is online

Users browsing this forum: Bing [Bot] and 75 guests