Jump to content

Recommended Posts

Posted

Hi on my tommy account: payres

I had a script using imap which was working fine for some time, now its throwing an error say function not defined. When I go into pear, I get this message:

ERROR: The default config file is not a valid config file or is corrupted.

and if I try and install imap again I get:

There was a problem fetching the list of available modules.

 

thanks

Posted
1 hour ago, johnclarke said:

ERROR: The default config file is not a valid config file or is corrupted.

That error can be caused by having a corrupt .pearrc file. I deleted yours and it looks like it recreated with valid contents.

1 hour ago, johnclarke said:

I had a script using imap which was working fine for some time, now its throwing an error say function not defined.

It looks like your account is just using the default php which used to be 7.3. When I installed 7.4 and 8.0 it made 7.4 the default, which is fine, but it seems like it changed some people's php version. So it may be that you were using 7.3 before, and it was all working, and then it stopped working when you were forced to switch to 7.4. I switched you back to 7.3. Does everything work like it used to? If so you can continue using 7.3 or upgrade to 7.4 or 8.0 when you feel like it.

  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...