Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • jon666 replied on the discussion topic Tidypics images gone
    Eureka - it worked! I entered: date_default_timezone_set('America/Montreal'); in engine/settings.php and the missing images now display correctly. Also, the album created post server move and its comments and the two new user registrations... view reply
  • jon666 replied on the discussion topic Tidypics images gone
    iionly - I just found a link with advice (including yours) for changing server timezone in Elgg. https://elgg.org/discussion/view/2412154/how-do-i-change-the-time-zone-settingsAm wondering, if I make this script change will it effect the one album... view reply
  • jon666 replied on the discussion topic Tidypics images gone
    Sorry, my mistake. UTC - 5 is Montreal time (Eastern Daylight Time).  UTC is same as GMT. If I deleted the folders in question then put them back five hours later, would that fix it? (Probably a silly question but its late!) view reply
  • jon666 replied on the discussion topic Tidypics images gone
    I just got this reply from my hosting company: "The timezone are not the same. On the new server is UTC and the old server is UTC -5 hours." The server is in Montreal Canada, (I'm on the Pacific coast) so I guess its adjusted to... view reply
  • jon666 replied on the discussion topic Tidypics images gone
    Hi again iionly. Sorry to be troubling you again with another server move problem - hadn't realized you wrote this plugin. Anyway I've confirmed all images are on the server and that folder and file permissions are identical for images that... view reply
  • jon666 added a new discussion topic Tidypics images gone in the group Tidypics Photo Gallery Plugin
    I have used Tidypics 1.8.6 with Elgg 1.8.13 for four years without problem. Following move to a new server several albums have lost their photos. The captions and  comments are still there. Have searched everywhere on my site but cannot find...
    • iionly - I just found a link with advice (including yours) for changing server timezone in Elgg. https://elgg.org/discussion/view/2412154/how-do-i-change-the-time-zone-settings

      Am wondering, if I make this script change will it effect the one album created successfilly since the server change (UTC)? Also, am I right in thinking it will not affect entries made prior to server change  (UTC -  ?

    • To be honest, I can say for sure if the images of the newly created album will show or not after changing the timezone. My guess is, yes, as I think the real cause of the images not showing (actually any kind of files of the affected users not found) is the <day> part in the path to the users' data:

      /path/to/datadirectory/<year>/<month>/<day>/<user_guid>image/<album_guid>

      These (sub)directories are created with the timestamp of the account creation taken into account. And the <day> can be different due to the timeshift of different timezones. Afterwards on accessing any files again Elgg again takes the timezone / timeshift currently used into account when determine the path the files are to be found. This part can fail when the timezone has changed.

      My suggestion: just try setting the timezone to the timezone used on the old server either in Elgg's .htaccess or in engine/settings.php as soon as possible. The crucial point isn't necessarily the one new album but rather the old albums and profile pictures: will these show up again? If yes, you might lose one new album. But I think it's much easier to fix that (upload again) as compared to trying to get all the old stuff showing up again with different users involved. Also, trying as soon as possible is important as you might get a problem with any newly created accounts now with the new timezone in effect once you return to the old timezone.

      Just ask the support of your webhoster about the name of the timezone used on the old server and the add either a line in the <IfModule mod_php5.c> block in .htaccess like

      php_value date.timezone 'UTC'

      with the timezone name you were told instead of UTC. Or add a line like

      date_default_timezone_set('UTC');

      in engine/settings.php before the line

      global $CONFIG;

      Again, enter the timezone name actually been used on your old server.

    • Eureka - it worked! I entered: date_default_timezone_set('America/Montreal'); in engine/settings.php and the missing images now display correctly. Also, the album created post server move and its comments and the two new user registrations have not been disturbed.

      Once again I'm most grateful to you for getting my site working again.  I'll doubtless be upgrading later this year and hope you guys hang together (have been reading some of the debate!). Although complex for a non coder like me, I have found Elgg to be consistently highly stable, flexible and secure and look forward to installing version 2.3.

  • jon666 replied on the discussion topic Garbage Collector 1,5
    iionly, At last victory! I am very happy to say that the weekly cron is now working! It seems my hosting guy decided to activate the archive engine on the server I'm on - probably after I told him what you said about the latest Elgg version... view reply
  • jon666 replied on the discussion topic Garbage Collector 1,5
    My server admin has replied: "If the problem is only the storage engine ARCHIVE, i can move your diskspace to another server, where this storage is enabled." Do you think we can pretty well guarantee the weekly cron for garbage... view reply