Jump to content

Core4D

Clients
  • Posts

    168
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Core4D

  1. @Jim M

    I got a response from my host. According to them the issue is not with them. Any chance you can check this?

     

    Hello, 
     
    In regards to what IPS has said:
     

    If you are indeed running PHP 8.1, likely the path listed in your php.ini is incorrect for sessions as lists PHP 7.1: /var/cpanel/php/sessions/ea-php71

     
     
    You can get this information by running the following:
     
    grep "session.save_path" /opt/cpanel/ea-php81/root/etc/php.in
     

    session.save_path = "/var/cpanel/php/sessions/ea-php81"
    ; (see session.save_path above), then garbage collection does not

    This shows you that it is correct. 
     
    This shows you that it's writable:
     
    ls -ld /var/cpanel/php/sessions/ea-php81

    drwx-wx-wt 2 root root 4096 May 3 03:36 /var/cpanel/php/sessions/ea-php81

     

  2. 19 minutes ago, Jim M said:

    When going to the upgrade page, I am no longer seeing the issue about the date / time function but rather just a session issue:

    If I atempt to access admin cp I am greeted with this

    Could contain: Page, Text, File

    After clicking complete upgrade I get the same error as before

    Could contain: File, Page, Text, Webpage

    Not sure if we are accessing same thing?
    In meantime, I asked my hosting provider to check but it is odd that you are getting different error than me.

     

  3. Hi Marc

    Thanks for the interest

    I have no clue which version it was and can't access admin control panel anymore. The support page deemed the fix as critical issue so I went for upgrade. If I am not mistaken (searched for it in server settings), it says php version is  8.1.27.

    Could contain: File, Page, Text, Webpage

     

    Could contain: Page, Text

    btw I just got a response from hosting provider.

     

    Hello, 
     
    The error you're encountering indicates an issue with type compatibility in PHP, specifically involving the IPS_DateTime::format method and its compatibility with the parent DateTime::format method. This issue is common when migrating to or using PHP 8.x, as it enforces stricter type declarations.
     
    You or a developer can do a couple of things. For instance, you can modify the IPS_DateTime::format method in the source code to be compatible with the parent method in PHP 8.x. 
     
    You can also either update the return type declaration to match the parent method or use the #[\ReturnTypeWillChange] attribute to suppress the notice temporarily. 
     
    Though honestly, since the error stems from a third-party PHP application/library (indicated by IPS_ prefix, possibly Invision Power Services), it may be best to contact their support. They might have an updated version of the software that is fully compatible with PHP 8.x. or provide you with more information on how to resolve this issue. 

    Must admit this is way over my head, I am not a web guy : /

     

     

  4. Hello folks

    I started the forum update from admin panel and it failed with following message

    We were unable to start a PHP session. You will need to contact your host to adjust your PHP configuration before you can continue. The error reported was: Return type of IPS\_DateTime::format($format, $memberOrLanguage = null) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

    I am unable to access admin panel anymore since it is stuck on the error page and my communit ywebsite is down now. How can I resolve this? Please bear in mind I am not a developer so if this requires technica lsteps beyond my powers, I am willing to compensate anyone willing to help me get the site back online.

    Thanks

     

×
×
  • Create New...