Search
Other GeoIp questions
Forum

Error 500 on sync

Floris Langendam's Avatar Floris Langendam
I have updated my website to Joomla 4.1.5 and updated your components.

Now I tried to sync the Mastermind DB or re-download the DB. In both cases I get an Error
Sorry, there was a problem we could not recover from.
The server returned a "500 - Whoops, looks like something went wrong."

I tried an update on another website that is on Joomla 3.10.11 and there the sync and re-download works fine.

Is this a known problem?
Peter van Westen's Avatar Peter van Westen ADMIN
Have you tried re-installing the Regular Labs GeoIp extension?
Please post a rating at the Joomla! Extensions Directory
Floris Langendam's Avatar Floris Langendam
Yes, I have re-installed the GeoIp-extension, but the result is the same error 500.
Peter van Westen's Avatar Peter van Westen ADMIN
Can you give me (super) admin and (s)ftp access so I can take a look?
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Floris Langendam's Avatar Floris Langendam
Hi Peter,

Backend
Confidential information:
(hidden)


FTP
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
After entering the admin credentials, the site asks me for a server login...
Please post a rating at the Joomla! Extensions Directory
Floris Langendam's Avatar Floris Langendam
I don't know why you should enter server login.
I tried to login at the backend without any problem.
Peter van Westen's Avatar Peter van Westen ADMIN
Please post a rating at the Joomla! Extensions Directory
Floris Langendam's Avatar Floris Langendam
Hi Peter,

Ik vermoed dat je niet de url gebruikt die ik heb opgegeven (zo lijkt het op het screenshot).

Deze moet zijn
Confidential information:
(hidden)
.

Als je die wel gebruikt heb, dan begrijp ik het getoonde inlogscherm dat je me stuurt niet.
Peter van Westen's Avatar Peter van Westen ADMIN
I am using that url.
Probably you have AdminTools or something that is blocking the admin via IP and redirecting to the frontend or something.
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
This could also very well be the reason why the GeoIP syncing is failing...
Please post a rating at the Joomla! Extensions Directory
Floris Langendam's Avatar Floris Langendam
I have disabled the Admin-tools component but the result of syncing the Maxmind-db is still negative (Error 500).
Peter van Westen's Avatar Peter van Westen ADMIN
Sorry, but I still can't log into the admin. Keeps asking me for that server password afterward.
Not much I can check without being able to see the issue.
Please post a rating at the Joomla! Extensions Directory
Floris Langendam's Avatar Floris Langendam
I tested my website on a different IP-address and it works fine.

Did you use the button "Webauthentication" perhaps?
Peter van Westen's Avatar Peter van Westen ADMIN
I was able to get in now using a different IP address too (VPN).

I enabled debugging and now the full error shows:
OutOfMemoryError 
Error: Allowed memory size exhausted

So it looks like your PHP memory settings are set pretty low, causing the GeoIP database file to not get loaded or written.

Solution: up your max memory settings.
Please post a rating at the Joomla! Extensions Directory
Floris Langendam's Avatar Floris Langendam
Thanks,
I have set the memory higher and now the sync was succesful.
Peter van Westen's Avatar Peter van Westen ADMIN
Great! ?
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in