Ali Hejazi

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Ali Hejazi replied on the discussion topic problem in images , avatar or any uploaded photo
    1- no, Only two files showing ( View, View_types). 2- permission  for data file is 777. 3- No,  very small images   image url on the system... view reply
  • Ali Hejazi added a new discussion topic problem in images , avatar or any uploaded photo in the group Feedback and Planning
    Hi I'm (Soooo) new to elgg and i have a problem in avatar or any uploaded images , i've created a data directory with the name "data", everytime i upload an image it didn't show up, instead i got aan empty  square  with link to image ,...
    • @Cim:
      okay.. here's the deal -- site restore & 1.8.6 upgrade at SAME time = bad bad news.
      now ==> it is soo hard for you to figure which of the two big pieces is causing the problem.
      does it matter ? yep ! one step at a time...
      one step at one time!
      you threw in 2 different ingredients at the same time
      and now -- what is causing the bad taste ?
      kinda makes all the past 2 days' discussions meaningless while u r tryng to chase *two* code-bases chipmunks' tails..
      * you shud have only only only done the restore and then screwed with *that only - until everything looked ok..
      try to recover to one known devil-point - then fix that.
      you got a "bad broken" site ? you definitely not need v1.8.6 right now at all!

       

    • I repeat: Elgg root is NOT necessarily equal document root. I rather think /var/www is the document root (if not of your Elgg site's virtual host it still could be of the default virtualhost on your server). Everything inside this folder is exposed to the Internet. This is needed for the Elgg root folder in /var/www/html and the access to these files is secured by the file permissions. But the data folder in /var/www/data most likely is also exposed. This is BAD, especially when this folder is set to 777 permissions. Depending on your server config this could explain your problem when the server restricts access to the data folder for safety reasons. You could try to move the data folder to another location on your server - best would be completely outside /var. Then you also need to adjust the data folder location in your advanced site settings accordingly.

      Have you run upgrade.php after the upgrade to Elgg 1.8.6?

    • Put the following at the top of engine/settings.php:

      date_default_timezone_set('MY_TIME_ZONE');

      Where MY_TIME_ZONE is a valid PHP timezone

      and upgrade.php

  • Ali Hejazi joined the group Feedback and Planning