Forums / All Other Contributions/Addons / Class "Mobile Detect" not found

Class "Mobile Detect" not found

Views: 1,436

Results 1 to 7 of 7
21 Sep 2024, 8:08 PM
#1
heavensportal avatar

heavensportal

New Zenner

Join Date:
Jun 2021
Posts:
95
Plugin Contributions:
0

Class "Mobile Detect" not found

wrong code from log this is the latest one:

[21-Sep-2024 19:23:32 UTC] Request URI: /market/index.php?main_page=down_for_maintenance, IP address: 40.77.167.235
--> PHP Fatal error: Uncaught Error: Class "Mobile_Detect" not found in /home/fantasies/public_html/market/includes/templates/responsive_classic/common/html_header.php:36
Stack trace:
#0 /market/index.php(42): require()
#1 {main}
  thrown in /market/includes/templates/responsive_classic/common/html_header.php on line 36.

how to fix please

21 Sep 2024, 10:08 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Class "Mobile Detect" not found

heavensportal:

wrong code from log this is the latest one:

[21-Sep-2024 19:23:32 UTC] Request URI: /market/index.php?main_page=down_for_maintenance, IP address: 40.77.167.235
--> PHP Fatal error: Uncaught Error: Class "Mobile_Detect" not found in /home/fantasies/public_html/market/includes/templates/responsive_classic/common/html_header.php:36
Stack trace:
#0 /market/index.php(42): require()
#1 {main}
thrown in /market/includes/templates/responsive_classic/common/html_header.php on line 36.

> 
> how to fix please

That issue is not related to this module and seems surprising to occur considering responsive classic template is being used. 

Please either start a new issue outside of this module or search the Zen Cart forum a little more for an existing thread discussing that issue.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

21 Sep 2024, 11:13 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Class "Mobile Detect" not found

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

21 Sep 2024, 11:17 PM
#4
heavensportal avatar

heavensportal

New Zenner

Join Date:
Jun 2021
Posts:
95
Plugin Contributions:
0

Re: Class "Mobile Detect" not found

ok, I didn't get this error until I did ceon url mod and it all went well, although it did want me to add a file that was originally from 1.5.8, so when my page went into a blizzard I figured it was this mod since it isn't totally for my shop version yet. Which was all in my post prior to this one, but I guess the rest of it was fairly long and went to admins for approval????? if not get eaten by gremlins.

21 Sep 2024, 11:21 PM
#5
heavensportal avatar

heavensportal

New Zenner

Join Date:
Jun 2021
Posts:
95
Plugin Contributions:
0

Re: Class "Mobile Detect" not found

ok so then I need to find the file that it had me install and then the code to change to that on the page you linked.

21 Sep 2024, 11:26 PM
#6
heavensportal avatar

heavensportal

New Zenner

Join Date:
Jun 2021
Posts:
95
Plugin Contributions:
0

Re: Class "Mobile Detect" not found

yay doing the happy dance over here, thanks swguy

22 Sep 2024, 4:36 PM
#7
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Class "Mobile Detect" not found

Glad you had success with this. When doing an upgrade, always be sure to check this page (Release Specific Upgrades Considerations)

https://docs.zen-cart.com/user/upgrading/release_specific_upgrade_considerations/

which gives tips for people with modified installations (i.e. pretty much everyone).

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.