Post by MajorPain » Sat Dec 14, 2024 1:57 am

Using 3.0.4.0
whitewaterhoney.com

So I attempted to reinstall the Facebook Business extension and when I did it was telling me it was failling to connect to Facebook.
Likely because I had it previously and it was attempting to use the old setup settings.
So I disabled it and uninstalled it and it killed the frontend (500 error page) and backend (500 error page).
I also disabled some of the extensions via settings in the database thinking something might have conflicted. Haven't done all of them but wondering if I should do the rest.
I checked the files and all the Facebook Business files were deleted with uninstall and when I checked the database, it still showed all the Facebook lines in it.
I deleted everything for Facebook business from the database and I have weird access now.
Front end still 500. Admin I can now login and I get a 500 error after signing in.
The weird part is that the Dashboad page is 500 error. But I can change Dashboard to Sales in the url and I can access the admin area.
Just seems that the Dashboard is borked. And Facebook Business still shows in the menu options though uninstalled.
I double checked in extensions and Facebook Business isn't in the modules anymore which tells me it uninstalled.

I am guessing I need to refresh the Theme & SASS to get the Facebook to disappear in the menu but could be wrong. But can't access it.

Do I keep disabling the extensions I added to see if that helps or am I looking in the wrong place?
I did the developer browser tools and only see 500 error message.
I looked for error.log and no file so assuming no issues.
Last edited by MajorPain on Sat Dec 14, 2024 10:39 pm, edited 1 time in total.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by JNeuhoff » Sat Dec 14, 2024 2:10 am

There will be entries in your server's error log, ask your webhost for them, it's not the same as the OpenCart error.log.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by MajorPain » Sat Dec 14, 2024 4:41 am

Ok so contacted my hosting support and they suggested enabling display_erros in the PHP INI settings in cPanel.

Frontend error:
Fatal error: Uncaught Error: Class "FacebookCommonUtils" not found in /home/whitewaterhoney/storage/modification/catalog/controller/common/footer.php:6 Stack trace: #0 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerCommonFooter->index(Array) #1 /home/whitewaterhoney/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array) #2 /home/whitewaterhoney/public_html/catalog/controller/common/home.php(16): Loader->controller('common/footer') #3 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerCommonHome->index() #4 /home/whitewaterhoney/public_html/catalog/controller/startup/router.php(27): Action->execute(Object(Registry)) #5 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index() #6 /home/whitewaterhoney/storage/modification/system/engine/router.php(103): Action->execute(Object(Registry)) #7 /home/whitewaterhoney/storage/modification/system/engine/router.php(92): Router->execute(Object(Action)) #8 /home/whitewaterhoney/public_html/system/framework.php(179): Router->dispatch(Object(Action), Object(Action)) #9 /home/whitewaterhoney/public_html/system/startup.php(104): require_once('/home/whitewate...') #10 /home/whitewaterhoney/public_html/index.php(19): start('catalog') #11 {main} thrown in /home/whitewaterhoney/storage/modification/catalog/controller/common/footer.php on line 6

Guessing The extension didn't properly uninstall.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by MajorPain » Sat Dec 14, 2024 4:41 am

Admin Error:

Fatal error: Uncaught Error: Class "FacebookGraphAPIError" not found in /home/whitewaterhoney/storage/modification/admin/controller/common/dashboard.php:48 Stack trace: #0 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerCommonDashboard->index() #1 /home/whitewaterhoney/public_html/admin/controller/startup/router.php(26): Action->execute(Object(Registry), Array) #2 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index() #3 /home/whitewaterhoney/storage/modification/system/engine/router.php(103): Action->execute(Object(Registry)) #4 /home/whitewaterhoney/storage/modification/system/engine/router.php(92): Router->execute(Object(Action)) #5 /home/whitewaterhoney/public_html/system/framework.php(179): Router->dispatch(Object(Action), Object(Action)) #6 /home/whitewaterhoney/public_html/system/startup.php(104): require_once('/home/whitewate...') #7 /home/whitewaterhoney/public_html/admin/index.php(19): start('admin') #8 {main} thrown in /home/whitewaterhoney/storage/modification/admin/controller/common/dashboard.php on line 48

