Dear Sir,
I am frequently getting error Frequently getting
Error: Unexpected error while performing an AJAX call. Maybe the connection to the server is lost.
further to that I am also getting prompt -
You must update your .htaccess file so that the path is injected into the GET parameter __elgg_uri (you can use install/config/htaccess.dist as a guide).
If I change .htaccess permission to 644, I sometimes get the following when I run myhotfb.com/upgrade.php
https://www.myhotfb.com/permalink/default/1/myhotfbcom
Only thing that I have changed was from shell I changed to "data" folder permission to 775 (recommended by elgg) which was before, 770
Could anyone lend a hand, and tell me what is going on?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- MyHoTFB.COM ®@myHoTFB
MyHoTFB.COM ® - 0 likes
- MyHoTFB.COM ®@myHoTFB
MyHoTFB.COM ® - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
You must log in to post replies.BTW, I must add that the "data" folder structure I have is as under:
/data/ -------- 770
|--------/2.3dataroot/ --- 775
|----------- all folders are set to 775, and all files are set to 644
/data/ -------- 770
|----/2.3cacheroot/
|------/system_cache/ --- 775
|------/views_simplecache/ --- 700
* under /system_cache/ --- 775
|-------------- all files are set to 644
* under /views_simplecache/ --- 700
|-------------- all folders and subfolders are set to files are set to 775
all files under views_simplecache, and folders, and subfolders are set to 644
and .htaccess
PHP 5.6
memory_limit 128M
post_max_size 64M
upload_max_filesize 32M
**** but in .htaccess limiting so that memory doesn't get consumed by script.
I have my back stuck against the wall. Really need some help and any help would be highly appreciated and not to mention my utmost gratitude.
Kindly please consider the followings as well. *** IMPORTANT
Under /data/ --- while data has 770
I have deleted both the following folders & sub directories and files.
2.3cacheroot
2.3cacheroot
From Admin Panel
Flushed the Cache, and Ran Upgrade. then went back to data root and refreshed: I have both the directories and subdirectories and files back with different set of permissions autogenerated by elgg file system/ or auto inherited as per unix file permission where main directory "Data" remains as 770 So, Now I have -
2.3cacheroot - 700
2.3cacheroot - 750
Should the immediate above be the correct permission? BTW, question can arise how did I ended up with permission discrepancies? It is because, when I ran the elgg install, I manually created both the followings directories, and by default they had 755.
2.3cacheroot
2.3cacheroot
then I declared the path in config file., so without touching the config file, I deleted both the directories as described above, and when flushed and upgrade is ran, I get different permissions.
So, should i keep it as auto generated and inherited permissions?
1. Try not to use [.] dots in the names of data_path and root_path
2. Comment these lines in settings.php:
3. Use default:
4. Check your database' values in the table elgg_datalists:
Note: renaming path names requires the changing the names in settings.php and DB.