Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • mklog replied on the discussion topic Problem with files/photos on elgg update from 1.8 to 2.3
    Wow, I'm experiencing very rare behavior. I tested the migration process in a new clean virtual machine and I've been upgrading version by version. In this machine Ubuntu Server 14+Apache2+PHP 5.4 everything works ok. When I copied the... view reply
  • mklog replied on the discussion topic Problem with files/photos on elgg update from 1.8 to 2.3
    First thanks for your detailed answer. Then yes, I've run the process during the upgrade but I think now that some failed because in the "upgrades" section in administration view there is a pair of links: "Comments Upgrade"... view reply
  • mklog added a new discussion topic Problem with files/photos on elgg update from 1.8 to 2.3 in the group Elgg Technical Support
    Hi guys, recently I just updated a very old elgg installation from 1.8 to 2.3, following step by step and minor version by minor version I ended the process and everything seems to work fine but "files" or "photos" not. The...
    • First thanks for your detailed answer. Then yes, I've run the process during the upgrade but I think now that some failed because in the "upgrades" section in administration view there is a pair of links: "Comments Upgrade" and "Data directory upgrade". I'm almost sure that I run this during the upgrades, but maybe possible that failed o just completed one part? If I click in both (data directory upgrade or comments upgrade) it shows to me an "Invalid admin section" error. And does nothing. Can this process be launched manually using command line? So I think that you're correct, the problem was in the new directory/data structure. But how can I fix it? Can i re-run manually from command-line the script? It seems that doesn't work from web interface. I used tidypics but directly the version for elgg 2.3 and nothing appears in the tidypics configuration page about upgrades. Seem everything ok with the plugin.

    • Wow, I'm experiencing very rare behavior. I tested the migration process in a new clean virtual machine and I've been upgrading version by version. In this machine Ubuntu Server 14+Apache2+PHP 5.4 everything works ok. When I copied the elggdata, elgg files and database to production server (Ubuntu 17+Apache2+PHP7) this time the photos shows correctly but the files cant download. If I activate the debug I see:

       

      WARNING: Deprecated in 2.2: /file/download page handler has been deprecated and will be removed. Use elgg_get_download_url() to build download URLs Called from [#6] /home/www/elgg/mod/file/start.php:164<br /> -> [#5] unknown, referer: http://elgg.example.com/file/view/13443/course-calendar-pdf-2018
      [Thu Aug 31 19:06:35.467560 2017] [:error] [pid 27120] [client 93.176.152.213:6750] NOTICE: Unable to resolve resource URL for a file that does not exist on filestore, referer: http://elgg.example.com/file/view/13443/course-calendar-pdf-2018

       

      But I'm sure that the file exists in the elggdata folder and this time the data structure folder has been correctly ported to new structure. It works in an older server but not in production server. I checked the config of both apache2 and seem ok... this sounds like a problem with php7 or maybe a problem with permisions or with redirect of .htaccess? I have no idea, both dirs have permisions for apache and have read, write and execution permisions....

      Any tips or pointers in this case? thanks

    • As these two upgrades were supposed to be run on Elgg 1.9 when upgrading from Elgg 1.8 it is likely that they fail to run on later versions of Elgg (even more likely on Elgg 2.0 or later).

      If Tidypics photos work now, one problem solved...

      The download url for files is different on Elgg 2.3 (maybe it already changed on Elgg 2.2). It seems to work fine for me when testing. Could it be that your theme plugin (or another 3rd party plugin) interferes here and alters the download button (and underlying download url)?