Same Facebook issue.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by Cue4cheap » Sat Dec 14, 2024 7:00 am

MajorPain wrote:
Sat Dec 14, 2024 4:41 am
Admin Error:

Fatal error: Uncaught Error: Class "FacebookGraphAPIError" not found in /home/whitewaterhoney/storage/modification/admin/controller/common/dashboard.php:48 Stack trace: #0 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerCommonDashboard->index() #1 /home/whitewaterhoney/public_html/admin/controller/startup/router.php(26): Action->execute(Object(Registry), Array) #2 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index() #3 /home/whitewaterhoney/storage/modification/system/engine/router.php(103): Action->execute(Object(Registry)) #4 /home/whitewaterhoney/storage/modification/system/engine/router.php(92): Router->execute(Object(Action)) #5 /home/whitewaterhoney/public_html/system/framework.php(179): Router->dispatch(Object(Action), Object(Action)) #6 /home/whitewaterhoney/public_html/system/startup.php(104): require_once('/home/whitewate...') #7 /home/whitewaterhoney/public_html/admin/index.php(19): start('admin') #8 {main} thrown in /home/whitewaterhoney/storage/modification/admin/controller/common/dashboard.php on line 48

Same Facebook issue.
Maybe didn't get installed or uninstalled properly or you didn't clear your caches?
Maybe you should SSH or FTP and manually delete the modification files?
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by MajorPain » Sat Dec 14, 2024 8:36 am

Cue4cheap wrote:
Sat Dec 14, 2024 7:00 am
MajorPain wrote:
Sat Dec 14, 2024 4:41 am
Admin Error:

Fatal error: Uncaught Error: Class "FacebookGraphAPIError" not found in /home/whitewaterhoney/storage/modification/admin/controller/common/dashboard.php:48 Stack trace: #0 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerCommonDashboard->index() #1 /home/whitewaterhoney/public_html/admin/controller/startup/router.php(26): Action->execute(Object(Registry), Array) #2 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index() #3 /home/whitewaterhoney/storage/modification/system/engine/router.php(103): Action->execute(Object(Registry)) #4 /home/whitewaterhoney/storage/modification/system/engine/router.php(92): Router->execute(Object(Action)) #5 /home/whitewaterhoney/public_html/system/framework.php(179): Router->dispatch(Object(Action), Object(Action)) #6 /home/whitewaterhoney/public_html/system/startup.php(104): require_once('/home/whitewate...') #7 /home/whitewaterhoney/public_html/admin/index.php(19): start('admin') #8 {main} thrown in /home/whitewaterhoney/storage/modification/admin/controller/common/dashboard.php on line 48

Same Facebook issue.
Maybe didn't get installed or uninstalled properly or you didn't clear your caches?
Maybe you should SSH or FTP and manually delete the modification files?
Mike
I already checked and files were deleted. I can't access the dashboard to refresh as I mentioned.
Also looked through Storage folder and nothing in there.
Do I need to refresh theme and sass?
Is there a way to do it if I can't access the dashboard.

Thanksfully this website has only a small amount of items and if I can't fix it, I might have to start it over.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by MajorPain » Sat Dec 14, 2024 8:38 am

Or, would installing the extension again resolve it maybe?

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by MajorPain » Sat Dec 14, 2024 10:00 pm

So finally got a little more time to sit and look at it.
Attempted to install the extension again via the installer and got an error on install.
Might have got it the first time. Just don't recall.

The directory admin/controller/module is not allowed to be written to!

Guess it just fails to upload all the files so did it manually with FTP.
Once files uploaded, the website is working again but the Facebook Business extension doesn't appear in the admin menu anymore.
Looking in the database, the installer didn't install the database portions.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by MajorPain » Sat Dec 14, 2024 10:39 pm

Ok everything is good now. Seems an issue with the link from the download website is incorrect.
When trying to download OC3 version I was getting OC2 version instead.
Luckily I have a folder of the extensions I use stored on my Google Drive and installed the correct version to fix everything.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am
Who is online

Users browsing this forum: lockiedownunder and 14 guests