All Site Activity

  • Seeing the path in the PHP log line I think you are running PHP as FastCGI module (php-fpm). In this case you can't set PHP variables via .htaccess files. The values set there are simply ignored. And maybe the php.ini file location as displayed... view reply
  • The variables in the Server information are also the default, they just don't appear to change whatever I do with php.ini or .htaccess. I also had an error uploading a smaller video, this gave a different error. I will do what you suggest... view reply
  • iionly replied on the discussion topic SSL certificate
    I believe in some cases it can't be avoided that links without https exist. For any links referring to content on your own site you could put some effort (or a lot depending on the number of links) into updating the links. But if there are links... view reply
  • What values for the php variables are shown in the admin area of your site ("Information" - "Server" section on PHP tab) and/or on the "Server analysis" tab of the iZAP Videos plugin settings page? The analysis tab... view reply
  • Looks like this could be file size related?, but I have set upload_max_filesize correctly in both /etc/php.ini and .htaccess however when I look at phpinfo it still states a 2MB limit even after restarting everything. <IfModule... view reply
  • Video upload is giving me an error Form is missing __token or __ts fields The percentage counter goes up to 100% and then this message appears. I am using Elgg 1.8-1.12 & 2.X & 3.X: iZAP Videos - revised edition by iionly...
    • What values for the php variables are shown in the admin area of your site ("Information" - "Server" section on PHP tab) and/or on the "Server analysis" tab of the iZAP Videos plugin settings page?

      The analysis tab of the iZAP Videos plugin should display all relevant variables. The values displayed there should be the values also in effect when processing uploaded videos.

      For a start (and to find out if any limits might cause the problem) I suggest to test it by uploading a very small videos. For example, the video included in the server_test subfolder within the iZAP Videos plugin folder could be used.

      I'm not fully convinced the problem is with php variables though. The error message would indicate that the upload action call could not be authenticated correctly. But this authentification should be within the code of the IZAP Videos plugin for sure. So, the question is if maybe some other plugin interferes (so, another test could be to test with all other 3rd party plugins temporarily disabled).

      Or does the analysis tab displays any other issues? There should be only successes shown. Otherwise, some component is missing on the server or is not correctly configured.

    • The variables in the Server information are also the default, they just don't appear to change whatever I do with php.ini or .htaccess. I also had an error uploading a smaller video, this gave a different error. I will do what you suggest and disable all other plugins and see if we have interference as I have installed other plugins after the video plugin, thank you for your assistance.

      PHP version 7.2.24
      PHP ini file location /etc/php.ini
      PHP Log /var/log/php-fpm/www-error.log
      Memory available 134,217,728
      POST maximum size 8,388,608
      Upload maximum size 2,097,152 
    • Seeing the path in the PHP log line I think you are running PHP as FastCGI module (php-fpm). In this case you can't set PHP variables via .htaccess files. The values set there are simply ignored. And maybe the php.ini file location as displayed by Elgg (/etc/php.ini) is also not the php.ini actually used by php-fpm! You would need to figure out if there might be another php.ini (e.g. /etc/php7/fpm/php.ini - or at some other location) where you could configure the limits used by PHP, Elgg and iZAP Videos.

      What was the different error when uploading the smaller video? Maybe there's a second issue apart from setting the PHP variable values to larger values.

  • Wogker replied on the discussion topic SSL certificate
    Some Elgg pages displayed the "not secure" warning because they had images linked with "http: //" (without the "s"). It seems that everything works fine in the end, I am very grateful for your help! view reply
  • RvR replied on the discussion topic SSL certificate
    All works very well: https://www.agujero.net/elgg redirects to https://www.agujero.net/elgg/ and all URLs are safed. Don't forget clean your browser's cache every time before testing. view reply
  • Wogker replied on the discussion topic SSL certificate
    My domain https://www.agujero.net works fine with the SSL certificate: "It's safe". Any static Elgg content (like photos) works fine too... https://www.agujero.net/elgg/photos/thumbnail/14025/master/ But the rest of the web... view reply
  • iionly replied on the discussion topic SSL certificate
    If you have www in settings.php then it's fully alright to keep it so. I just thought you wouldn't because you posted the site url in your last posting without www. Then the rules to add in .htaccess should work as I posted anyway. But... view reply
  • Wogker replied on the discussion topic SSL certificate
    If I configure in settings.php the wwwroot without "www" the site dosen't work propertly. Always was... $CONFIG->wwwroot = "https://www.agujero.net/elgg/"; I have tried disabling all cache options in the web... view reply
  • iionly replied on the discussion topic SSL certificate
    With Elgg 3 the site url is defined in the file elgg-config/settings.php in the variable $CONFIG->wwwroot. The site only uses SSL if the site url defined there is defined with https. So, the first step would be setting $CONFIG->wwwroot =... view reply
  • Wogker replied on the discussion topic SSL certificate
    My fight versus Mr.SSL continues... My elgg is in a directory like http://agujero.net/elgg I must include this code in the .htaccess elgg directory or in other .htaccess in the root? # http to https # exclude subdomains RewriteCond... view reply
  • Jerome Bakker replied on the discussion topic From 3.2 to 3.3 run_sql_script() is deprecated
    please keep in mind "_elgg_services()" is an internal function and changes can be made without the need for backwards compatibility. Why do you need to run a SQL script? Can't it be solved with the existing methods like an async... view reply
  • Just an update if someone hits the same issue with the Events Calendar plugin. I decided to go back to Elgg 2.3 and the plugin works there nicely! I am able to see the map, search for a location, see the pins for the events and everything. The... view reply
  • Hermand Pessek replied on the discussion topic From 3.2 to 3.3 run_sql_script() is deprecated
    Thanks a lot. view reply
  • Rohit Gupta replied on the discussion topic From 3.2 to 3.3 run_sql_script() is deprecated
    In you Bootstrap.php file: use Elgg\DefaultPluginBootstrap; class Bootstrap extends DefaultPluginBootstrap { public function activate() { $path = "path/to/your/db/script.sql";... view reply
  • Hermand Pessek added a new discussion topic From 3.2 to 3.3 run_sql_script() is deprecated in the group Beginning Developers
    Hi everyone, From 3.2 to 3.3 run_sql_script() is deprecated. What function should I use as replacement ? Regards,  
  • Book Of Likes replied on the discussion topic SSL certificate
    All depends what hosting service you have, i have the one that offers free SSL certificates and when i installed the 3.8 Elgg, at the control site's administrator side, just type the link address with https://  and it works even... view reply