Jump to content

Michel_72

Clients
  • Posts

    280
  • 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 Michel_72

  1.  I was logged in to the ACP and I clicked on this URL:

    Could contain: Text, Menu

    I can reproduce this easily. I click these URL's in the error log within the ACP, I am obviously logged in then so I create a new error in the error log using MY IP and login, which to me seems to be caused by one reason only, me clicking the link myself.

    There is loads of errors in the logs coming from different IP-addresses and "I presume" guests or different logins.

    Could you please help clarifying this as I feel we are on the wrong track here, or I am misunderstanding you completely here.... Some proof of better explanation would be nice 🙂

  2. Hi Marc,

    Could you be so kind to (privately) sent me more information about that? I use extremely long generated passwords and never the same password for multiple logins.

    Nothing is impossible, but it seems unlikely that this is actually what is happening.

    I have just changed it, 32 characters and rather complex.

    I think the confusion comes from me clicking some of the error URL's in the logs. I'm quit sure my login has not been compromised 😉

    Could contain: Text, Menu

     

  3. Looking at the logs one of the errors seems to be related to the UBBthreads convertor

    The URL of page the error occurred on was https://www.sat4all.com/forums/ubbthreads.php/topics/330061/index2.php?_SERVER[0]=&_SERVER[REMOTE_ADDR]='.system('id').exit().'&option=wrapper&module[module]=1
  4. Hi, I just moved from php7.4 to 8.1 and since then I see some errors in the logs. I tried disabling the few plugins and hooks I use and the errors still persist.

    What can I do about them?

    Reoccurring system log entries may be indicative of a problem that should be addressed. A summary of the top reoccurring recent log entries are shown below. Review the system log for further details.
    • Message
      Count
    • TypeError: Unsupported operand types: string + int (0) #0 /var/www/sat4all.com/webroot/forums/applications/core/modules/front/search/search.php(126): IPS\core\modules\front\search\_search->_results() #1 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Controller.php(118): IPS\core\modules\front\search\_search->manage() #2 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #3 /var/www/sat4all.com/webroot/forums/index.php(13): IPS\_Dispatcher->run() #4 {main}
      292
    • SELECT main.*, cms_pages.page_ FROM `core_search_index` AS `main` LEFT JOIN `cms_pages` ON cms_pages.page_id=main.index_item_id WHERE ( ( index_class IN('IPS\\core\\Statuses\\Status','IPS\\core\\Statuses\\Reply') ) OR index_class='IPS\cms\Pages\PageItem' OR index_class='IPS\forums\Topic\Post' OR ( index_class IN('IPS\\nexus\\Package\\Item','IPS\\nexus\\Package\\Review') ) ) AND ( ( index_class='IPS\cms\Pages\PageItem' AND cms_pages.page_>=0 ) ) AND ( ( MATCH(index_content,index_title) AGAINST ('' IN BOOLEAN MODE) ) OR ( index_item_index_id=index_id AND index_item_index_id IN ( SELECT index_id FROM `core_search_index_tags` WHERE ( index_tag IN('anders') ) ) ) ) AND ( index_permissions = '*' OR ( FIND_IN_SET(2,index_permissions) ) ) AND index_hidden=0 ORDER BY index_date_created DESC LIMIT 0,25 IPS\Db\Exception: Unknown column 'cms_pages.page_' in 'field list' (1054) #0 /var/www/sat4all.com/webroot/forums/system/Db/Select.php(388): IPS\_Db->preparedQuery() #1 /var/www/sat4all.com/webroot/forums/system/Db/Select.php(446): IPS\Db\_Select->runQuery() #2 [internal function]: IPS\Db\_Select->rewind() #3 /var/www/sat4all.com/webroot/forums/system/Content/Search/Mysql/Query.php(1329): iterator_to_array() #4 /var/www/sat4all.com/webroot/forums/applications/core/modules/front/search/search.php(746): IPS\Content\Search\Mysql\_Query->search() #5 /var/www/sat4all.com/webroot/forums/applications/core/modules/front/search/search.php(126): IPS\core\modules\front\search\_search->_results() #6 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Controller.php(118): IPS\core\modules\front\search\_search->manage() #7 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #8 /var/www/sat4all.com/webroot/forums/index.php(13): IPS\_Dispatcher->run() #9 {main}
      20
    • SELECT main.*, cms_pages.page_, ((MATCH(index_title) AGAINST ('' IN BOOLEAN MODE)*5)+(MATCH(index_content,index_title) AGAINST ('' IN BOOLEAN MODE)))/POWER(( ( UNIX_TIMESTAMP( NOW() ) - ( CASE WHEN index_date_updated <= UNIX_TIMESTAMP( NOW() ) THEN index_date_updated ELSE 0 END )) / 3600 ) + 2,1.5) AS calcscore FROM `core_search_index` AS `main` LEFT JOIN `cms_pages` ON cms_pages.page_id=main.index_item_id WHERE ( ( index_class IN('IPS\\core\\Statuses\\Status','IPS\\core\\Statuses\\Reply') ) OR index_class='IPS\cms\Pages\PageItem' OR index_class='IPS\forums\Topic\Post' OR ( index_class IN('IPS\\nexus\\Package\\Item','IPS\\nexus\\Package\\Review') ) ) AND ( ( index_class='IPS\cms\Pages\PageItem' AND cms_pages.page_>=0 ) ) AND ( ( MATCH(index_content,index_title) AGAINST ('' IN BOOLEAN MODE) ) OR ( index_item_index_id=index_id AND ( index_item_index_id IN(2682036) ) ) ) AND ( index_permissions = '*' OR ( FIND_IN_SET(2,index_permissions) ) ) AND index_hidden=0 ORDER BY calcscore DESC LIMIT 0,25 IPS\Db\Exception: Unknown column 'cms_pages.page_' in 'field list' (1054) #0 /var/www/sat4all.com/webroot/forums/system/Db/Select.php(388): IPS\_Db->preparedQuery() #1 /var/www/sat4all.com/webroot/forums/system/Db/Select.php(446): IPS\Db\_Select->runQuery() #2 [internal function]: IPS\Db\_Select->rewind() #3 /var/www/sat4all.com/webroot/forums/system/Content/Search/Mysql/Query.php(1329): iterator_to_array() #4 /var/www/sat4all.com/webroot/forums/applications/core/modules/front/search/search.php(746): IPS\Content\Search\Mysql\_Query->search() #5 /var/www/sat4all.com/webroot/forums/applications/core/modules/front/search/search.php(126): IPS\core\modules\front\search\_search->_results() #6 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Controller.php(118): IPS\core\modules\front\search\_search->manage() #7 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #8 /var/www/sat4all.com/webroot/forums/index.php(13): IPS\_Dispatcher->run() #9 {main}
      15
    • SELECT main.*, cms_pages.page_, ((MATCH(index_title) AGAINST ('' IN BOOLEAN MODE)*5)+(MATCH(index_content,index_title) AGAINST ('' IN BOOLEAN MODE)))/POWER(( ( UNIX_TIMESTAMP( NOW() ) - ( CASE WHEN index_date_updated <= UNIX_TIMESTAMP( NOW() ) THEN index_date_updated ELSE 0 END )) / 3600 ) + 2,1.5) AS calcscore FROM `core_search_index` AS `main` LEFT JOIN `cms_pages` ON cms_pages.page_id=main.index_item_id WHERE ( ( index_class IN('IPS\\core\\Statuses\\Status','IPS\\core\\Statuses\\Reply') ) OR index_class='IPS\cms\Pages\PageItem' OR index_class='IPS\forums\Topic\Post' OR ( index_class IN('IPS\\nexus\\Package\\Item','IPS\\nexus\\Package\\Review') ) ) AND ( ( index_class='IPS\cms\Pages\PageItem' AND cms_pages.page_>=0 ) ) AND ( ( MATCH(index_content,index_title) AGAINST ('' IN BOOLEAN MODE) ) OR ( index_item_index_id=index_id AND index_item_index_id IN ( SELECT index_id FROM `core_search_index_tags` WHERE ( index_tag IN('canaldigitaal') ) ) ) ) AND ( index_permissions = '*' OR ( FIND_IN_SET(2,index_permissions) ) ) AND index_hidden=0 ORDER BY calcscore DESC LIMIT 0,25 IPS\Db\Exception: Unknown column 'cms_pages.page_' in 'field list' (1054) #0 /var/www/sat4all.com/webroot/forums/system/Db/Select.php(388): IPS\_Db->preparedQuery() #1 /var/www/sat4all.com/webroot/forums/system/Db/Select.php(446): IPS\Db\_Select->runQuery() #2 [internal function]: IPS\Db\_Select->rewind() #3 /var/www/sat4all.com/webroot/forums/system/Content/Search/Mysql/Query.php(1329): iterator_to_array() #4 /var/www/sat4all.com/webroot/forums/applications/core/modules/front/search/search.php(746): IPS\Content\Search\Mysql\_Query->search() #5 /var/www/sat4all.com/webroot/forums/applications/core/modules/front/search/search.php(126): IPS\core\modules\front\search\_search->_results() #6 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Controller.php(118): IPS\core\modules\front\search\_search->manage() #7 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #8 /var/www/sat4all.com/webroot/forums/index.php(13): IPS\_Dispatcher->run() #9 {main}
     
    One specific error:
     
    TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in /var/www/sat4all.com/webroot/forums/system/Theme/Cache/Template.php:90
    Stack trace:
    #0 /var/www/sat4all.com/webroot/forums/system/Theme/Cache/Template.php(90): flock()
    #1 /var/www/sat4all.com/webroot/forums/system/Theme/Theme.php(802): IPS\Theme\Cache\_Template->exists()
    #2 /var/www/sat4all.com/webroot/forums/system/Login/Handler/ButtonHandler.php(42): IPS\_Theme->getTemplate()
    #3 /var/www/sat4all.com/webroot/forums/system/Theme/Theme.php(885) : eval()'d code(7631): IPS\Login\Handler\_OAuth2->button()
    #4 /var/www/sat4all.com/webroot/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->loginPopup()
    #5 /var/www/sat4all.com/webroot/forums/system/Theme/Theme.php(885) : eval()'d code(17467): IPS\Theme\_SandboxedTemplate->__call()
    #6 /var/www/sat4all.com/webroot/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->userBar()
    #7 /var/www/sat4all.com/webroot/forums/system/Theme/Theme.php(885) : eval()'d code(6638): IPS\Theme\_SandboxedTemplate->__call()
    #8 /var/www/sat4all.com/webroot/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
    #9 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
    #10 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
    #11 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Front.php(625): IPS\Dispatcher\_Standard->finish()
    #12 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
    #13 /var/www/sat4all.com/webroot/forums/index.php(13): IPS\_Dispatcher->run()
    #14 {main}
    
    
    #0 /var/www/sat4all.com/webroot/forums/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log()
    #1 /var/www/sat4all.com/webroot/forums/system/Theme/Theme.php(885) : eval()'d code(17467): IPS\Theme\_SandboxedTemplate->__call()
    #2 /var/www/sat4all.com/webroot/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->userBar()
    #3 /var/www/sat4all.com/webroot/forums/system/Theme/Theme.php(885) : eval()'d code(6638): IPS\Theme\_SandboxedTemplate->__call()
    #4 /var/www/sat4all.com/webroot/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
    #5 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
    #6 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
    #7 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Front.php(625): IPS\Dispatcher\_Standard->finish()
    #8 /var/www/sat4all.com/webroot/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
    #9 /var/www/sat4all.com/webroot/forums/index.php(13): IPS\_Dispatcher->run()
    #10 {main}

     

  5. Hi, today I upgraded to v4.7.2.1

    When trying to edit my theme back to what is was, I usually go here and edit the CSS, but there is now only one CSS file visible (custom.css)

    Could contain: Text, File

    I want to edit page width. Before I edited _vars.css and change:

    /* Page widths */
      --container--width: 1230px;
      --minimal_container--width: 1000px;

    How can I edit these files again, or achieve the same thing: set my page width?

     

  6. Cron  /usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /var/www/xxxxxxxxxx/webroot/forums/applications/core/interface/task/task.php 4d93fb6a0c7d7326fda22ffa83e2c0e8

     

     

    Exception:
    IPS\Http\Request\CurlException Object
    (
       [message:protected] => https://api.indexnow.org/indexnow/
    Operation timed out after 10001 milliseconds with 0 bytes received
       [string:Exception:private] => 
       [code:protected] => 28
       [file:protected] => /var/www/xxxxxxxxxxx/webroot/forums/system/Http/Request/Curl.php
       [line:protected] => 398
       [trace:Exception:private] => Array
           (
               [0] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Http/Request/Curl.php
                       [line] => 422
                       [function] => _execute
                       [class] => IPS\Http\Request\_Curl
                       [type] => ->
                   )
    
               [1] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Http/Request/Curl.php
                       [line] => 317
                       [function] => _executeAndFollowRedirects
                       [class] => IPS\Http\Request\_Curl
                       [type] => ->
                   )
    
               [2] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/sources/IndexNow/IndexNow.php
                       [line] => 99
                       [function] => post
                       [class] => IPS\Http\Request\_Curl
                       [type] => ->
                   )
    
               [3] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/extensions/core/Queue/IndexNow.php
                       [line] => 57
                       [function] => send
                       [class] => IPS\core\_IndexNow
                       [type] => ->
                   )
    
               [4] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Task/Task.php
                       [line] => 47
                       [function] => run
                       [class] => IPS\core\extensions\core\Queue\_IndexNow
                       [type] => ->
                   )
    
               [5] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/tasks/queue.php
                       [line] => 43
                       [function] => runQueue
                       [class] => IPS\_Task
                       [type] => ::
                   )
    
               [6] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Task/Task.php
                       [line] => 367
                       [function] => IPS\core\tasks\{closure}
                       [class] => IPS\core\tasks\_queue
                       [type] => ->
                   )
    
               [7] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/tasks/queue.php
                       [line] => 55
                       [function] => runUntilTimeout
                       [class] => IPS\_Task
                       [type] => ->
                   )
    
               [8] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Task/Task.php
                       [line] => 266
                       [function] => execute
                       [class] => IPS\core\tasks\_queue
                       [type] => ->
                   )
    
               [9] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Task/Task.php
                       [line] => 229
                       [function] => run
                       [class] => IPS\_Task
                       [type] => ->
                   )
    
               [10] => Array
                   (
                       [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/interface/task/task.php
                       [line] => 58
                       [function] => runAndLog
                       [class] => IPS\_Task
                       [type] => ->
                   )
    
           )
    
       [previous:Exception:private] => 
    )

    Anybody knows what this means and what to do about it?

  7. When there are only 13 followers, posting takes 22 seconds to complete. That is not acceptable. When this topic would have 30 followers I loose my members by frustration 😉

    I am using the external mailserver because sending mail via this mailserver is way more reliable then sending via php (dkim, antivirus), and again, this mailserver is no slouch.

    Can this treshold then al least be configurable?

  8. As I was confronted with some 'sudden' performance issues while posting message in a topic with 10+ followers, it turned out Invision Community forums is sending topic e-mail notifications instant. A 'slow' mailserver can then significantly delay the posts being made to such a topic:

    Please make the e-mail a background task as this seems bad practice. The speed of a post should not be relying on the speed of a smtp mailserver (which is quit speedy, but apparently not speedy enough for Invision community 😉

     

  9. I am starting to think you may have a point. 😉

    I used a 13 follower topic now which was slow most of the time. 

    Then switched the email setting back from smtp to php and posting was then fast every time I tested.

    smtp is an external (TLS) mailserver, within the same network which is quit fast.

    There are 2 things I can wrap my head around. The mailserver is fast when trying it from the command line on the server running IPS. So why does this hold up posting. This mailserver was in use before the update as well without any issues.

    Why is IPS sending the email instant and does posting a message rely on a blazing fast smtp server? I would rather have this done by the cron running every minute so It will be a background proces.

  10. In this specific topic I was testing there are 6 followers. But I have also been testing in a topic that only has 1 follower and in there I am getting the same irregular delays.

    Wat mis je op sat4all? (graag reageren) - Pagina 7 - Off topic - Sat4all - Alles over Satelliet TV, Ziggo en Telenet!

    As far as I can see there are no significant delays there:

    Apr 20 20:00:02 ####### postfix/local[2155]: 8D75F807A2: to=<##########>, orig_to=<#####>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")

    Apr 20 2

  11. Hi,

    I am having issues since ugrading to 4.6.12.1. When posting new messages sometimes it's instant, sometimes it takes somewhere from 5 to 16 seconds.

    Since I also upgraded the OS (Debian 11 bullseye, as I do every month) I can not be 100% sure it's the Invision community upgrade.

    I have checked all /var/log/* for errors, enabled the mysql slow query log, but nothing suspicious.

    Anobody having similar issues, or maybe someone has some pointers on what to check next?

    Cheers,

    Michel

    image.png.23151f75cf7c05238bb0aa97e952e878.png

  12. I have, but since it is not possible to talk to IPS via a ticket I have no other option then to post private information via a PM. That PM is now in Marc Stridgens PM-box.

    I have an access-list on my Admin CP. I asked Marc if the Invision IP-adresses are still valid. If so you should be able to access it.

    The access details for the admin CP are updated. I asked marc if he also needs sftp since that is a little harder for me to do due to security.

    Community support makes it quit hard to communicate private information.

  13. I have full transaction logs from Stripe, but I can not publish this publicly.

    This is what stripe had to say about it. It was a very lengthy and pain-full conversation where I had to explain multiple times I am just a user and not a developer and needed to know where it goes wrong, so I know which door to knock.

     

    Quote

    (09:51:18 AM) Charry: I would recommend checking this page for you to have a better picture in accepting Bancontact. In this way, you can also check what steps you've missed
    (09:51:18 AM) Charry: https://stripe.com/docs/payments/bancontact/accept-a-payment#web-fulfillment
    (09:51:41 AM) Michel Weeren (webmaster@sat4all.com😞 Please try to help me as a customer and not as a developer.
    (09:51:52 AM) Michel Weeren (webmaster@sat4all.com😞 I am using a ready made product
    (09:52:05 AM) Michel Weeren (webmaster@sat4all.com😞 is the fault on the side of my product or on your side?
    (09:52:42 AM) Charry: I am trying my best here Michel and as I can see from the source you gave me since it's already chargeable, next step to do is to charge the source.
    (09:52:59 AM) Charry: I know you're looking for a layman's term but that's the step that you have to do
    (09:53:08 AM) Charry: No one is at fault here
    (09:53:13 AM) Charry: It's just how the process works
    (09:55:16 AM) Charry: You can do that via API. You need to check this page so you'll know how to do it: https://stripe.com/docs/payments/bancontact/accept-a-payment#web-fulfillment
    (09:56:26 AM) Michel Weeren (webmaster@sat4all.com😞 Ok, but I can not do that via an API as I am not a developer. So after a lengthy conversation, you are saying I need to contact invisioncommunity as their software is not processing Bancontact payment correctly right?
    (09:57:24 AM) Charry: Michel, no one is at fault here and it doesn't mean the payment isn't processing correctly. It's just that the process is incomplete which is why it isn't showing on the dashboard yet
    (09:57:49 AM) Charry: I'd recommend for you to work with a developer if you're having some challenge in using API

     

×
×
  • Create New...