Jump to content

Adlago

Clients
  • Posts

    3,864
  • Joined

  • Last visited

  • Days Won

    23

Reputation Activity

  1. Thanks
    Adlago got a reaction from LiveG in My forum crashes every few minuets   
    There are enough descriptions of Apache 2 compatibility with Linux - read and review what is not compatible with your installation. I asked for the contents of two files to you show them, not to confirm their existence... It is possible that some rule in these files is creating an issue that is stressing you out.
  2. Thanks
    Adlago got a reaction from LiveG in My forum crashes every few minuets   
    Try and test your website for viruses, for example, with this online tool
    https://online.drweb.com/result2/?url=1
  3. Like
    Adlago got a reaction from Matt in After update last patch - Lighthouse was unable to download a robots.txt file   
    Probably so, some problem in PSI.
    Now  I tested sites with other platforms - and popular sites. Everyone has this issue.
    Apparently, it is a coincidence in the time of updating your patch, and the appearance of an issue in PSI.
    You can close this topic.
    Sorry for the trouble.
  4. Like
    Adlago reacted to LiveG in My forum crashes every few minuets   
    Thank you.
    I will address the author of the team!
     
  5. Thanks
    Adlago got a reaction from LiveG in My forum crashes every few minuets   
    It just means that in a used theme so far, there are outdated codes, or there are codes that create a conflict. Search for an author of your theme to provide you with an update on it.
  6. Thanks
    Adlago got a reaction from LiveG in My forum crashes every few minuets   
    When you are able to log in to ACP, switch the original IPS theme to the default theme.
  7. Haha
    Adlago reacted to Jim M in Probably bug, missing skin menu for guests - v.4.7.15 and 4.7.16   
    Necessary vs. Unnecessary cookies are a compliance change in how the world is handling them now. Features will not stay the same over the span of our product line 😉 .
    We have strayed far away from the support side of the topic now so I will close it. If you would like to see a change, please create a topic in the Feedback forum.
  8. Thanks
    Adlago reacted to Jim M in Probably bug, missing skin menu for guests - v.4.7.15 and 4.7.16   
    On your website, not in your browser. As seen in your screenshot in your original post, you have not:

  9. Agree
    Adlago got a reaction from tnn in PHP 8.2 Thread   
    My live site with 4.7.14, and test site beta 2 4.7.15 is with PHP 8.2 - no issues.
  10. Like
    Adlago got a reaction from tnn in Help!! I can't update to the latest version. There are no applications available to upgrade   
    I know it very well... And because it happened and surprised me a lot, that's why I wrote it... It sounds strange, but it's a fact.
  11. Like
    Adlago reacted to teraßyte in Help!! I can't update to the latest version. There are no applications available to upgrade   
    You guys should really consider adding a maximum PHP version check both in the suite and the requirements checker. I'm not saying to lock everything with the wrong version, even a simple warning in ACP would to the job.
     
    With a simple check for the maximum version, you'd avoid dozens of support requests... 🙄
  12. Like
    Adlago reacted to Jim M in Mobile badges   
    Instead of deleting a topic, I would recommend replying with the solution you found. There are no embarrassing questions when building a help community 🙂 .
  13. Like
    Adlago reacted to teraßyte in [4.7.15] DATE form helper bug with timezones when checking min/max date   
    The \IPS\Helpers\Form\Date class does not account properly for a member's timezone when the min and/or max options are set.
     
    This is the file's code on lines 303-314 in the validate() function:
    if ( $this->value and $this->options['min'] !== NULL and $this->options['min'] > $this->value ) { $string = $this->options['min']->setTimeZone( $timezone )->localeDate( \IPS\Member::loggedIn() ); if( $this->options['time'] ) { $string .=' ' . $this->options['min']->setTimeZone( $timezone )->localeTime( \IPS\Member::loggedIn() ); } throw new \LengthException( \IPS\Member::loggedIn()->language()->addToStack('form_date_min', FALSE, array( 'sprintf' => array( $string ) ) ) ); } /* Check maximum */ if ( $this->value and $this->options['max'] !== NULL and $this->options['max'] < $this->value ) { $string = $this->options['max']->setTimeZone( $timezone )->localeDate( \IPS\Member::loggedIn() ); if( $this->options['time'] ) { $string .=' ' . $this->options['max']->setTimeZone( $timezone )->localeTime( \IPS\Member::loggedIn() ); } throw new \LengthException( \IPS\Member::loggedIn()->language()->addToStack('form_date_max', FALSE, array( 'sprintf' => array( $string ) ) ) ); }  
    The code doesn't account at all for the timezone when checking the min/max values against the entered value:
    $this->options['min'] > $this->value $this->options['max'] < $this->value The timezone is added only inside the IF check to display the error, but not before it for the check:
    $string = $this->options['min']->setTimeZone( $timezone )->localeDate( \IPS\Member::loggedIn() ); $string = $this->options['max']->setTimeZone( $timezone )->localeDate( \IPS\Member::loggedIn() );  
    This causes the check to fail for a user close to the UTC timezone, while it passes for a user with a more distant timezone.
     
    Here is an example with 2 different timezones (Rome & New York):
    DEBUG CODE: ================================================== print_r( $this->value ); print_r( $this->options['min'] ); print_r( $this->options['min']->setTimeZone( $timezone ) ); var_dump( $this->options['min'] > $this->value ); exit; ================================================== OUTPUT FOR ROME TIMEZONE: ================================================== IPS\DateTime Object ( [date] => 2024-03-02 00:01:00.000000 [timezone_type] => 3 [timezone] => Europe/Rome ) IPS\DateTime Object ( [date] => 2024-03-02 00:58:41.440303 [timezone_type] => 3 [timezone] => UTC ) IPS\DateTime Object ( [date] => 2024-03-02 01:58:41.440303 [timezone_type] => 3 [timezone] => Europe/Rome ) bool(true) ================================================== OUTPUT FOR NEW YORK TIMEZONE: ================================================== IPS\DateTime Object ( [date] => 2024-03-02 02:41:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) IPS\DateTime Object ( [date] => 2024-03-02 00:52:00.648474 [timezone_type] => 3 [timezone] => UTC ) IPS\DateTime Object ( [date] => 2024-03-01 19:52:00.648474 [timezone_type] => 3 [timezone] => America/New_York ) bool(false)  
    As you can see from the debug output above, the member with a Rome timezone fails to pass the check (TRUE triggers the error), while the New York timezone passes the check (FALSE doesn't trigger the error).
     
    The timezone must be added to the min/max checks before the check is done, and not after to display only the error.
  14. Thanks
    Adlago got a reaction from The Old Man in PHP 8.2 Thread   
    My live site with 4.7.14, and test site beta 2 4.7.15 is with PHP 8.2 - no issues.
  15. Haha
    Adlago got a reaction from Afrodude in Uses deprecated APIs ...   
    Judging by my quoted post from 2020, should we expect a change in 2028?😇
  16. Like
    Adlago got a reaction from Miss_B in Forum down   
    If you have access to phpmyadmin, you can try to open table "ipb_core_themes"  and change
    to make ips theme the default theme. Change value of your theme to 0 and ips theme to 1 in column
    "set_is_default"
  17. Like
    Adlago got a reaction from Owdy in Forum down   
    Check in table ipb_core_members, for your account column "skin" - and make it with the same id number as your current default theme
  18. Thanks
    Adlago got a reaction from beats23 in Can someone help me to sort this Template Error?   
    If you want - try code below and you will remove guest sidebar.
    If you're using a left sidebar, open a global template and find
    {template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
    Replace it with
    {{if member.member_id}} {template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"} {{endif}} If using right sidebar, find in global template
    {template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}
    Replace it with
    {{if member.member_id}} {template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"} {{endif}} This will remove the sidebar when visiting guests, and you will see if the issue occurs again on your site.
  19. Like
    Adlago got a reaction from Owdy in Forum down   
    If you have access to phpmyadmin, you can try to open table "ipb_core_themes"  and change
    to make ips theme the default theme. Change value of your theme to 0 and ips theme to 1 in column
    "set_is_default"
  20. Thanks
    Adlago got a reaction from searchisover in Can someone help me to sort this Template Error?   
    If you want - try code below and you will remove guest sidebar.
    If you're using a left sidebar, open a global template and find
    {template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
    Replace it with
    {{if member.member_id}} {template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"} {{endif}} If using right sidebar, find in global template
    {template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}
    Replace it with
    {{if member.member_id}} {template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"} {{endif}} This will remove the sidebar when visiting guests, and you will see if the issue occurs again on your site.
  21. Like
    Adlago got a reaction from SoloInter in Uses deprecated APIs ...   
    Are you planning on cleaning up deprecated APIs?
    thanks
  22. Like
    Adlago got a reaction from SoloInter in Uses deprecated APIs ...   
    Judging by my quoted post from 2020, should we expect a change in 2028?😇
  23. Like
    Adlago got a reaction from SoloInter in Uses deprecated APIs ...   
    This sounds very strange - you are developing a very successful product - fact. But you use a third party javascript that changes the results of your work...And you don't reduce the value of your product when it degrades in use...
    Why not create a complete set of just your product…
    There is a Bulgarian proverb - but it's untranslatable to write it to you, and it sounds vulgar... But it's strange to me - issues with libraries constantly arise, and not just now, and you justify yourself with them, but you don't trying to make your libraries compliant with the new web criteria - and manageable by you...
  24. Like
    Adlago got a reaction from SoloInter in Uses deprecated APIs ...   
    Let me be skeptical... I became your customer when version 4.0.x launched with similar promises... That was 9 years ago... Now you are promising a change with version 5.x.x... I'm not sure that will happen I'm...I'm sorry...
  25. Like
    Adlago got a reaction from G17 Media in Uses deprecated APIs ...   
    Let me be skeptical... I became your customer when version 4.0.x launched with similar promises... That was 9 years ago... Now you are promising a change with version 5.x.x... I'm not sure that will happen I'm...I'm sorry...
×
×
  • Create New...