Cameron White

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Cameron White replied on the discussion topic All images are not displaying - New Install
    I took a look at the httpd.conf which is the apache config on my setup and it was defaulting to EnableSendFile Off. I went ahead and added the line anyway and it did not change. So it looks like that is not the issue. I opened up the PHP error... view reply
  • Cameron White replied on the discussion topic All images are not displaying - New Install
    ok, you have helped point me in the right direction for what to look for. I see now that in the user's directory, the file folder is at 755 but the profile folder is at 700. Is there a reason why the security would be different? I am guessing... view reply
  • Cameron White replied on the discussion topic All images are not displaying - New Install
    It is both elgg images from default theme and uploaded images/profile images.  I am on Release - 2.3.2, Version - 2016092300 view reply
  • Cameron White replied on the discussion topic All images are not displaying - New Install
    All images are not displaying. I have not installed any 3rd party plugins at this time. I just tried uploading a .pdf to the files section and I was able to download it. I tried uploading a word document and was able to download it but it was... view reply
  • Cameron White added a new discussion topic All images are not displaying - New Install in the group Beginning Developers
    I have been slowly working through all of the errors for the last 3 months. I am new to server management but have worked through most of the issues until now and haven't found any help on the forums that can help me get past this...
    • I don't think the 700 permissions are the reason the images are not shown. The data directory contains the files uploaded by the users and the files in the data directory are written by Apache (and need to be readable by Apache). Apache saves them with 700 permissions and then can also read them again when they are needed.

      Any wrong permissions of content in the data directory would also not explain why static images of the theme are not showing up (and apparently only image type files have a problem?) as they are not within the data directory. Have you tried the change in the Apache config I suggested? Even if this doesn't work there might be something else wrong with the Apache setup (difficult for us to guess as it seems an unusual issue not happening under normal circumstances with the images being displayed for us apparently).

    • I took a look at the httpd.conf which is the apache config on my setup and it was defaulting to EnableSendFile Off. I went ahead and added the line anyway and it did not change. So it looks like that is not the issue.

      I opened up the PHP error log and I am seeing this which it looks like it might be related. It is not very specific though and googling the errors does not bring up much so I am not sure where to go next: 

       

      [Sat Jun 24 15:48:16.209204 2017] [mpm_prefork:notice] [pid 28314] AH00169: caught SIGTERM, shutting down
      [Sat Jun 24 15:48:16.396069 2017] [suexec:notice] [pid 11552] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
      [Sat Jun 24 15:48:16.420119 2017] [auth_digest:notice] [pid 11553] AH01757: generating secret for digest authentication ...
      [Sat Jun 24 15:48:16.420685 2017] [lbmethod_heartbeat:notice] [pid 11553] AH02282: No slotmem from mod_heartmonitor
      [Sat Jun 24 15:48:16.484679 2017] [mpm_prefork:notice] [pid 11553] AH00163: Apache/2.4.25 (Amazon) PHP/5.6.30 configured -- resuming normal operations
      [Sat Jun 24 15:48:16.484701 2017] [core:notice] [pid 11553] AH00094: Command line: '/usr/sbin/httpd'
      [Sat Jun 24 15:48:23.091704 2017] [:error] [pid 11556] [client 172.7.153.195:52351] NOTICE: Unable to resolve resource URL for a file that does not exist on filestore, referer: http://elgg.diaryearth.com/
      [Sat Jun 24 15:48:23.092802 2017] [:error] [pid 11556] [client 172.7.153.195:52351] NOTICE: Type-subtype 'object:bookmarks' does not exist!, referer: http://elgg.diaryearth.com/
      [Sat Jun 24 15:48:23.099257 2017] [:error] [pid 11556] [client 172.7.153.195:52351] NOTICE: Unable to resolve resource URL for a file that does not exist on filestore, referer: http://elgg.diaryearth.com/
      [Sat Jun 24 15:48:23.102813 2017] [:error] [pid 11556] [client 172.7.153.195:52351] NOTICE: Unable to resolve resource URL for a file that does not exist on filestore, referer: http://elgg.diaryearth.com/
      [Sat Jun 24 15:48:23.106354 2017] [:error] [pid 11556] [client 172.7.153.195:52351] NOTICE: Unable to resolve resource URL for a file that does not exist on filestore, referer: http://elgg.diaryearth.com/
      [Sat Jun 24 15:48:23.109799 2017] [:error] [pid 11556] [client 172.7.153.195:52351] NOTICE: Unable to resolve resource URL for a file that does not exist on filestore, referer: http://elgg.diaryearth.com/
      [Sat Jun 24 15:48:23.117125 2017] [:error] [pid 11556] [client 172.7.153.195:52351] NOTICE: Unable to resolve resource URL for a file that does not exist on filestore, referer: http://elgg.diaryearth.com/

       

    • I don't know if these messages are connected with the problem of the images not showing up. They are not errors but only warnings.

      I think "Type-subtype 'object:bookmarks' does not exist!," is caused by the Bookmarks plugin being disabled while a bookmark entry exists and Elgg tries to display it (maybe on the activity page or in the stats page/widget in the admin section).

      I'm not sure why the resource url notices show up as the info about what kind of resource is to be handled is missing. Maybe it refers to some image files indeed but I don't know why they are not to be found.

      The Apache config change was a likely possibility as you said that static images (any image) is missing. A pity that it wasn't the solution.

      Have you tested if it makes any difference when you disable ALL caching options on the advanced site settings page of Elgg? Or if it helps to overwrite the Elgg install files with the complete Elgg zip archive content in case any core files are missing or are damaged for some reason?