Community Forum

If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 AndyKB 19-06-2020 18:29:22

Had a quick look round the forum and google search but couldnt find a post on this issue.
I have got it all working but see the following error after trying to check out.

Does anyone have an idea of what maybe causing this?

- - - - - - - - - - - - - - - - - - -
[Error Code: 1] Uncaught Error: Class 'MaxMind\Db\Reader' not found in /home/mixset/public_html/shop/control/classes/class.ip.php:37
Stack trace:
#0 /home/mixset/public_html/shop/control/system/_ajax.php(287): geoIP->lookup('188.28.66.110', 'Unknown')
#1 /home/mixset/public_html/shop/index.php(44): include('/home/mixset/pu...')
#2 {main}
  thrown
[Date/Time: 19 June 2020 @ 19:20PM]
[Fatal error on line 37 in file /home/mixset/public_html/shop/control/classes/class.ip.php]
- - - - - - - - - - - - - - - - - - -

#2 msworld 20-06-2020 14:35:20

I will probably remove Maxmind in the next update.

In answer to your question. Does the 'control/lib/maxmind' folder and all files exist?

#3 AndyKB 21-06-2020 01:20:07

Hi there, yes the folder path exists and has files in it.

#4 msworld 21-06-2020 02:36:46

Strange. When does the error occur? During account creation?

#5 AndyKB 21-06-2020 12:19:39

It happends at checkout.

At the stage when "Choose Payment Method", I only have Paypal so I click next and then get error on page "A fatal error has occurred. For more details please view "logs/mm-fatal-errors.log"."

I have this installed on a sub-domain, I assume that wouldnt confuse things?

#6 AndyKB 21-06-2020 12:21:46

The only other issue I have noticed is at login, after putting in user and password and clicking login I get the stuck spinning image.

#7 AndyKB 21-06-2020 12:27:13

Tried it a few times now, slight difference in the error, no idea if that helps?

[19-Jun-2020 19:20:14 Europe/London] PHP Fatal error:  Uncaught Error: Class 'MaxMind\Db\Reader' not found in /home/mixset/public_html/shop/control/classes/class.ip.php:37
Stack trace:
#0 /home/mixset/public_html/shop/control/system/_ajax.php(287): geoIP->lookup('188.28.66.110', 'Unknown')
#1 /home/mixset/public_html/shop/index.php(44): include('/home/mixset/pu...')
#2 {main}
  thrown in /home/mixset/public_html/shop/control/classes/class.ip.php on line 37
[19-Jun-2020 19:20:33 Europe/London] PHP Fatal error:  Uncaught Error: Class 'MaxMind\Db\Reader' not found in /home/mixset/public_html/shop/control/classes/class.ip.php:37
Stack trace:
#0 /home/mixset/public_html/shop/control/system/basket.php(46): geoIP->lookup('188.28.66.110', 'Unknown')
#1 /home/mixset/public_html/shop/index.php(44): include('/home/mixset/pu...')
#2 {main}
  thrown in /home/mixset/public_html/shop/control/classes/class.ip.php on line 37
[21-Jun-2020 13:15:47 Europe/London] PHP Fatal error:  Uncaught Error: Class 'MaxMind\Db\Reader' not found in /home/mixset/public_html/shop/control/classes/class.ip.php:37
Stack trace:
#0 /home/mixset/public_html/shop/control/system/_ajax.php(287): geoIP->lookup('92.41.159.179', 'Unknown')
#1 /home/mixset/public_html/shop/index.php(44): include('/home/mixset/pu...')
#2 {main}
  thrown in /home/mixset/public_html/shop/control/classes/class.ip.php on line 37
[21-Jun-2020 13:16:56 Europe/London] PHP Fatal error:  Uncaught Error: Class 'MaxMind\Db\Reader' not found in /home/mixset/public_html/shop/control/classes/class.ip.php:37
Stack trace:
#0 /home/mixset/public_html/shop/control/system/basket.php(46): geoIP->lookup('92.41.159.179', 'Unknown')
#1 /home/mixset/public_html/shop/index.php(44): include('/home/mixset/pu...')
#2 {main}
  thrown in /home/mixset/public_html/shop/control/classes/class.ip.php on line 37

#8 msworld 23-06-2020 05:38:06

Can you send me a dump of your database so I have all the same settings? Hopefully I can replicate it then. Use the backup option in the music system and remove any sensitive data from the dump. Thanks.

support@maianscriptworld.co.uk

#9 AndyKB 23-06-2020 08:33:10

Hi David, I have just sent you the db dump via that email address.

#10 msworld 23-06-2020 18:16:40

Thanks Andy, I'll check for you asap.

#11 msworld 24-06-2020 06:26:55

Ok, well I imported your database, ran it through and it worked fine. No problems at all.

Try replacing the entire 'control/lib/maxmind' folder again, see if that helps.

#12 AndyKB 24-06-2020 14:25:32

Hi, tried that and even took it out of subdomain and just used domain/shop/ with same issue.
Do you think it is just the Paypal payment method or something else?

#13 msworld 24-06-2020 17:37:45

No, it's not Paypal related, it's Maxmind. If you switch off Maxmind, does it still happen?

Settings > Maxmind Settings > Enable Maxmind GeoIP Functions = OFF

#14 AndyKB 24-06-2020 19:16:47

That seems to have cleared it smile

#15 msworld 25-06-2020 04:02:55

Yes, I thought it would. But still, I would like to know the problem.

What PHP version are you running?

#16 AndyKB 25-06-2020 08:12:37

I am running PHP 7.2 with the following settings:

-----------------------------------
disable_functions='contact_support_to_change_this, dl, openlog, syslog, exec, passthru, shell_exec, proc_open, system, popen, fsockopen, ftp_connect, posix_setuid, socket_create, socket_create_listen, socket_create_pair, pfsockopen, putenv, pcntl_exec, pcntl_fork'

extension=pdo.so
extension=pdo_mysql.so
extension=mysqli.so
extension=zip.so
-----------------------------------

#17 msworld 30-06-2020 02:32:19

Ok, thanks. Bit of a mystery at the moment. But like I say, Maxmind being removed in the upcoming v3.0 anyway, so I won't spend any more time on it.

Board footer

Maian Script World - Free PHP Software for Personal or Business Use.
© 2003-2020 Maian Script World & David Ian Bennett.

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World

Free PHP Software / Responsive PHP Scripts / Lightweight PHP Software / White Label PHP Software